YODA is hosted by Hepforge, IPPP Durham
YODA::Profile1D Class Reference

A one-dimensional profile histogram. More...

#include <Profile1D.h>

Inheritance diagram for YODA::Profile1D:
YODA::AnalysisObject

Public Types

typedef Profile1DAxis Axis
 Convenience typedefs. More...
 
typedef Axis::Bins Bins
 
typedef ProfileBin1D Bin
 
- Public Types inherited from YODA::AnalysisObject
typedef std::map< std::string,
std::string > 
Annotations
 Collection type for annotations, as a string-string map. More...
 

Public Member Functions

Constructors
 Profile1D (const std::string &path="", const std::string &title="")
 Default constructor. More...
 
 Profile1D (size_t nxbins, double xlower, double xupper, const std::string &path="", const std::string &title="")
 Constructor giving range and number of bins. More...
 
 Profile1D (const std::vector< double > &xbinedges, const std::string &path="", const std::string &title="")
 
 Profile1D (const Profile1D &p, const std::string &path="")
 Copy constructor with optional new path. More...
 
 Profile1D (const Scatter2D &s, const std::string &path="")
 Constructor from a Scatter2D's binning, with optional new path. More...
 
 Profile1D (const Histo1D &h, const std::string &path="")
 Constructor from a Histo1D's binning, with optional new path. More...
 
 Profile1D (const std::vector< ProfileBin1D > &bins, const Dbn2D &dbn_tot, const Dbn2D &dbn_uflow, const Dbn2D &dbn_oflow, const std::string &path="", const std::string &title="")
 State-setting constructor. More...
 
Profile1Doperator= (const Profile1D &p1)
 Assignment operator. More...
 
Profile1D clone () const
 Make a copy on the stack. More...
 
Profile1Dnewclone () const
 Make a copy on the heap, via 'new'. More...
 
Persistency hooks
std::string type () const
 Get name of the analysis object type, for persisting. More...
 
Modifiers

Set the state of the profile object, for unpersisting

Todo:
Need to set annotations (do that on AO), all-histo Dbns, and dbns for every bin. Delegate!
void fill (double x, double y, double weight=1.0)
 Fill histo by value and weight. More...
 
void fillBin (size_t i, double y, double weight=1.0)
 Fill histo x bin i with the given y value and weight. More...
 
void reset ()
 Reset the histogram. More...
 
void scaleW (double scalefactor)
 Rescale as if all fill weights had been different by factor scalefactor. More...
 
void scaleY (double scalefactor)
 Rescale as if all y values had been different by factor scalefactor. More...
 
void mergeBins (size_t from, size_t to)
 Merge together the bin range with indices from from to to, inclusive. More...
 
void rebin (int n)
 Merge every group of n bins, starting from the LHS. More...
 
void addBin (double xlow, double xhigh)
 Bin addition operator. More...
 
void addBins (const std::vector< double > binedges)
 Bin addition operator. More...
 
Bin accessors
size_t numBins () const
 Number of bins on this axis (not counting under/overflow) More...
 
double xMin () const
 Low edge of this histo's axis. More...
 
double xMax () const
 High edge of this histo's axis. More...
 
std::vector< YODA::ProfileBin1D > & bins ()
 Access the bin vector. More...
 
const std::vector
< YODA::ProfileBin1D > & 
bins () const
 Access the bin vector. More...
 
ProfileBin1Dbin (size_t index)
 Access a bin by index (non-const version) More...
 
const ProfileBin1Dbin (size_t index) const
 Access a bin by index (const version) More...
 
int binIndexAt (double x)
 Access a bin index by x-coordinate. More...
 
const ProfileBin1DbinAt (double x) const
 Access a bin by x-coordinate (const version) More...
 
Dbn2DtotalDbn ()
 Access summary distribution, including gaps and overflows (non-const version) More...
 
const Dbn2DtotalDbn () const
 Access summary distribution, including gaps and overflows (const version) More...
 
Dbn2Dunderflow ()
 Access underflow (non-const version) More...
 
const Dbn2Dunderflow () const
 Access underflow (const version) More...
 
Dbn2Doverflow ()
 Access overflow (non-const version) More...
 
const Dbn2Doverflow () const
 Access overflow (const version) More...
 
Whole histo data
double numEntries () const
 Get the number of fills. More...
 
double effNumEntries () const
 Get the effective number of fills. More...
 
