MC_Normalization Class Reference

#include <MC_Normalization.h>

Inheritance diagram for MC_Normalization:
DbiTableRow

List of all members.

Public Member Functions

 MC_Normalization ()
 ~MC_Normalization ()
std::string GetBeamConfig () const
std::string GetMCVersion () const
std::string GetModifier () const
Float_t GetNearDetEvPerPot () const
Float_t GetRockEvPerPot () const
virtual DbiTableRowCreateTableRow () const
void Print (const Option_t *=NULL) const
virtual void Fill (DbiResultSet &rs, const DbiValidityRec *vrec)
virtual void Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const

Private Member Functions

 ClassDef (MC_Normalization, 1)

Private Attributes

std::string fBeamConfig
std::string fMCVersion
std::string fModifier
Float_t fNearDetEvPerPot
Float_t fRockEvPerPot

Detailed Description

Definition at line 9 of file MC_Normalization.h.


Constructor & Destructor Documentation

MC_Normalization::MC_Normalization (  )  [inline]

Definition at line 12 of file MC_Normalization.h.

00012 : fNearDetEvPerPot(0.),fRockEvPerPot(0.) {};

MC_Normalization::~MC_Normalization (  )  [inline]

Definition at line 13 of file MC_Normalization.h.

00013 {}


Member Function Documentation

MC_Normalization::ClassDef ( MC_Normalization  ,
 
) [private]
virtual DbiTableRow* MC_Normalization::CreateTableRow (  )  const [inline, virtual]

Implements DbiTableRow.

Definition at line 21 of file MC_Normalization.h.

00021 { return new MC_Normalization; }

void MC_Normalization::Fill ( DbiResultSet rs,
const DbiValidityRec vrec 
) [virtual]

Implements DbiTableRow.

Definition at line 18 of file MC_Normalization.cxx.

References fBeamConfig, fMCVersion, fModifier, fNearDetEvPerPot, and fRockEvPerPot.

00019                                                                {
00020   rs >> fBeamConfig >> fMCVersion >> fModifier >> fNearDetEvPerPot >> fRockEvPerPot;
00021 }

std::string MC_Normalization::GetBeamConfig (  )  const [inline]

Definition at line 15 of file MC_Normalization.h.

References fBeamConfig.

Referenced by Print().

00015 { return fBeamConfig;      }

std::string MC_Normalization::GetMCVersion (  )  const [inline]

Definition at line 16 of file MC_Normalization.h.

References fMCVersion.

Referenced by Print().

00016 { return fMCVersion;       }

std::string MC_Normalization::GetModifier (  )  const [inline]

Definition at line 17 of file MC_Normalization.h.

References fModifier.

Referenced by Print().

00017 { return fModifier;        }

Float_t MC_Normalization::GetNearDetEvPerPot (  )  const [inline]

Definition at line 18 of file MC_Normalization.h.

References fNearDetEvPerPot.

Referenced by McNormalizationFinder::GetNearDetEvPerPOT(), and Print().

00018 { return fNearDetEvPerPot; }

Float_t MC_Normalization::GetRockEvPerPot (  )  const [inline]

Definition at line 19 of file MC_Normalization.h.

References fRockEvPerPot.

Referenced by McNormalizationFinder::GetRockEvPerPOT(), and Print().

00019 { return fRockEvPerPot;    }

void MC_Normalization::Print ( const Option_t *  = NULL  )  const

Definition at line 26 of file MC_Normalization.cxx.

References GetBeamConfig(), GetMCVersion(), GetModifier(), GetNearDetEvPerPot(), and GetRockEvPerPot().

00026                                                                {
00027   printf("Beam Config: %-15s MC Version: %-8s Modifier: %-15s Near Ev/POT: %10.2e   Rock Ev/POT: %10.2e\n",
00028          this->GetBeamConfig().c_str(),this->GetMCVersion().c_str(),this->GetModifier().c_str(),
00029          this->GetNearDetEvPerPot(),this->GetRockEvPerPot());
00030 }

void MC_Normalization::Store ( DbiOutRowStream ors,
const DbiValidityRec vrec 
) const [virtual]

Reimplemented from DbiTableRow.

Definition at line 35 of file MC_Normalization.cxx.

References fBeamConfig, fMCVersion, fModifier, fNearDetEvPerPot, and fRockEvPerPot.

00036                                                                      {
00037   ors  << fBeamConfig << fMCVersion << fModifier << fNearDetEvPerPot << fRockEvPerPot;
00038 }


Member Data Documentation

std::string MC_Normalization::fBeamConfig [private]

Definition at line 30 of file MC_Normalization.h.

Referenced by Fill(), GetBeamConfig(), and Store().

std::string MC_Normalization::fMCVersion [private]

Definition at line 31 of file MC_Normalization.h.

Referenced by Fill(), GetMCVersion(), and Store().

std::string MC_Normalization::fModifier [private]

Definition at line 32 of file MC_Normalization.h.

Referenced by Fill(), GetModifier(), and Store().

Definition at line 33 of file MC_Normalization.h.

Referenced by Fill(), GetNearDetEvPerPot(), and Store().

Definition at line 34 of file MC_Normalization.h.

Referenced by Fill(), GetRockEvPerPot(), and Store().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1