EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4DetectorGroupSubsystem Class Referenceabstract

#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4DetectorGroupSubsystem.h>

+ Inheritance diagram for PHG4DetectorGroupSubsystem:
+ Collaboration diagram for PHG4DetectorGroupSubsystem:

Public Types

enum  FILE_TYPE { none = 0, xml = 1, root = 2 }
 

Public Member Functions

 ~PHG4DetectorGroupSubsystem () override
 
int Init (PHCompositeNode *) final
 
int InitRun (PHCompositeNode *) final
 
virtual int InitRunSubsystem (PHCompositeNode *)
 
virtual int InitSubsystem (PHCompositeNode *)
 
void OverlapCheck (const bool chk=true)
 
bool CheckOverlap () const
 
PHParametersContainerGetParamsContainer () const
 
void set_double_param (const int detid, const std::string &name, const double dval)
 
double get_double_param (const int detid, const std::string &name) const
 
void set_int_param (const int detid, const std::string &name, const int ival)
 
int get_int_param (const int detid, const std::string &name) const
 
void set_string_param (const int detid, const std::string &name, const std::string &sval)
 
std::string get_string_param (const int detid, const std::string &name) const
 
void UseDB (const int i=1)
 
int ReadDB () const
 
FILE_TYPE get_filetype () const
 
void UseCalibFiles (const FILE_TYPE ftyp)
 
int SaveParamsToDB ()
 
int ReadParamsFromDB (const std::string &name, const int issuper)
 
int SaveParamsToFile (const FILE_TYPE ftyp)
 
int ReadParamsFromFile (const std::string &name, const FILE_TYPE ftyp, const int issuper)
 
void SetCalibrationFileDir (const std::string &calibdir)
 
void UpdateParametersWithMacro ()
 
void SetActive (const int detid, const int i)
 
void SetActive (const int i=1)
 
void SetAbsorberActive (const int detid, const int i)
 
void SetAbsorberActive (const int i=1)
 
void SetAbsorberTruth (const int detid, const int i)
 
void SetAbsorberTruth (const int i=1)
 
void BlackHole (const int detid, const int i)
 
void BlackHole (const int i=1)
 
void SuperDetector (const std::string &name)
 
const std::string SuperDetector () const
 
int GetLayer () const
 
virtual void SetDefaultParameters ()=0
 
- Public Member Functions inherited from PHG4Subsystem
 PHG4Subsystem (const std::string &name="Generic Subsystem")
 constructor
 
 ~PHG4Subsystem (void) override
 destructor
 
virtual int process_after_geant (PHCompositeNode *)
 event processing
 
virtual PHG4DetectorGetDetector (void) const
 return pointer to created detector object
 
virtual PHG4EventActionGetEventAction (void) const
 return pointer to this subsystem event action
 
virtual PHG4SteppingActionGetSteppingAction (void) const
 return pointer to this subsystem stepping action
 
virtual PHG4TrackingActionGetTrackingAction (void) const
 return pointer to this subsystem stepping action
 
virtual PHG4DisplayActionGetDisplayAction () const
 return pointer to this subsystem display setting
 
virtual PHG4StackingActionGetStackingAction () const
 
void OverlapCheck (const bool chk=true)
 
bool CheckOverlap () const
 
void SetMotherSubsystem (PHG4Subsystem *subsys)
 
PHG4SubsystemGetMotherSubsystem () const
 
void SetLogicalVolume (G4LogicalVolume *vol)
 
G4LogicalVolume * GetLogicalVolume () const
 
virtual bool CanBeMotherSubsystem () const
 
virtual void AddProcesses (G4ParticleDefinition *)
 
virtual void DefineMaterials ()
 
- Public Member Functions inherited from SubsysReco
 ~SubsysReco () override
 
virtual int End (PHCompositeNode *)
 Called at the end of all processing.
 
virtual int EndRun (const int)
 Called at the end of each run.
 
virtual int process_event (PHCompositeNode *)
 
virtual int Reset (PHCompositeNode *)
 Reset.
 
virtual int ResetEvent (PHCompositeNode *)
 Clean up after each event.
 
void Print (const std::string &="ALL") const override
 
- Public Member Functions inherited from Fun4AllBase
virtual ~Fun4AllBase ()
 