double sumW (bool includeoverflows=true) const
 Get sum of weights in histo. More...
 
double sumW2 (bool includeoverflows=true) const
 Get sum of squared weights in histo. More...
 
Adding and subtracting histograms
Profile1Doperator+= (const Profile1D &toAdd)
 Add another profile to this one. More...
 
Profile1Doperator-= (const Profile1D &toSubtract)
 Subtract another profile from this one. More...
 
bool operator== (const Profile1D &other)
 
bool operator!= (const Profile1D &other)
 
- Public Member Functions inherited from YODA::AnalysisObject
 AnalysisObject ()
 Default constructor. More...
 
 AnalysisObject (const std::string &type, const std::string &path, const std::string &title="")
 Constructor giving a type, a path and an optional title. More...
 
 AnalysisObject (const std::string &type, const std::string &path, const AnalysisObject &ao, const std::string &title="")
 Constructor giving a type, a path, another AO to copy annotation from, and an optional title. More...
 
virtual ~AnalysisObject ()
 Default destructor. More...
 
virtual AnalysisObjectoperator= (const AnalysisObject &ao)
 Default copy assignment operator. More...
 
const std::vector< std::string > annotations () const
 Get all the annotation names. More...
 
bool hasAnnotation (const std::string &name) const
 Check if an annotation is defined. More...
 
const std::string & annotation (const std::string &name) const
 Get an annotation by name (as a string) More...
 
const std::string & annotation (const std::string &name, const std::string &defaultreturn) const
 Get an annotation by name (as a string) with a default in case the annotation is not found. More...
 
template<typename T >
const T annotation (const std::string &name) const
 Get an annotation by name (copied to another type) More...
 
template<typename T >
const T annotation (const std::string &name, const T &defaultreturn) const
 Get an annotation by name (copied to another type) with a default in case the annotation is not found. More...
 
template<typename T >
void setAnnotation (const std::string &name, const T &value)
 Add or set an annotation by name. More...
 
void setAnnotations (const Annotations &anns)
 Set all annotations at once. More...
 
template<typename T >
void addAnnotation (const std::string &name, const T &value)
 Add or set an annotation by name. More...
 
void rmAnnotation (const std::string &name)
 Delete an annotation by name. More...
 
void clearAnnotations ()
 Delete an annotation by name. More...
 
const std::string title () const
 
void setTitle (const std::string &title)
 Set the AO title. More...
 
const std::string path () const
 
void setPath (const std::string &path)
 Set the AO path. More...
 

Protected Member Functions

ProfileBin1DbinAt (double x)
 Access a bin by x-coordinate (non-const version) More...
 

Detailed Description

A one-dimensional profile histogram.

Definition at line 32 of file Profile1D.h.

Member Typedef Documentation

Convenience typedefs.

Definition at line 36 of file Profile1D.h.

Definition at line 38 of file Profile1D.h.

Definition at line 37 of file Profile1D.h.

Constructor & Destructor Documentation

YODA::Profile1D::Profile1D ( const std::string &  path = "",
const std::string &  title = "" 
)
inline

Default constructor.

Definition at line 45 of file Profile1D.h.

Referenced by clone(), and newclone().

46  : AnalysisObject("Profile1D", path, title),
47  _axis()
48  { }
AnalysisObject()
Default constructor.
const std::string path() const
const std::string title() const
YODA::Profile1D::Profile1D ( size_t  nxbins,
double  xlower,
double  xupper,
const std::string &  path = "",
const std::string &  title = "" 
)
inline

Constructor giving range and number of bins.

Definition at line 52 of file Profile1D.h.

54  : AnalysisObject("Profile1D", path, title),
55  _axis(nxbins, xlower, xupper)
56  { }
AnalysisObject()
Default constructor.
const std::string path() const
const std::string title() const
YODA::Profile1D::Profile1D ( const std::vector< double > &  xbinedges,
const std::string &  path = "",
const std::string &  title = "" 
)
inline

Constructor giving explicit bin edges

For n bins, binedges.size() == n+1, the last one being the upper bound of the last bin

Definition at line 63 of file Profile1D.h.

65  : AnalysisObject("Profile1D", path, title),
66  _axis(xbinedges)
67  { }
AnalysisObject()
Default constructor.
const std::string path() const
const std::string title() const
YODA::Profile1D::Profile1D ( const Profile1D p,
const std::string &  path = "" 
)

