Anp::AxisInfo Class Reference

#include <HistMan.h>

List of all members.

Public Member Functions

 AxisInfo ()
 ~AxisInfo ()
const std::string & GetTitle () const
double GetMin () const
double GetMax () const
int GetNbins () const
bool Valid () const
const std::vector< double > & GetBins () const
void Print (std::ostream &o=std::cout) const

Protected Attributes

int fNbins
double fMin
double fMax
bool fValid
std::vector< double > fBins
std::string fTitle

Friends

class HistMan

Detailed Description

Definition at line 21 of file PhysicsNtuple/HEAD/Hist/HistMan.h.


Constructor & Destructor Documentation

Anp::AxisInfo::AxisInfo (  ) 

Definition at line 981 of file PhysicsNtuple/HEAD/Hist/HistMan.cxx.

00982    :fNbins(0),
00983     fMin(0),
00984     fMax(0),
00985     fValid(false),
00986     fTitle()
00987 {
00988 }

Anp::AxisInfo::~AxisInfo (  ) 

Definition at line 991 of file PhysicsNtuple/HEAD/Hist/HistMan.cxx.

00992 {
00993 }


Member Function Documentation

const std::vector< double > & Anp::AxisInfo::GetBins (  )  const

Definition at line 1020 of file PhysicsNtuple/HEAD/Hist/HistMan.cxx.

References fBins.

Referenced by Anp::HistMan::CreateHist1d().

01021 {
01022    return fBins;
01023 }

double Anp::AxisInfo::GetMax (  )  const

Definition at line 1008 of file PhysicsNtuple/HEAD/Hist/HistMan.cxx.

References fMax.

Referenced by Anp::HistMan::CreateHist1d(), and Print().

01009 {
01010    return fMax;
01011 }

double Anp::AxisInfo::GetMin (  )  const

Definition at line 1002 of file PhysicsNtuple/HEAD/Hist/HistMan.cxx.

References fMin.

Referenced by Anp::HistMan::CreateHist1d(), and Print().

01003 {
01004    return fMin;
01005 }

int Anp::AxisInfo::GetNbins (  )  const

Definition at line 1014 of file PhysicsNtuple/HEAD/Hist/HistMan.cxx.

References fNbins.

Referenced by Anp::HistMan::CreateHist1d(), and Print().

01015 {
01016    return fNbins;
01017 }

const std::string & Anp::AxisInfo::GetTitle (  )  const

Definition at line 996 of file PhysicsNtuple/HEAD/Hist/HistMan.cxx.

References fTitle.

00997 {
00998    return fTitle;
00999 }

void Anp::AxisInfo::Print ( std::ostream &  o = std::cout  )  const

Definition at line 1032 of file PhysicsNtuple/HEAD/Hist/HistMan.cxx.

References fTitle, GetMax(), GetMin(), and GetNbins().

01033 {
01034    o << "AxisInfo (" << fTitle << "): (nbin, min, max) = "
01035      << "(" << GetNbins() << ", " << GetMin() << ", " << GetMax() << ")" << std::endl;
01036 }

bool Anp::AxisInfo::Valid (  )  const

Definition at line 1026 of file PhysicsNtuple/HEAD/Hist/HistMan.cxx.

References fValid.

01027 {
01028    return fValid;
01029 }


Friends And Related Function Documentation

friend class HistMan [friend]

Definition at line 42 of file PhysicsNtuple/HEAD/Hist/HistMan.h.


Member Data Documentation

std::vector<double> Anp::AxisInfo::fBins [protected]

Definition at line 50 of file PhysicsNtuple/HEAD/Hist/HistMan.h.

Referenced by GetBins(), and Anp::HistMan::ReadAxis().

double Anp::AxisInfo::fMax [protected]

Definition at line 46 of file PhysicsNtuple/HEAD/Hist/HistMan.h.

Referenced by GetMax(), and Anp::HistMan::ReadAxis().

double Anp::AxisInfo::fMin [protected]

Definition at line 45 of file PhysicsNtuple/HEAD/Hist/HistMan.h.

Referenced by GetMin(), and Anp::HistMan::ReadAxis().

int Anp::AxisInfo::fNbins [protected]

Definition at line 44 of file PhysicsNtuple/HEAD/Hist/HistMan.h.

Referenced by GetNbins(), and Anp::HistMan::ReadAxis().

std::string Anp::AxisInfo::fTitle [protected]
bool Anp::AxisInfo::fValid [protected]

Definition at line 48 of file PhysicsNtuple/HEAD/Hist/HistMan.h.

Referenced by Anp::HistMan::ReadAxis(), and Valid().


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

Generated on 16 Apr 2018 for loon by  doxygen 1.6.1