Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Anp::HistInfo Class Reference

#include <HistMan.h>

List of all members.

Public Member Functions

 HistInfo ()
 ~HistInfo ()
const std::string & GetName () const
const std::string & GetTitle () const
const AxisInfoGetXaxis () const
const AxisInfoGetYaxis () const
const std::string & GetKey () const
bool operator< (const HistInfo &rhs) const
bool operator== (const HistInfo &rhs) const
void Print (std::ostream &o=std::cout) const

Protected Attributes

std::string fKey
std::string fName
std::string fTitle
AxisInfo fXaxis
AxisInfo fYaxis

Friends

class HistMan


Constructor & Destructor Documentation

Anp::HistInfo::HistInfo  ) 
 

Definition at line 897 of file PhysicsNtuple/Hist/HistMan.cxx.

00898    :fKey(),
00899     fName(),
00900     fTitle(),
00901     fXaxis(),
00902     fYaxis()
00903 {
00904 }

Anp::HistInfo::~HistInfo  ) 
 

Definition at line 907 of file PhysicsNtuple/Hist/HistMan.cxx.

00908 {
00909 }


Member Function Documentation

const std::string & Anp::HistInfo::GetKey  )  const
 

Definition at line 936 of file PhysicsNtuple/Hist/HistMan.cxx.

Referenced by Anp::HistMan::CreateTH1(), Anp::HistMan::CreateTH2(), Anp::HistMan::GetTH2(), Print(), and Anp::HistMan::ReadHistogramBlock().

00937 {
00938    return fKey;
00939 }

const std::string & Anp::HistInfo::GetName  )  const
 

Definition at line 912 of file PhysicsNtuple/Hist/HistMan.cxx.

Referenced by Anp::HistMan::CreateTH1(), Anp::HistMan::CreateTH2(), and Print().

00913 {
00914    return fName;
00915 }

const std::string & Anp::HistInfo::GetTitle  )  const
 

Definition at line 918 of file PhysicsNtuple/Hist/HistMan.cxx.

Referenced by Anp::HistMan::CreateTH1(), Anp::HistMan::CreateTH2(), Print(), and Anp::HistMan::ReadHistogramBlock().

00919 {
00920    return fTitle;
00921 }

const Anp::AxisInfo & Anp::HistInfo::GetXaxis  )  const
 

Definition at line 924 of file PhysicsNtuple/Hist/HistMan.cxx.

Referenced by Anp::HistMan::CreateHist1d(), Anp::HistMan::CreateTH1(), Anp::HistMan::CreateTH2(), and Anp::HistMan::GetTH2().

00925 {
00926    return fXaxis;
00927 }

const Anp::AxisInfo & Anp::HistInfo::GetYaxis  )  const
 

Definition at line 930 of file PhysicsNtuple/Hist/HistMan.cxx.

Referenced by Anp::HistMan::CreateTH1(), Anp::HistMan::CreateTH2(), and Anp::HistMan::GetTH2().

00931 {
00932    return fYaxis;
00933 }

bool Anp::HistInfo::operator< const HistInfo rhs  )  const
 

Definition at line 942 of file PhysicsNtuple/Hist/HistMan.cxx.

References fKey.

00943 {
00944    if(fKey < rhs.fKey)
00945    {
00946       return true;
00947    }
00948 
00949    return false;
00950 }

bool Anp::HistInfo::operator== const HistInfo rhs  )  const
 

Definition at line 953 of file PhysicsNtuple/Hist/HistMan.cxx.

References fKey.

00954 {
00955    if(fKey == rhs.fKey)
00956    {
00957       return true;
00958    }
00959 
00960    return false;
00961 }

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

Definition at line 964 of file PhysicsNtuple/Hist/HistMan.cxx.

References fXaxis, GetKey(), GetName(), and GetTitle().

00965 {
00966    o << "Printing HistInfo: key = " << GetKey() << std::endl
00967      << "   name = " << GetName()
00968      << ", title = " << GetTitle()
00969      << "  " << fXaxis
00970      << "  " << fYaxis;
00971 }


Friends And Related Function Documentation

friend class HistMan [friend]
 

Definition at line 75 of file PhysicsNtuple/Hist/HistMan.h.


Member Data Documentation

std::string Anp::HistInfo::fKey [protected]
 

Definition at line 79 of file PhysicsNtuple/Hist/HistMan.h.

Referenced by Anp::HistMan::GetTH2(), operator<(), operator==(), Anp::HistMan::ReadHistogram(), and Anp::HistMan::ReadHistogramBlock().

std::string Anp::HistInfo::fName [protected]
 

Definition at line 81 of file PhysicsNtuple/Hist/HistMan.h.

Referenced by Anp::HistMan::GetTH2(), and Anp::HistMan::ReadHistogram().

std::string Anp::HistInfo::fTitle [protected]
 

Definition at line 82 of file PhysicsNtuple/Hist/HistMan.h.

Referenced by Anp::HistMan::GetTH2(), and Anp::HistMan::ReadHistogram().

AxisInfo Anp::HistInfo::fXaxis [protected]
 

Definition at line 84 of file PhysicsNtuple/Hist/HistMan.h.

Referenced by Anp::HistMan::GetTH2(), Print(), and Anp::HistMan::ReadHistogram().

AxisInfo Anp::HistInfo::fYaxis [protected]
 

Definition at line 85 of file PhysicsNtuple/Hist/HistMan.h.

Referenced by Anp::HistMan::GetTH2(), and Anp::HistMan::ReadHistogram().


The documentation for this class was generated from the following files:
Generated on Mon Nov 23 05:33:33 2009 for loon by  doxygen 1.3.9.1