virtual const std::string Name () const
 Returns the name of this module.
 
virtual void Name (const std::string &name)
 Sets the name of this module.
 
virtual void Verbosity (const int ival)
 Sets the verbosity of this module (0 by default=quiet).
 
virtual void Verbosity (enu_Verbosity ival)
 Sets the verbosity of this module (0 by default=quiet).
 
virtual int Verbosity () const
 Gets the verbosity of this module.
 

Protected Member Functions

 PHG4DetectorGroupSubsystem (const std::string &name="GenericSubsystem", const int lyr=0)
 
void InitializeParameters ()
 
void AddDetId (const int i)
 
std::pair< std::set< int >
::const_iterator, std::set
< int >::const_iterator > 
GetDetIds () const
 
void set_default_double_param (const int detid, const std::string &name, const double dval)
 
void set_default_int_param (const int detid, const std::string &name, const int ival)
 
void set_default_string_param (const int detid, const std::string &name, const std::string &sval)
 
int BeginRunExecuted () const
 
void PrintDefaultParams () const
 
void PrintMacroParams () const
 

Private Attributes

PHParametersContainerm_ParamsContainer
 
PHParametersContainerm_ParamsContainerDefault
 
PHCompositeNodem_SaveTopNode
 
bool m_OverlapCheckFlag
 
int m_Layer
 
int m_UseDBFlag
 
int m_BeginRunExecutedFlag
 
FILE_TYPE m_FileType
 
std::string m_SuperDetector
 
std::string m_CalibFileDir
 
std::set< int > m_LayerSet
 
std::map< int, std::map< const
std::string, double > > 
m_MacroDoubleParamsMap
 
std::map< int, std::map< const
std::string, int > > 
m_MacroIntegerParamsMap
 
std::map< int, std::map< const
std::string, std::string > > 
m_MacroStringParamsMap
 
std::map< int, std::map< const
std::string, double > > 
m_DefaultDoubleParamsMap
 
std::map< int, std::map< const
std::string, int > > 
m_DefaultIntegerParamsMap
 
std::map< int, std::map< const
std::string, std::string > > 
m_DefaultStringParamsMap
 

Detailed Description

Definition at line 16 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 16 of file PHG4DetectorGroupSubsystem.h

Member Enumeration Documentation

Enumerator:
none 
xml 
root 

Definition at line 19 of file PHG4DetectorGroupSubsystem.h.

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

Constructor & Destructor Documentation

PHG4DetectorGroupSubsystem::~PHG4DetectorGroupSubsystem ( )
inlineoverride

Definition at line 26 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 26 of file PHG4DetectorGroupSubsystem.h

PHG4DetectorGroupSubsystem::PHG4DetectorGroupSubsystem ( const std::string &  name = "GenericSubsystem",
const int  lyr = 0 
)
protected

Definition at line 29 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 29 of file PHG4DetectorGroupSubsystem.cc

References Fun4AllBase::Name().

+ Here is the call graph for this function:

Member Function Documentation

void PHG4DetectorGroupSubsystem::AddDetId ( const int  i)
inlineprotected

Definition at line 76 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 76 of file PHG4DetectorGroupSubsystem.h

References m_LayerSet.

Referenced by PHG4EICMvtxSubsystem::PHG4EICMvtxSubsystem(), PHG4InttSubsystem::PHG4InttSubsystem(), and PHG4MvtxSubsystem::PHG4MvtxSubsystem().

+ Here is the caller graph for this function:

int PHG4DetectorGroupSubsystem::BeginRunExecuted ( ) const
inlineprotected

Definition at line 84 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 84 of file PHG4DetectorGroupSubsystem.h

References m_BeginRunExecutedFlag.

void PHG4DetectorGroupSubsystem::BlackHole ( const int  detid,
const int  i 
)

Definition at line 607 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 607 of file PHG4DetectorGroupSubsystem.cc

References set_int_param().

+ Here is the call graph for this function:

void PHG4DetectorGroupSubsystem::BlackHole ( const int  i = 1)

Definition at line 612 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 612 of file PHG4DetectorGroupSubsystem.cc

References m_LayerSet, and set_int_param().

+ Here is the call graph for this function:

bool PHG4DetectorGroupSubsystem::CheckOverlap ( ) const
inline

Definition at line 36 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 36 of file PHG4DetectorGroupSubsystem.h

References m_OverlapCheckFlag.

Referenced by PHG4EICMvtxSubsystem::InitRunSubsystem(), PHG4MvtxSubsystem::InitRunSubsystem(), PHG4InttSubsystem::InitRunSubsystem(), G4JLeicVTXSubsystem::InitRunSubsystem(), and PHG4PSTOFSubsystem::InitRunSubsystem().

+ Here is the caller graph for this function:

double PHG4DetectorGroupSubsystem::get_double_param ( const int  detid,
const std::string &  name 
) const

Definition at line 171 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 171 of file PHG4DetectorGroupSubsystem.cc

References exit(), PHParameters::get_double_param(), PHParametersContainer::GetParameters(), m_ParamsContainer, and PHWHERE.

+ Here is the call graph for this function:

FILE_TYPE PHG4DetectorGroupSubsystem::get_filetype ( ) const
inline

Definition at line 48 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 48 of file PHG4DetectorGroupSubsystem.h

References m_FileType.

Referenced by InitRun().

+ Here is the caller graph for this function:

int PHG4DetectorGroupSubsystem::get_int_param ( const int  detid,
const std::string &  name 
) const

Definition at line 186 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 186 of file PHG4DetectorGroupSubsystem.cc

References exit(), PHParameters::get_int_param(), PHParametersContainer::GetParameters(), m_ParamsContainer, and PHWHERE.

Referenced by G4JLeicVTXSubsystem::InitRunSubsystem(), and PHG4PSTOFSubsystem::InitRunSubsystem().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

string PHG4DetectorGroupSubsystem::get_string_param ( const int  detid,
const std::string &  name 
) const

Definition at line 202 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 202 of file PHG4DetectorGroupSubsystem.cc

References exit(), PHParameters::get_string_param(), PHParametersContainer::GetParameters(), m_ParamsContainer, and PHWHERE.

+ Here is the call graph for this function:

std::pair<std::set<int>::const_iterator, std::set<int>::const_iterator> PHG4DetectorGroupSubsystem::GetDetIds ( ) const
inlineprotected

Definition at line 77 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 77 of file PHG4DetectorGroupSubsystem.h

References m_LayerSet.

Referenced by PHG4EICMvtxSubsystem::InitRunSubsystem(), PHG4MvtxSubsystem::InitRunSubsystem(), PHG4InttSubsystem::InitRunSubsystem(), PHG4MvtxSubsystem::SetDefaultParameters(), PHG4EICMvtxSubsystem::SetDefaultParameters(), and PHG4InttSubsystem::SetDefaultParameters().

+ Here is the caller graph for this function:

int PHG4DetectorGroupSubsystem::GetLayer ( ) const
inline

Definition at line 67 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 67 of file PHG4DetectorGroupSubsystem.h

References m_Layer.

PHParametersContainer* PHG4DetectorGroupSubsystem::GetParamsContainer ( ) const
inline

Definition at line 37 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 37 of file PHG4DetectorGroupSubsystem.h

References m_ParamsContainer.

Referenced by PHG4EICMvtxSubsystem::InitRunSubsystem(), PHG4MvtxSubsystem::InitRunSubsystem(), PHG4InttSubsystem::InitRunSubsystem(), G4JLeicVTXSubsystem::InitRunSubsystem(), PHG4PSTOFSubsystem::InitRunSubsystem(), PHG4InttSubsystem::Print(), G4JLeicVTXSubsystem::Print(), PHG4PSTOFSubsystem::Print(), and UpdateParametersWithMacro().

+ Here is the caller graph for this function:

int PHG4DetectorGroupSubsystem::Init ( PHCompositeNode )
finalvirtual

Called during initialization. Typically this is where you can book histograms, and e.g. register them to Fun4AllServer (so they can be output to file using Fun4AllServer::dumpHistos() method).

Reimplemented from SubsysReco.

Definition at line 49 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 49 of file PHG4DetectorGroupSubsystem.cc

References InitSubsystem(), m_ParamsContainerDefault, m_SaveTopNode, Fun4AllBase::Name(), and PHParametersContainer::set_name().

