ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHFlag Class Reference

#include <coresoftware/blob/master/offline/framework/phool/PHFlag.h>

+ Inheritance diagram for PHFlag:
+ Collaboration diagram for PHFlag:

Public Member Functions

 PHFlag ()
 
virtual ~PHFlag ()
 
virtual const std::string get_CharFlag (const std::string &name) const
 
virtual const std::string get_CharFlag (const std::string &name, const std::string &defaultval)
 
virtual void set_CharFlag (const std::string &name, const std::string &flag)
 
virtual double get_DoubleFlag (const std::string &name) const
 
virtual double get_DoubleFlag (const std::string &name, const double defaultval)
 
virtual void set_DoubleFlag (const std::string &name, const double flag)
 
virtual float get_FloatFlag (const std::string &name) const
 
virtual float get_FloatFlag (const std::string &name, const float defaultval)
 
virtual void set_FloatFlag (const std::string &name, const float flag)
 
virtual int get_IntFlag (const std::string &name) const
 
virtual int get_IntFlag (const std::string &name, const int defaultval)
 
virtual void set_IntFlag (const std::string &name, const int flag)
 
virtual const std::string get_StringFlag (const std::string &name) const
 
virtual const std::string get_StringFlag (const std::string &name, const std::string &defaultval)
 
virtual void set_StringFlag (const std::string &name, const std::string &flag)
 
virtual void Print () const
 
virtual void PrintDoubleFlags () const
 
virtual void PrintIntFlags () const
 
virtual void PrintFloatFlags () const
 
virtual void PrintCharFlags () const
 
virtual void PrintStringFlags () const
 
virtual void ReadFromFile (const std::string &name)
 
virtual void WriteToFile (const std::string &name)
 
virtual int FlagExist (const std::string &name) const
 
virtual const std::map
< std::string, int > * 
IntMap () const
 
virtual const std::map
< std::string, float > * 
FloatMap () const
 
virtual const std::map
< std::string, double > * 
DoubleMap () const
 
virtual const std::map
< std::string, std::string > * 
CharMap () const
 
virtual void PrintStackTrace () const
 

Protected Attributes

std::map< std::string, intintflag
 
std::map< std::string, double > doubleflag
 
std::map< std::string, float > floatflag
 
std::map< std::string,
std::string > 
charflag
 

Detailed Description

Definition at line 19 of file PHFlag.h.

View newest version in sPHENIX GitHub at line 19 of file PHFlag.h

Constructor & Destructor Documentation

PHFlag::PHFlag ( )
inline

Definition at line 22 of file PHFlag.h.

View newest version in sPHENIX GitHub at line 22 of file PHFlag.h

virtual PHFlag::~PHFlag ( )
inlinevirtual

Definition at line 23 of file PHFlag.h.

View newest version in sPHENIX GitHub at line 23 of file PHFlag.h

Member Function Documentation

virtual const std::map<std::string, std::string>* PHFlag::CharMap ( ) const
inlinevirtual

Definition at line 58 of file PHFlag.h.

View newest version in sPHENIX GitHub at line 58 of file PHFlag.h

References charflag.

Referenced by FlagSavev1::FillCharFromPHFlag().

+ Here is the caller graph for this function:

virtual const std::map<std::string, double>* PHFlag::DoubleMap ( ) const
inlinevirtual

Definition at line 57 of file PHFlag.h.

View newest version in sPHENIX GitHub at line 57 of file PHFlag.h

References doubleflag.

Referenced by FlagSavev1::FillDoubleFromPHFlag().

+ Here is the caller graph for this function:

int PHFlag::FlagExist ( const std::string &  name) const
virtual

Definition at line 211 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 211 of file PHFlag.cc

Referenced by Fun4AllHistoManager::dumpHistos(), DSTEmulator::evaluate_tracks(), Fun4AllOscarInputManager::fileopen(), Fun4AllHepMCInputManager::fileopen(), PHGeomUtility::GetVerbosity(), Fun4AllPrdfOutputManager::InitPrdfManager(), PHRandomSeed::InitSeed(), SvtxEvaluator::process_event(), and Fun4AllServer::run().

+ Here is the caller graph for this function:

virtual const std::map<std::string, float>* PHFlag::FloatMap ( ) const
inlinevirtual

Definition at line 56 of file PHFlag.h.

View newest version in sPHENIX GitHub at line 56 of file PHFlag.h

References floatflag.

Referenced by FlagSavev1::FillFloatFromPHFlag().

