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 835 of file PhysicsNtuple/Hist/HistMan.cxx.

00836    :fKey(),
00837     fName(),
00838     fTitle(),
00839     fXaxis(),
00840     fYaxis()
00841 {
00842 }

Anp::HistInfo::~HistInfo  ) 
 

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

00846 {
00847 }


Member Function Documentation

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

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

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

00875 {
00876    return fKey;
00877 }

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

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

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

00851 {
00852    return fName;
00853 }

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

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

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

00857 {
00858    return fTitle;
00859 }

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

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

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

00863 {
00864    return fXaxis;
00865 }

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

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

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

00869 {
00870    return fYaxis;
00871 }

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

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

References fKey.

00881 {
00882    if(fKey < rhs.fKey)
00883    {
00884       return true;
00885    }
00886 
00887    return false;
00888 }

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

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

References fKey.

00892 {
00893    if(fKey == rhs.fKey)
00894    {
00895       return true;
00896    }
00897 
00898    return false;
00899 }

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

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

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

00903 {
00904    o << "Printing HistInfo: key = " << GetKey() << std::endl
00905      << "   name = " << GetName()
00906      << ", title = " << GetTitle()
00907      << "  " << fXaxis
00908      << "  " << fYaxis;
00909 }


Friends And Related Function Documentation

friend class HistMan [friend]
 

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


Member Data Documentation

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

Definition at line 78 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 80 of file PhysicsNtuple/Hist/HistMan.h.

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

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

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

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

AxisInfo Anp::HistInfo::fXaxis [protected]
 

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

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

AxisInfo Anp::HistInfo::fYaxis [protected]
 

Definition at line 84 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 Fri Mar 28 16:15:23 2008 for loon by  doxygen 1.3.9.1