+ Here is the call graph for this function:

void PHG4DetectorGroupSubsystem::InitializeParameters ( )
protected

Definition at line 439 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 439 of file PHG4DetectorGroupSubsystem.cc

References PHParametersContainer::AddPHParameters(), PHParametersContainer::GetParametersToModify(), m_DefaultDoubleParamsMap, m_DefaultIntegerParamsMap, m_DefaultStringParamsMap, m_LayerSet, m_ParamsContainerDefault, Fun4AllBase::Name(), set_default_int_param(), PHParameters::set_double_param(), PHParameters::set_int_param(), PHParameters::set_string_param(), and SetDefaultParameters().

Referenced by G4JLeicVTXSubsystem::G4JLeicVTXSubsystem(), PHG4EICMvtxSubsystem::PHG4EICMvtxSubsystem(), PHG4InttSubsystem::PHG4InttSubsystem(), PHG4MvtxSubsystem::PHG4MvtxSubsystem(), and PHG4PSTOFSubsystem::PHG4PSTOFSubsystem().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHG4DetectorGroupSubsystem::InitRun ( PHCompositeNode )
finalvirtual

Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number.

Reimplemented from SubsysReco.

Definition at line 57 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 57 of file PHG4DetectorGroupSubsystem.cc

References PHCompositeNode::addNode(), PHParametersContainer::AddPHParameters(), PHParametersContainer::clear(), PHG4Subsystem::DefineMaterials(), PHParametersContainer::FillFrom(), PHNodeIterator::findFirst(), get_filetype(), PHParametersContainer::GetAllParameters(), InitRunSubsystem(), m_BeginRunExecutedFlag, m_ParamsContainer, m_ParamsContainerDefault, m_SuperDetector, Fun4AllBase::Name(), PHParametersContainer::Name(), none, PdbParameterMapContainer::print(), ReadDB(), ReadParamsFromDB(), ReadParamsFromFile(), PHParametersContainer::SaveToNodeTree(), SuperDetector(), PHParametersContainer::UpdateNodeTree(), UpdateParametersWithMacro(), and Fun4AllBase::Verbosity().

+ Here is the call graph for this function:

virtual int PHG4DetectorGroupSubsystem::InitRunSubsystem ( PHCompositeNode )
inlinevirtual

Reimplemented in PHG4PSTOFSubsystem, G4JLeicVTXSubsystem, G4JLeicVTXSubsystem, PHG4InttSubsystem, PHG4EICMvtxSubsystem, and PHG4MvtxSubsystem.

Definition at line 30 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 30 of file PHG4DetectorGroupSubsystem.h

Referenced by InitRun().

+ Here is the caller graph for this function:

virtual int PHG4DetectorGroupSubsystem::InitSubsystem ( PHCompositeNode )
inlinevirtual

Definition at line 34 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 34 of file PHG4DetectorGroupSubsystem.h

Referenced by Init().

+ Here is the caller graph for this function:

void PHG4DetectorGroupSubsystem::OverlapCheck ( const bool  chk = true)
inline

Definition at line 35 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 35 of file PHG4DetectorGroupSubsystem.h

References m_OverlapCheckFlag.

Referenced by Intt(), and Mvtx().

+ Here is the caller graph for this function:

void PHG4DetectorGroupSubsystem::PrintDefaultParams ( ) const
protected

Definition at line 633 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 633 of file PHG4DetectorGroupSubsystem.cc

References m_DefaultDoubleParamsMap, m_DefaultIntegerParamsMap, and m_DefaultStringParamsMap.

Referenced by PHG4InttSubsystem::Print(), G4JLeicVTXSubsystem::Print(), and PHG4PSTOFSubsystem::Print().

+ Here is the caller graph for this function:

void PHG4DetectorGroupSubsystem::PrintMacroParams ( ) const
protected

Definition at line 666 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 666 of file PHG4DetectorGroupSubsystem.cc

References m_MacroDoubleParamsMap, m_MacroIntegerParamsMap, and m_MacroStringParamsMap.

Referenced by PHG4InttSubsystem::Print(), G4JLeicVTXSubsystem::Print(), and PHG4PSTOFSubsystem::Print().

+ Here is the caller graph for this function:

int PHG4DetectorGroupSubsystem::ReadDB ( ) const
inline

Definition at line 47 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 47 of file PHG4DetectorGroupSubsystem.h

References m_UseDBFlag.

Referenced by InitRun().

+ Here is the caller graph for this function:

int PHG4DetectorGroupSubsystem::ReadParamsFromDB ( const std::string &  name,
const int  issuper 
)

Definition at line 505 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 505 of file PHG4DetectorGroupSubsystem.cc

Referenced by InitRun().

+ Here is the caller graph for this function:

int PHG4DetectorGroupSubsystem::ReadParamsFromFile ( const std::string &  name,
const FILE_TYPE  ftyp,
const int  issuper 
)

Definition at line 553 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 553 of file PHG4DetectorGroupSubsystem.cc

References exit(), PHWHERE, root, and xml.

Referenced by InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHG4DetectorGroupSubsystem::SaveParamsToDB ( )

Definition at line 493 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 493 of file PHG4DetectorGroupSubsystem.cc

References m_ParamsContainer, and PHParametersContainer::WriteToDB().

+ Here is the call graph for this function:

int PHG4DetectorGroupSubsystem::SaveParamsToFile ( const FILE_TYPE  ftyp)

Definition at line 528 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 528 of file PHG4DetectorGroupSubsystem.cc

References exit(), m_CalibFileDir, m_ParamsContainer, PHWHERE, root, PHParametersContainer::WriteToFile(), and xml.

+ Here is the call graph for this function:

void PHG4DetectorGroupSubsystem::set_default_double_param ( const int  detid,
const std::string &  name,
const double  dval 
)
protected

Definition at line 385 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 385 of file PHG4DetectorGroupSubsystem.cc

References exit(), m_DefaultDoubleParamsMap, name, and PHWHERE.

Referenced by PHG4EICMvtxSubsystem::SetDefaultParameters(), PHG4MvtxSubsystem::SetDefaultParameters(), PHG4InttSubsystem::SetDefaultParameters(), G4JLeicVTXSubsystem::SetDefaultParameters(), and PHG4PSTOFSubsystem::SetDefaultParameters().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4DetectorGroupSubsystem::set_default_int_param ( const int  detid,
const std::string &  name,
const int  ival 
)
protected

Definition at line 403 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 403 of file PHG4DetectorGroupSubsystem.cc

References exit(), m_DefaultIntegerParamsMap, name, and PHWHERE.

Referenced by InitializeParameters(), PHG4EICMvtxSubsystem::SetDefaultParameters(), PHG4MvtxSubsystem::SetDefaultParameters(), PHG4InttSubsystem::SetDefaultParameters(), G4JLeicVTXSubsystem::SetDefaultParameters(), and PHG4PSTOFSubsystem::SetDefaultParameters().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4DetectorGroupSubsystem::set_default_string_param ( const int  detid,
const std::string &  name,
const std::string &  sval 
)
protected

Definition at line 421 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 421 of file PHG4DetectorGroupSubsystem.cc

References exit(), m_DefaultStringParamsMap, name, and PHWHERE.

Referenced by PHG4EICMvtxSubsystem::SetDefaultParameters(), and PHG4MvtxSubsystem::SetDefaultParameters().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4DetectorGroupSubsystem::set_double_param ( const int  detid,
const std::string &  name,
const double  dval 
)

Definition at line 217 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 217 of file PHG4DetectorGroupSubsystem.cc

References m_DefaultDoubleParamsMap, m_MacroDoubleParamsMap, and name.

Referenced by Intt(), and Mvtx().

+ Here is the caller graph for this function:

void PHG4DetectorGroupSubsystem::set_int_param ( const int  detid,
const std::string &  name,
const int  ival 
)

Definition at line 260 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 260 of file PHG4DetectorGroupSubsystem.cc

References m_DefaultIntegerParamsMap, m_MacroIntegerParamsMap, and name.

Referenced by BlackHole(), Intt(), Mvtx(), SetAbsorberActive(), SetAbsorberTruth(), and SetActive().

+ Here is the caller graph for this function:

void PHG4DetectorGroupSubsystem::set_string_param ( const int  detid,
const std::string &  name,
const std::string &  sval 
)