+ Here is the caller graph for this function:

const string PHFlag::get_CharFlag ( const std::string &  name) const
virtual

Definition at line 13 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 13 of file PHFlag.cc

References pyG4Element::Print().

Referenced by get_StringFlag(), and HepMCNodeReader::process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const string PHFlag::get_CharFlag ( const std::string &  name,
const std::string &  defaultval 
)
virtual

Definition at line 28 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 28 of file PHFlag.cc

double PHFlag::get_DoubleFlag ( const std::string &  name) const
virtual

Definition at line 48 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 48 of file PHFlag.cc

References pyG4Element::Print().

+ Here is the call graph for this function:

double PHFlag::get_DoubleFlag ( const std::string &  name,
const double  defaultval 
)
virtual

Definition at line 62 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 62 of file PHFlag.cc

float PHFlag::get_FloatFlag ( const std::string &  name) const
virtual

Definition at line 82 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 82 of file PHFlag.cc

References pyG4Element::Print().

Referenced by HepMCNodeReader::process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

float PHFlag::get_FloatFlag ( const std::string &  name,
const float  defaultval 
)
virtual

Definition at line 96 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 96 of file PHFlag.cc

int PHFlag::get_IntFlag ( const std::string &  name) const
virtual

Definition at line 116 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 116 of file PHFlag.cc

References pyG4Element::Print().

Referenced by Fun4AllHistoManager::dumpHistos(), Fun4AllServer::End(), DSTEmulator::evaluate_tracks(), Fun4AllOscarInputManager::fileopen(), Fun4AllHepMCInputManager::fileopen(), PHGeomUtility::GetVerbosity(), Fun4AllPrdfOutputManager::InitPrdfManager(), HeadReco::InitRun(), PHRandomSeed::InitSeed(), SvtxEvaluator::process_event(), Fun4AllServer::run(), and Fun4AllDummyInputManager::setSyncManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHFlag::get_IntFlag ( const std::string &  name,
const int  defaultval 
)
virtual

Definition at line 130 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 130 of file PHFlag.cc

virtual const std::string PHFlag::get_StringFlag ( const std::string &  name) const
inlinevirtual

Definition at line 40 of file PHFlag.h.

View newest version in sPHENIX GitHub at line 40 of file PHFlag.h

References get_CharFlag().

Referenced by PHG4FullProjTiltedSpacalDetector::Construct_AzimuthalSeg(), PHG4FullProjSpacalDetector::Construct_AzimuthalSeg(), PHG4MicromegasDetector::construct_micromegas(), PHG4InttDetector::ConstructIntt(), EICG4BwdDetector::ConstructMe(), EICG4B0ECALDetector::ConstructMe(), PHG4CEmcTestBeamDetector::ConstructMe(), PHG4BbcDetector::ConstructMe(), PHG4ZDCDetector::ConstructMe(), PHG4ForwardHcalDetector::ConstructMe(), PHG4ProjCrystalCalorimeterDetector::ConstructMe(), PHG4BackwardHcalDetector::ConstructMe(), PHG4CrystalCalorimeterDetector::ConstructMe(), PHG4LFHcalDetector::ConstructMe(), PHG4InnerHcalDetector::ConstructMe(), PHG4OuterHcalDetector::ConstructMe(), PHG4ForwardEcalDetector::ConstructMe(), PHG4ProjCrystalCalorimeterDetector::ConstructProjectiveCrystals(), PHG4ForwardHcalDetector::ConstructTower(), PHG4BackwardHcalDetector::ConstructTower(), PHG4LFHcalDetector::ConstructTower(), PHG4CrystalCalorimeterDetector::ConstructTower(), PHG4HybridHomogeneousCalorimeterDetector::ConstructTower(), PHG4ForwardEcalDetector::ConstructTower(), PHG4CEmcTestBeamDetector::ConstructTowerVolume(), PHG4ProjCrystalCalorimeterDetector::Fill4x4Unit(), PHG4ProjCrystalCalorimeterDetector::FillSpecialUnit(), and PHG4CylinderSubsystem::InitRunSubsystem().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual const std::string PHFlag::get_StringFlag ( const std::string &  name,
const std::string &  defaultval 
)
inlinevirtual

Definition at line 41 of file PHFlag.h.

View newest version in sPHENIX GitHub at line 41 of file PHFlag.h

References get_CharFlag().

+ Here is the call graph for this function:

virtual const std::map<std::string, int>* PHFlag::IntMap ( ) const
inlinevirtual