Copy constructor with optional new path.

Copy constructor with optional new path

Todo:
Also allow title setting from the constructor?

Definition at line 70 of file Profile1D.cc.

71  : AnalysisObject("Profile1D", (path.size() == 0) ? p.path() : path, p, p.title())
72  {
73  _axis = p._axis;
74  }
AnalysisObject()
Default constructor.
const std::string path() const
YODA::Profile1D::Profile1D ( const Scatter2D s,
const std::string &  path = "" 
)

Constructor from a Scatter2D's binning, with optional new path.

Constructor from a Scatter2D's binning, with optional new path

Todo:
Also allow title setting from the constructor?

Definition at line 78 of file Profile1D.cc.

References bins(), YODA::Scatter2D::points(), YODA::Point2D::xMax(), and YODA::Point2D::xMin().

79  : AnalysisObject("Profile1D", (path.size() == 0) ? s.path() : path, s, s.title())
80  {
81  std::vector<ProfileBin1D> bins;
82  BOOST_FOREACH (const Scatter2D::Point& p, s.points()) {
83  bins.push_back(ProfileBin1D(p.xMin(), p.xMax()));
84  }
85  _axis = Profile1DAxis(bins);
86  }
Axis1D< ProfileBin1D, Dbn2D > Profile1DAxis
Convenience typedef.
Definition: Profile1D.h:24
AnalysisObject()
Default constructor.
Point2D Point
Type of the native Point2D collection.
Definition: Scatter2D.h:27
std::vector< YODA::ProfileBin1D > & bins()
Access the bin vector.
Definition: Profile1D.h:206
const std::string path() const
YODA::Profile1D::Profile1D ( const Histo1D h,
const std::string &  path = "" 
)

Constructor from a Histo1D's binning, with optional new path.

Constructor from a Histo1D's binning, with optional new path

Todo:
Also allow title setting from the constructor?

Definition at line 90 of file Profile1D.cc.

References YODA::Histo1D::bins(), bins(), YODA::Bin1D< DBN >::xMax(), and YODA::Bin1D< DBN >::xMin().

91  : AnalysisObject("Profile1D", (path.size() == 0) ? h.path() : path, h, h.title())
92  {
93  Bins bins;
94  BOOST_FOREACH (const Histo1D::Bin& b, h.bins()) {
95  bins.push_back(ProfileBin1D(b.xMin(), b.xMax()));
96  }
97  _axis = Profile1DAxis(bins);
98 
99  }
Axis1D< ProfileBin1D, Dbn2D > Profile1DAxis
Convenience typedef.
Definition: Profile1D.h:24
AnalysisObject()
Default constructor.
std::vector< YODA::ProfileBin1D > & bins()
Access the bin vector.
Definition: Profile1D.h:206
HistoBin1D Bin
Definition: Histo1D.h:33
const std::string path() const
Axis::Bins Bins
Definition: Profile1D.h:37
YODA::Profile1D::Profile1D ( const std::vector< ProfileBin1D > &  bins,
const Dbn2D dbn_tot,
const Dbn2D dbn_uflow,
const Dbn2D dbn_oflow,
const std::string &  path = "",
const std::string &  title = "" 
)
inline

State-setting constructor.

Intended principally for internal persistency use.

Definition at line 88 of file Profile1D.h.

91  : AnalysisObject("Profile1D", path, title),
92  _axis(bins, dbn_tot, dbn_uflow, dbn_oflow)
93  { }
AnalysisObject()
Default constructor.
const std::string path() const
const std::string title() const

Member Function Documentation

void YODA::Profile1D::addBin ( double  xlow,
double  xhigh 
)
inline

Bin addition operator.

Definition at line 175 of file Profile1D.h.

175  {
176  _axis.addBin(xlow, xhigh);
177  }
void YODA::Profile1D::addBins ( const std::vector< double >  binedges)
inline

Bin addition operator.

Definition at line 180 of file Profile1D.h.

180  {
181  _axis.addBins(binedges);
182  }
ProfileBin1D& YODA::Profile1D::bin ( size_t  index)
inline

Access a bin by index (non-const version)

Definition at line 213 of file Profile1D.h.

Referenced by YODA::chi2(), scaleY(), YODA::toTH1D(), and YODA::toTProfile().

213 { return _axis.bins()[index]; }
const ProfileBin1D& YODA::Profile1D::bin ( size_t  index) const
inline

