14#include <AIDA/IHistogram1D.h>
15#include <AIDA/IHistogram2D.h>
16#include <AIDA/IHistogram3D.h>
17#include <AIDA/IProfile1D.h>
18#include <AIDA/IProfile2D.h>
30 using Edges = std::vector<double>;
34 const AIDA::IHistogram1D& hist );
37 const std::string& title,
int nBins = 10,
38 double lowerEdge = 0.,
double upperEdge = 1. );
41 const std::string& title,
const Edges& e );
45 const AIDA::IHistogram2D& hist );
50 const std::string& title,
int binsX,
double iminX,
51 double imaxX,
int binsY,
double iminY,
double imaxY );
54 const std::string& title,
const Edges& eX,
const Edges& eY );
56 std::pair<DataObject*, AIDA::IHistogram1D*>
slice1DX(
const std::string& name,
const AIDA::IHistogram2D& h,
57 int firstbin,
int lastbin );
59 std::pair<DataObject*, AIDA::IProfile1D*>
profile1DX(
const std::string& name,
const AIDA::IHistogram2D& h,
60 int firstbin,
int lastbin );
62 std::pair<DataObject*, AIDA::IHistogram1D*>
project1DX(
const std::string& name,
const AIDA::IHistogram2D& h,
63 int firstbin,
int lastbin );
65 std::pair<DataObject*, AIDA::IHistogram1D*>
slice1DY(
const std::string& name,
const AIDA::IHistogram2D& h,
66 int firstbin,
int lastbin );
68 std::pair<DataObject*, AIDA::IProfile1D*>
profile1DY(
const std::string& name,
const AIDA::IHistogram2D& h,
69 int firstbin,
int lastbin );
71 std::pair<DataObject*, AIDA::IHistogram1D*>
project1DY(
const std::string& name,
const AIDA::IHistogram2D& h,
72 int firstbin,
int lastbin );
76 const AIDA::IHistogram3D& hist );
79 const std::string& title,
int nBinsX,
double xlow,
double xup,
80 int nBinsY,
double ylow,
double yup,
int nBinsZ,
double zlow,
84 const std::string& title,
const Edges& eX,
const Edges& eY,
89 const AIDA::IProfile1D& hist );
92 const std::string& title,
int nBins,
double xlow,
double xup,
93 double ylow,
double yup,
const std::string& opt =
"" );
96 const std::string& title,
const Edges& e,
double ylow,
97 double yup,
const std::string& opt =
"" );
101 const AIDA::IProfile2D& hist );
104 const std::string& title,
int binsX,
double iminX,
105 double imaxX,
int binsY,
double iminY,
double imaxY,
106 double lowerValue,
double upperValue );
109 const std::string& title,
const Edges& eX,
const Edges& eY,
110 double lowerValue,
double upperValue );
A DataObject is the base class of any identifiable object on any data store.
std::vector< double > Edges
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
GAUDI_API ISvcLocator * svcLocator()
std::pair< DataObject *, AIDA::IHistogram2D * > createH2D(ISvcLocator *svcLocator, const std::string &path, const AIDA::IHistogram2D &hist)
Copy constructor.
std::pair< DataObject *, AIDA::IHistogram1D * > slice1DX(const std::string &name, const AIDA::IHistogram2D &h, int firstbin, int lastbin)
Create 1D slice from 2D histogram.
std::pair< DataObject *, AIDA::IHistogram1D * > project1DX(const std::string &name, const AIDA::IHistogram2D &h, int firstbin, int lastbin)
Create 1D projection in X from 2D histogram.
std::pair< DataObject *, AIDA::IHistogram1D * > slice1DY(const std::string &name, const AIDA::IHistogram2D &h, int firstbin, int lastbin)
Create 1D slice from 2D histogram.
std::pair< DataObject *, AIDA::IProfile2D * > createProf2D(ISvcLocator *svcLocator, const std::string &path, const AIDA::IProfile2D &hist)
Copy constructor.
std::pair< DataObject *, AIDA::IHistogram1D * > project1DY(const std::string &name, const AIDA::IHistogram2D &h, int firstbin, int lastbin)
Create 1D projection in Y from 2D histogram.
std::pair< DataObject *, AIDA::IProfile1D * > createProf1D(ISvcLocator *svcLocator, const std::string &path, const AIDA::IProfile1D &hist)
Copy constructor.
std::pair< DataObject *, AIDA::IHistogram3D * > createH3D(ISvcLocator *svcLocator, const std::string &path, const AIDA::IHistogram3D &hist)
Copy constructor.
std::pair< DataObject *, AIDA::IProfile1D * > profile1DX(const std::string &name, const AIDA::IHistogram2D &h, int firstbin, int lastbin)
Create 1D profile in X from 2D histogram.
std::pair< DataObject *, AIDA::IProfile1D * > profile1DY(const std::string &name, const AIDA::IHistogram2D &h, int firstbin, int lastbin)
Create 1D profile in Y from 2D histogram.
std::pair< DataObject *, AIDA::IHistogram1D * > createH1D(ISvcLocator *svcLocator, const std::string &path, const AIDA::IHistogram1D &hist)
Copy constructor.