Definition at line 55 of file PHFlag.h.

View newest version in sPHENIX GitHub at line 55 of file PHFlag.h

References intflag.

Referenced by FlagSavev1::FillIntFromPHFlag().

+ Here is the caller graph for this function:

void PHFlag::Print ( ) const
virtual

Reimplemented in recoConsts.

Definition at line 150 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 150 of file PHFlag.cc

void PHFlag::PrintCharFlags ( ) const
virtual

Definition at line 198 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 198 of file PHFlag.cc

Referenced by recoConsts::Print(), and PrintStringFlags().

+ Here is the caller graph for this function:

void PHFlag::PrintDoubleFlags ( ) const
virtual

Definition at line 172 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 172 of file PHFlag.cc

void PHFlag::PrintFloatFlags ( ) const
virtual

Definition at line 185 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 185 of file PHFlag.cc

Referenced by recoConsts::Print().

+ Here is the caller graph for this function:

void PHFlag::PrintIntFlags ( ) const
virtual

Definition at line 159 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 159 of file PHFlag.cc

Referenced by recoConsts::Print().

+ Here is the caller graph for this function:

void PHFlag::PrintStackTrace ( ) const
virtual

Definition at line 333 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 333 of file PHFlag.cc

virtual void PHFlag::PrintStringFlags ( ) const
inlinevirtual

Definition at line 49 of file PHFlag.h.

View newest version in sPHENIX GitHub at line 49 of file PHFlag.h

References PrintCharFlags().

+ Here is the call graph for this function:

void PHFlag::ReadFromFile ( const std::string &  name)
virtual

Definition at line 236 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 236 of file PHFlag.cc

void PHFlag::set_CharFlag ( const std::string &  name,
const std::string &  flag 
)
virtual

Definition at line 42 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 42 of file PHFlag.cc

Referenced by PHG4PhenixDetector::Construct(), FlagSavev1::PutCharToPHFlag(), and set_StringFlag().

+ Here is the caller graph for this function:

void PHFlag::set_DoubleFlag ( const std::string &  name,
const double  flag 
)
virtual

Definition at line 76 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 76 of file PHFlag.cc

Referenced by FlagSavev1::PutDoubleToPHFlag().

+ Here is the caller graph for this function:

void PHFlag::set_FloatFlag ( const std::string &  name,
const float  flag 
)
virtual

Definition at line 110 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 110 of file PHFlag.cc

Referenced by PHG4Reco::InitRun(), and FlagSavev1::PutFloatToPHFlag().

+ Here is the caller graph for this function:

void PHFlag::set_IntFlag ( const std::string &  name,
const int  flag 
)
virtual

Definition at line 144 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 144 of file PHFlag.cc

Referenced by Fun4All_ExportGeom(), Fun4All_G4_ECCEModular(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), MakeTree(), PHGeom_DSTInspection(), FlagSavev1::PutIntToPHFlag(), RunBoth(), Fun4AllServer::setRun(), and PHGeomUtility::SetVerbosity().

+ Here is the caller graph for this function:

virtual void PHFlag::set_StringFlag ( const std::string &  name,
const std::string &  flag 
)
inlinevirtual

Definition at line 42 of file PHFlag.h.

View newest version in sPHENIX GitHub at line 42 of file PHFlag.h

References set_CharFlag().

Referenced by PHG4Reco::InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHFlag::WriteToFile ( const std::string &  name)
virtual

Definition at line 300 of file PHFlag.cc.

View newest version in sPHENIX GitHub at line 300 of file PHFlag.cc

Member Data Documentation

std::map<std::string, std::string> PHFlag::charflag
protected

Definition at line 65 of file PHFlag.h.

View newest version in sPHENIX GitHub at line 65 of file PHFlag.h

Referenced by CharMap().

std::map<std::string, double> PHFlag::doubleflag
protected

Definition at line 63 of file PHFlag.h.

View newest version in sPHENIX GitHub at line 63 of file PHFlag.h

Referenced by DoubleMap().

std::map<std::string, float> PHFlag::floatflag
protected

Definition at line 64 of file PHFlag.h.

View newest version in sPHENIX GitHub at line 64 of file PHFlag.h

Referenced by FloatMap().

std::map<std::string, int> PHFlag::intflag
protected

Definition at line 62 of file PHFlag.h.

View newest version in sPHENIX GitHub at line 62 of file PHFlag.h

Referenced by IntMap().


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