Access a bin by index (const version)

Definition at line 215 of file Profile1D.h.

215 { return _axis.bins()[index]; }
const ProfileBin1D& YODA::Profile1D::binAt ( double  x) const
inline

Access a bin by x-coordinate (const version)

Definition at line 221 of file Profile1D.h.

Referenced by YODA::toTH1D(), and YODA::toTProfile().

221 { return _axis.binAt(x); }
ProfileBin1D& YODA::Profile1D::binAt ( double  x)
inlineprotected

Access a bin by x-coordinate (non-const version)

Definition at line 291 of file Profile1D.h.

291 { return _axis.binAt(x); }
int YODA::Profile1D::binIndexAt ( double  x)
inline

Access a bin index by x-coordinate.

Definition at line 218 of file Profile1D.h.

218 { return _axis.binIndexAt(x); }
std::vector<YODA::ProfileBin1D>& YODA::Profile1D::bins ( )
inline

Access the bin vector.

Definition at line 206 of file Profile1D.h.

Referenced by YODA::Histo1D::Histo1D(), YODA::mkScatter(), numBins(), Profile1D(), scaleY(), and YODA::WriterYODA::writeProfile1D().

206 { return _axis.bins(); }
const std::vector<YODA::ProfileBin1D>& YODA::Profile1D::bins ( ) const
inline

Access the bin vector.

Definition at line 209 of file Profile1D.h.

209 { return _axis.bins(); }
Profile1D YODA::Profile1D::clone ( ) const
inline

Make a copy on the stack.

Definition at line 104 of file Profile1D.h.

References Profile1D().

104  {
105  return Profile1D(*this);
106  }
Profile1D(const std::string &path="", const std::string &title="")
Default constructor.
Definition: Profile1D.h:45
double YODA::Profile1D::effNumEntries ( ) const
inline

Get the effective number of fills.

Definition at line 250 of file Profile1D.h.

References YODA::Dbn2D::effNumEntries(), and totalDbn().

250 { return totalDbn().effNumEntries(); }
double effNumEntries() const
Effective number of entries .
Definition: Dbn2D.h:171
Dbn2D & totalDbn()
Access summary distribution, including gaps and overflows (non-const version)
Definition: Profile1D.h:224
void YODA::Profile1D::fill ( double  x,
double  y,
double  weight = 1.0 
)

Fill histo by value and weight.

Unify this with Histo1D's version, when binning and inheritance are reworked

Todo:
Replace try block with a check that there is a bin at x

Definition at line 16 of file Profile1D.cc.

References YODA::inRange().

16  {
17  if ( std::isnan(x) ) throw RangeError("X is NaN");
18  if ( std::isnan(y) ) throw RangeError("Y is NaN");
19 
20  // Fill the overall distribution
21  _axis.totalDbn().fill(x, y, weight);
22 
23  // Fill the bins and overflows
25  if (inRange(x, _axis.xMin(), _axis.xMax())) {
26  try {
28  binAt(x).fill(x, y, weight);
29  } catch (const RangeError& re) { }
30  } else if (x < _axis.xMin()) {
31  _axis.underflow().fill(x, y, weight);
32  } else if (x >= _axis.xMax()) {
33  _axis.overflow().fill(x, y, weight);
34  }
35 
36  // Lock the axis now that a fill has happened
37  _axis._setLock(true);
38  }
bool inRange(NUM value, NUM low, NUM high, RangeBoundary lowbound=CLOSED, RangeBoundary highbound=OPEN)
Determine if value is in the range low to high, for floating point numbers.
Definition: MathUtils.h:151
const ProfileBin1D & binAt(double x) const
Access a bin by x-coordinate (const version)
Definition: Profile1D.h:221
void fill(double x, double y, double weight=1.0)
Definition: ProfileBin1D.h:70
void YODA::Profile1D::fillBin ( size_t  i,
double  y,
double  weight = 1.0 
)

Fill histo x bin i with the given y value and weight.

Definition at line 41 of file Profile1D.cc.

41  {
42  fill(bin(i).xMid(), y, weight);
43  }
void fill(double x, double y, double weight=1.0)
Fill histo by value and weight.
Definition: Profile1D.cc:16
ProfileBin1D & bin(size_t index)
Access a bin by index (non-const version)
Definition: Profile1D.h:213
void YODA::Profile1D::mergeBins ( size_t  from,
size_t  to 
)
inline