Definition at line 298 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 298 of file PHG4DetectorGroupSubsystem.cc

References m_DefaultStringParamsMap, m_MacroStringParamsMap, and name.

Referenced by Mvtx().

+ Here is the caller graph for this function:

void PHG4DetectorGroupSubsystem::SetAbsorberActive ( const int  detid,
const int  i 
)

Definition at line 594 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 594 of file PHG4DetectorGroupSubsystem.cc

References set_int_param().

+ Here is the call graph for this function:

void PHG4DetectorGroupSubsystem::SetAbsorberActive ( const int  i = 1)

Definition at line 599 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 599 of file PHG4DetectorGroupSubsystem.cc

References m_LayerSet, and set_int_param().

+ Here is the call graph for this function:

void PHG4DetectorGroupSubsystem::SetAbsorberTruth ( const int  detid,
const int  i 
)

Definition at line 620 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 620 of file PHG4DetectorGroupSubsystem.cc

References set_int_param().

+ Here is the call graph for this function:

void PHG4DetectorGroupSubsystem::SetAbsorberTruth ( const int  i = 1)

Definition at line 625 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 625 of file PHG4DetectorGroupSubsystem.cc

References m_LayerSet, and set_int_param().

+ Here is the call graph for this function:

void PHG4DetectorGroupSubsystem::SetActive ( const int  detid,
const int  i 
)

Definition at line 581 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 581 of file PHG4DetectorGroupSubsystem.cc

References set_int_param().

Referenced by Intt(), Mvtx(), and VTX().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4DetectorGroupSubsystem::SetActive ( const int  i = 1)

Definition at line 586 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 586 of file PHG4DetectorGroupSubsystem.cc

References m_LayerSet, and set_int_param().

+ Here is the call graph for this function:

void PHG4DetectorGroupSubsystem::SetCalibrationFileDir ( const std::string &  calibdir)
inline

Definition at line 54 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 54 of file PHG4DetectorGroupSubsystem.h

References m_CalibFileDir.

virtual void PHG4DetectorGroupSubsystem::SetDefaultParameters ( )
pure virtual

Implemented in PHG4PSTOFSubsystem, G4JLeicVTXSubsystem, G4JLeicVTXSubsystem, PHG4InttSubsystem, PHG4EICMvtxSubsystem, and PHG4MvtxSubsystem.

Referenced by InitializeParameters().

+ Here is the caller graph for this function:

void PHG4DetectorGroupSubsystem::SuperDetector ( const std::string &  name)

Definition at line 165 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 165 of file PHG4DetectorGroupSubsystem.cc

References m_SuperDetector, and name.

Referenced by PSTOF(), and VTX().

+ Here is the caller graph for this function:

const std::string PHG4DetectorGroupSubsystem::SuperDetector ( ) const
inline
void PHG4DetectorGroupSubsystem::UpdateParametersWithMacro ( )

Definition at line 342 of file PHG4DetectorGroupSubsystem.cc.

View newest version in sPHENIX GitHub at line 342 of file PHG4DetectorGroupSubsystem.cc

References PHParametersContainer::GetParametersToModify(), GetParamsContainer(), m_MacroDoubleParamsMap, m_MacroIntegerParamsMap, m_MacroStringParamsMap, PHParameters::set_double_param(), PHParameters::set_int_param(), and PHParameters::set_string_param().

Referenced by InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4DetectorGroupSubsystem::UseCalibFiles ( const FILE_TYPE  ftyp)
inline

Definition at line 49 of file PHG4DetectorGroupSubsystem.h.

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

References m_FileType.

void PHG4DetectorGroupSubsystem::UseDB ( const int  i = 1)
inline

Definition at line 46 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 46 of file PHG4DetectorGroupSubsystem.h

References m_UseDBFlag.

Member Data Documentation

int PHG4DetectorGroupSubsystem::m_BeginRunExecutedFlag
private

Definition at line 95 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 95 of file PHG4DetectorGroupSubsystem.h

Referenced by BeginRunExecuted(), and InitRun().

std::string PHG4DetectorGroupSubsystem::m_CalibFileDir
private

Definition at line 98 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 98 of file PHG4DetectorGroupSubsystem.h

