1 #ifndef GAUDIALG_HISTOTOOL_H 2 #define GAUDIALG_HISTOTOOL_H 1 47 AIDA::IHistogram1D*
plot1D(
const double value,
const std::string& title,
const double low,
const double high,
48 const unsigned long bins = 100,
const double weight = 1.0 )
const override 55 AIDA::IHistogram1D*
plot1D(
const double value,
const HistoID& ID,
const std::string& title,
const double low,
56 const double high,
const unsigned long bins = 100,
57 const double weight = 1.0 )
const override 65 AIDA::IHistogram2D*
plot2D(
const double valueX,
const double valueY,
const std::string& title,
const double lowX,
66 const double highX,
const double lowY,
const double highY,
const unsigned long binsX = 50,
67 const unsigned long binsY = 50,
const double weight = 1.0 )
const override 73 AIDA::IHistogram2D*
plot2D(
const double valueX,
const double valueY,
const HistoID& ID,
const std::string& title,
74 const double lowX,
const double highX,
const double lowY,
const double highY,
75 const unsigned long binsX = 50,
const unsigned long binsY = 50,
76 const double weight = 1.0 )
const override 78 return GaudiHistoTool::plot2D( valueX, valueY, ID, title, lowX, highX, lowY, highY, binsX, binsY, weight );
84 AIDA::IHistogram3D*
plot3D(
const double valueX,
const double valueY,
const double valueZ,
const std::string& title,
85 const double lowX,
const double highX,
const double lowY,
const double highY,
86 const double lowZ,
const double highZ,
const unsigned long binsX = 10,
87 const unsigned long binsY = 10,
const unsigned long binsZ = 10,
88 const double weight = 1.0 )
const override 90 return GaudiHistoTool::plot3D( valueX, valueY, valueZ, title, lowX, highX, lowY, highY, lowZ, highZ, binsX, binsY,
95 AIDA::IHistogram3D*
plot3D(
const double valueX,
const double valueY,
const double valueZ,
const HistoID& ID,
96 const std::string& title,
const double lowX,
const double highX,
const double lowY,
97 const double highY,
const double lowZ,
const double highZ,
const unsigned long binsX = 10,
98 const unsigned long binsY = 10,
const unsigned long binsZ = 10,
99 const double weight = 1.0 )
const override 101 return GaudiHistoTool::plot3D( valueX, valueY, valueZ, ID, title, lowX, highX, lowY, highY, lowZ, highZ, binsX,
102 binsY, binsZ, weight );
107 AIDA::IHistogram1D*
book1D(
const std::string& title,
const double low = 0,
const double high = 100,
108 const unsigned long bins = 100 )
const override 114 AIDA::IHistogram2D*
book2D(
const std::string& title,
const double lowX = 0,
const double highX = 100,
115 const unsigned long binsX = 50,
const double lowY = 0,
const double highY = 100,
116 const unsigned long binsY = 50 )
const override 122 AIDA::IHistogram3D*
book3D(
const std::string& title,
const double lowX = 0,
const double highX = 100,
123 const unsigned long binsX = 10,
const double lowY = 0,
const double highY = 100,
124 const unsigned long binsY = 10,
const double lowZ = 0,
const double highZ = 100,
125 const unsigned long binsZ = 10 )
const override 131 AIDA::IHistogram1D*
book1D(
const HistoID& ID,
const std::string& title =
"",
const double low = 0,
132 const double high = 100,
const unsigned long bins = 100 )
const override 139 const double highX = 100,
const unsigned long binsX = 50,
const double lowY = 0,
140 const double highY = 100,
const unsigned long binsY = 50 )
const override 147 const double highX = 100,
const unsigned long binsX = 10,
const double lowY = 0,
148 const double highY = 100,
const unsigned long binsY = 10,
const double lowZ = 0,
149 const double highZ = 100,
const unsigned long binsZ = 10 )
const override 151 return GaudiHistoTool::book3D( ID, title, lowX, highX, binsX, lowY, highY, binsY, lowZ, highZ, binsZ );
155 AIDA::IHistogram1D*
fill( AIDA::IHistogram1D*
histo,
const double value,
const double weight,
162 AIDA::IHistogram2D*
fill( AIDA::IHistogram2D*
histo,
const double valueX,
const double valueY,
const double weight,
169 AIDA::IHistogram3D*
fill( AIDA::IHistogram3D*
histo,
const double valueX,
const double valueY,
const double valueZ,
170 const double weight,
const std::string& title =
"" )
const override 204 #endif // GAUDIALG_HISTOTOOL_H
AIDA::IHistogram2D * histo2D(const std::string &title) const
access the EXISTING 2D histogram by title return the pointer to existing 2D histogram or NULL ...
AIDA::IHistogram1D * book1D(const std::string &title, const double low=0, const double high=100, const unsigned long bins=100) const
book the 1D histogram
AIDA::IHistogram1D * histo1D(const std::string &title) const
access the EXISTING 1D histogram by title return the pointer to existing 1D histogram or NULL ...
Definition of the basic interface.
AIDA::IHistogram2D * book2D(const std::string &title, const double lowX=0, const double highX=100, const unsigned long binsX=50, const double lowY=0, const double highY=100, const unsigned long binsY=50) const
book the 2D histogram
AIDA::IHistogram3D * plot3D(const double valueX, const double valueY, const double valueZ, const std::string &title, const double lowX, const double highX, const double lowY, const double highY, const double lowZ, const double highZ, const unsigned long binsX=10, const unsigned long binsY=10, const unsigned long binsZ=10, const double weight=1.0) const
fill the 3D histogram (book on demand)
AIDA::IHistogram2D * plot2D(const double valueX, const double valueY, const std::string &title, const double lowX, const double highX, const double lowY, const double highY, const unsigned long binsX=50, const unsigned long binsY=50, const double weight=1.0) const
fill the 2D histogram (book on demand)
bool histoExists(const std::string &title) const
check the existence AND validity of the histogram with given title
AIDA::IHistogram3D * book3D(const std::string &title, const double lowX=0, const double highX=100, const unsigned long binsX=10, const double lowY=0, const double highY=100, const unsigned long binsY=10, const double lowZ=0, const double highZ=100, const unsigned long binsZ=10) const
book the 3D histogram
AIDA::IHistogram1D * plot1D(const double value, const std::string &title, const double low, const double high, const unsigned long bins=100, const double weight=1.0) const
fill the 1D histogram (book on demand)
ID class for Histogram and Ntuples.
AIDA::IHistogram3D * histo3D(const std::string &title) const
access the EXISTING 3D histogram by title return the pointer to existing 3D histogram or NULL ...
virtual const std::string & name() const =0
Retrieve the name of the instance.
AIDA::IHistogram1D * fill(AIDA::IHistogram1D *histo, const double value, const double weight, const std::string &title="") const
fill the 1D histogram with the value and weight