Merge together the bin range with indices from from to to, inclusive.

Definition at line 164 of file Profile1D.h.

164  {
165  _axis.mergeBins(from, to);
166  }
Profile1D* YODA::Profile1D::newclone ( ) const
inlinevirtual

Make a copy on the heap, via 'new'.

Implements YODA::AnalysisObject.

Definition at line 109 of file Profile1D.h.

References Profile1D().

109  {
110  return new Profile1D(*this);
111  }
Profile1D(const std::string &path="", const std::string &title="")
Default constructor.
Definition: Profile1D.h:45
size_t YODA::Profile1D::numBins ( ) const
inline

Number of bins on this axis (not counting under/overflow)

Definition at line 196 of file Profile1D.h.

References bins().

Referenced by YODA::chi2(), YODA::mkScatter(), YODA::toTH1D(), and YODA::toTProfile().

196 { return bins().size(); }
std::vector< YODA::ProfileBin1D > & bins()
Access the bin vector.
Definition: Profile1D.h:206
double YODA::Profile1D::numEntries ( ) const
inline

Get the number of fills.

Todo:
Add integrals? Or are they too ambiguous to make a core function?

Definition at line 247 of file Profile1D.h.

References YODA::Dbn2D::numEntries(), and totalDbn().

247 { return totalDbn().numEntries(); }
unsigned long numEntries() const
Number of entries (number of times fill was called, ignoring weights)
Definition: Dbn2D.h:166
Dbn2D & totalDbn()
Access summary distribution, including gaps and overflows (non-const version)
Definition: Profile1D.h:224
bool YODA::Profile1D::operator!= ( const Profile1D other)
inline

Definition at line 282 of file Profile1D.h.

References operator==().

282  {
283  return ! operator == (other);
284  }
bool operator==(const Profile1D &other)
Definition: Profile1D.h:278
Profile1D& YODA::Profile1D::operator+= ( const Profile1D toAdd)
inline

Add another profile to this one.

Definition at line 265 of file Profile1D.h.

References YODA::AnalysisObject::hasAnnotation(), and YODA::AnalysisObject::rmAnnotation().

265  {
266  if (hasAnnotation("ScaledBy")) rmAnnotation("ScaledBy");
267  _axis += toAdd._axis;
268  return *this;
269  }
void rmAnnotation(const std::string &name)
Delete an annotation by name.
bool hasAnnotation(const std::string &name) const
Check if an annotation is defined.
Profile1D& YODA::Profile1D::operator-= ( const Profile1D toSubtract)
inline

Subtract another profile from this one.

Definition at line 272 of file Profile1D.h.

References YODA::AnalysisObject::hasAnnotation(), and YODA::AnalysisObject::rmAnnotation().

272  {
273  if (hasAnnotation("ScaledBy")) rmAnnotation("ScaledBy");
274  _axis -= toSubtract._axis;
275  return *this;
276  }
void rmAnnotation(const std::string &name)
Delete an annotation by name.
bool hasAnnotation(const std::string &name) const
Check if an annotation is defined.
Profile1D& YODA::Profile1D::operator= ( const Profile1D p1)
inline

Assignment operator.

Definition at line 97 of file Profile1D.h.

References YODA::AnalysisObject::operator=().

97  {
98  AnalysisObject::operator = (p1); //< AO treatment of paths etc.
99  _axis = p1._axis;
100  return *this;
101  }
virtual AnalysisObject & operator=(const AnalysisObject &ao)
Default copy assignment operator.
bool YODA::Profile1D::operator== ( const Profile1D other)
inline

Definition at line 278 of file Profile1D.h.

Referenced by operator!=().

278  {
279  return _axis == other._axis;
280  }
Dbn2D& YODA::Profile1D::overflow ( )
inline

Access overflow (non-const version)

Definition at line 234 of file Profile1D.h.

Referenced by YODA::toTH1D(), YODA::toTProfile(), and YODA::WriterYODA::writeProfile1D().

234 { return _axis.overflow(); }
const Dbn2D& YODA::Profile1D::overflow ( ) const
inline

Access overflow (const version)

Definition at line 236 of file Profile1D.h.

236 { return _axis.overflow(); }
void YODA::Profile1D::rebin ( int  n)
inline

Merge every group of n bins, starting from the LHS.