Referenced by SaveParamsToFile(), and SetCalibrationFileDir().

std::map<int, std::map<const std::string, double> > PHG4DetectorGroupSubsystem::m_DefaultDoubleParamsMap
private

Definition at line 106 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 106 of file PHG4DetectorGroupSubsystem.h

Referenced by InitializeParameters(), PrintDefaultParams(), set_default_double_param(), and set_double_param().

std::map<int, std::map<const std::string, int> > PHG4DetectorGroupSubsystem::m_DefaultIntegerParamsMap
private

Definition at line 107 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 107 of file PHG4DetectorGroupSubsystem.h

Referenced by InitializeParameters(), PrintDefaultParams(), set_default_int_param(), and set_int_param().

std::map<int, std::map<const std::string, std::string> > PHG4DetectorGroupSubsystem::m_DefaultStringParamsMap
private

Definition at line 108 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 108 of file PHG4DetectorGroupSubsystem.h

Referenced by InitializeParameters(), PrintDefaultParams(), set_default_string_param(), and set_string_param().

FILE_TYPE PHG4DetectorGroupSubsystem::m_FileType
private

Definition at line 96 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 96 of file PHG4DetectorGroupSubsystem.h

Referenced by get_filetype(), and UseCalibFiles().

int PHG4DetectorGroupSubsystem::m_Layer
private

Definition at line 93 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 93 of file PHG4DetectorGroupSubsystem.h

Referenced by GetLayer().

std::set<int> PHG4DetectorGroupSubsystem::m_LayerSet
private

Definition at line 100 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 100 of file PHG4DetectorGroupSubsystem.h

Referenced by AddDetId(), BlackHole(), GetDetIds(), InitializeParameters(), SetAbsorberActive(), SetAbsorberTruth(), and SetActive().

std::map<int, std::map<const std::string, double> > PHG4DetectorGroupSubsystem::m_MacroDoubleParamsMap
private

Definition at line 102 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 102 of file PHG4DetectorGroupSubsystem.h

Referenced by PrintMacroParams(), set_double_param(), and UpdateParametersWithMacro().

std::map<int, std::map<const std::string, int> > PHG4DetectorGroupSubsystem::m_MacroIntegerParamsMap
private

Definition at line 103 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 103 of file PHG4DetectorGroupSubsystem.h

Referenced by PrintMacroParams(), set_int_param(), and UpdateParametersWithMacro().

std::map<int, std::map<const std::string, std::string> > PHG4DetectorGroupSubsystem::m_MacroStringParamsMap
private

Definition at line 104 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 104 of file PHG4DetectorGroupSubsystem.h

Referenced by PrintMacroParams(), set_string_param(), and UpdateParametersWithMacro().

bool PHG4DetectorGroupSubsystem::m_OverlapCheckFlag
private

Definition at line 92 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 92 of file PHG4DetectorGroupSubsystem.h

Referenced by CheckOverlap(), and OverlapCheck().

PHParametersContainer* PHG4DetectorGroupSubsystem::m_ParamsContainer
private

Definition at line 89 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 89 of file PHG4DetectorGroupSubsystem.h

Referenced by get_double_param(), get_int_param(), get_string_param(), GetParamsContainer(), InitRun(), SaveParamsToDB(), and SaveParamsToFile().

PHParametersContainer* PHG4DetectorGroupSubsystem::m_ParamsContainerDefault
private

Definition at line 90 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 90 of file PHG4DetectorGroupSubsystem.h

Referenced by Init(), InitializeParameters(), and InitRun().

PHCompositeNode* PHG4DetectorGroupSubsystem::m_SaveTopNode
private

Definition at line 91 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 91 of file PHG4DetectorGroupSubsystem.h

Referenced by Init().

std::string PHG4DetectorGroupSubsystem::m_SuperDetector
private

Definition at line 97 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 97 of file PHG4DetectorGroupSubsystem.h

Referenced by InitRun(), and SuperDetector().

int PHG4DetectorGroupSubsystem::m_UseDBFlag
private

Definition at line 94 of file PHG4DetectorGroupSubsystem.h.

View newest version in sPHENIX GitHub at line 94 of file PHG4DetectorGroupSubsystem.h

Referenced by ReadDB(), and UseDB().


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