Definition at line 170 of file Profile1D.h.

170  {
171  _axis.rebin(n);
172  }
void YODA::Profile1D::reset ( )
inlinevirtual

Reset the histogram.

Keep the binning but set all bin contents and related quantities to zero

Implements YODA::AnalysisObject.

Definition at line 142 of file Profile1D.h.

142  {
143  _axis.reset();
144  }
void YODA::Profile1D::scaleW ( double  scalefactor)
inline

Rescale as if all fill weights had been different by factor scalefactor.

Definition at line 148 of file Profile1D.h.

148  {
149  _axis.scaleW(scalefactor);
150  }
void YODA::Profile1D::scaleY ( double  scalefactor)
inline

Rescale as if all y values had been different by factor scalefactor.

Definition at line 154 of file Profile1D.h.

References bin(), bins(), and YODA::ProfileBin1D::scaleY().

154  {
155  _axis.totalDbn().scaleY(scalefactor);
156  _axis.overflow().scaleY(scalefactor);
157  _axis.underflow().scaleY(scalefactor);
158  for (size_t i = 0; i < bins().size(); ++i)
159  bin(i).scaleY(scalefactor);
160  }
std::vector< YODA::ProfileBin1D > & bins()
Access the bin vector.
Definition: Profile1D.h:206
void scaleY(double ay)
Definition: ProfileBin1D.h:90
ProfileBin1D & bin(size_t index)
Access a bin by index (non-const version)
Definition: Profile1D.h:213
double YODA::Profile1D::sumW ( bool  includeoverflows = true) const

Get sum of weights in histo.

Definition at line 46 of file Profile1D.cc.

References YODA::Bin1D< DBN >::sumW().

46  {
47  if (includeoverflows) return _axis.totalDbn().sumW();
48  double sumw = 0;
49  BOOST_FOREACH (const ProfileBin1D& b, bins()) {
50  sumw += b.sumW();
51  }
52  return sumw;
53  }
std::vector< YODA::ProfileBin1D > & bins()
Access the bin vector.
Definition: Profile1D.h:206
double YODA::Profile1D::sumW2 ( bool  includeoverflows = true) const

Get sum of squared weights in histo.

Definition at line 56 of file Profile1D.cc.

References YODA::Bin1D< DBN >::sumW2().

56  {
57  if (includeoverflows) return _axis.totalDbn().sumW2();
58  double sumw2 = 0;
59  BOOST_FOREACH (const ProfileBin1D& b, bins()) {
60  sumw2 += b.sumW2();
61  }
62  return sumw2;
63  }
std::vector< YODA::ProfileBin1D > & bins()
Access the bin vector.
Definition: Profile1D.h:206
Dbn2D& YODA::Profile1D::totalDbn ( )
inline

Access summary distribution, including gaps and overflows (non-const version)

Definition at line 224 of file Profile1D.h.

Referenced by effNumEntries(), numEntries(), and YODA::WriterYODA::writeProfile1D().

224 { return _axis.totalDbn(); }
const Dbn2D& YODA::Profile1D::totalDbn ( ) const
inline

Access summary distribution, including gaps and overflows (const version)

Definition at line 226 of file Profile1D.h.

226 { return _axis.totalDbn(); }
std::string YODA::Profile1D::type ( ) const
inlinevirtual

Get name of the analysis object type, for persisting.

Reimplemented from YODA::AnalysisObject.

Definition at line 120 of file Profile1D.h.

Referenced by YODA::mkScatter().

120 { return "Profile1D"; }
Dbn2D& YODA::Profile1D::underflow ( )
inline

Access underflow (non-const version)

Definition at line 229 of file Profile1D.h.

Referenced by YODA::toTH1D(), YODA::toTProfile(), and YODA::WriterYODA::writeProfile1D().

229 { return _axis.underflow(); }
const Dbn2D& YODA::Profile1D::underflow ( ) const
inline

Access underflow (const version)

Definition at line 231 of file Profile1D.h.

231 { return _axis.underflow(); }
double YODA::Profile1D::xMax ( ) const
inline

High edge of this histo's axis.

Definition at line 202 of file Profile1D.h.

202 { return _axis.xMax(); }
double YODA::Profile1D::xMin ( ) const
inline

Low edge of this histo's axis.

Definition at line 199 of file Profile1D.h.

199 { return _axis.xMin(); }

The documentation for this class was generated from the following files: