Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4DetectorSubsystem.h>
Public Types | |
enum | FILE_TYPE { none = 0, xml = 1, root = 2 } |
Public Member Functions | |
~PHG4DetectorSubsystem () 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 |
PHParameters * | GetParams () const |
void | set_double_param (const std::string &name, const double dval) |
double | get_double_param (const std::string &name) const |
void | set_int_param (const std::string &name, const int ival) |
int | get_int_param (const std::string &name) const |
void | set_string_param (const std::string &name, const std::string &sval) |
std::string | get_string_param (const std::string &name) const |
void | UseDB (const int i=1) |
int | ReadDB () const |
void | UseCDB (const std::string &domain) |
FILE_TYPE | get_filetype () const |
void | UseCalibFiles (const FILE_TYPE ftyp) |
int | ReadParamsFromCDB (const std::string &domain) |
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 i=1) |
void | SetAbsorberActive (const int i=1) |
void | SetAbsorberTruth (const int i=1) |
void | BlackHole (const int i=1) |
void | SetSupportActive (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 PHG4Detector * | GetDetector (void) const |
return pointer to created detector object | |
virtual PHG4EventAction * | GetEventAction (void) const |
return pointer to this subsystem event action | |
virtual PHG4SteppingAction * | GetSteppingAction (void) const |
return pointer to this subsystem stepping action | |
virtual PHG4TrackingAction * | GetTrackingAction (void) const |
return pointer to this subsystem stepping action | |
virtual PHG4DisplayAction * | GetDisplayAction () const |
return pointer to this subsystem display setting | |
virtual PHG4StackingAction * | GetStackingAction () const |
void | OverlapCheck (const bool chk=true) |
bool | CheckOverlap () const |
void | SetMotherSubsystem (PHG4Subsystem *subsys) |
PHG4Subsystem * | GetMotherSubsystem () 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 | |
PHG4DetectorSubsystem (const std::string &name="GenericSubsystem", const int lyr=0) | |
void | InitializeParameters () |
void | set_default_double_param (const std::string &name, const double dval) |
void | set_default_int_param (const std::string &name, const int ival) |
void | set_default_string_param (const std::string &name, const std::string &sval) |
int | BeginRunExecuted () const |
Private Attributes | |
PHParameters * | params = nullptr |
PHParametersContainer * | paramscontainer = nullptr |
PHCompositeNode * | savetopNode = nullptr |
bool | overlapcheck = false |
int | layer = -1 |
int | usedb = 0 |
int | beginrunexecuted = 0 |
FILE_TYPE | filetype = PHG4DetectorSubsystem::none |
std::string | superdetector = "NONE" |
std::string | calibfiledir = "./" |
std::string | m_Domain |
std::map< const std::string, double > | dparams |
std::map< const std::string, int > | iparams |
std::map< const std::string, std::string > | cparams |
std::map< const std::string, double > | default_double |
std::map< const std::string, int > | default_int |
std::map< const std::string, std::string > | default_string |
Definition at line 15 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 15 of file PHG4DetectorSubsystem.h
Definition at line 18 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 18 of file PHG4DetectorSubsystem.h
|
inlineoverride |
Definition at line 25 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4DetectorSubsystem.h
|
protected |
Definition at line 21 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 21 of file PHG4DetectorSubsystem.cc
References Fun4AllBase::Name(), and to_string().
|
inlineprotected |
Definition at line 86 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 86 of file PHG4DetectorSubsystem.h
References beginrunexecuted.
Referenced by BeamLineMagnetSubsystem::Print(), PHG4BeamlineMagnetSubsystem::Print(), PHG4CylinderSubsystem::Print(), PHG4SpacalPrototype4Subsystem::Print(), and PHG4SpacalPrototypeSubsystem::Print().
void PHG4DetectorSubsystem::BlackHole | ( | const int | i = 1 | ) |
Definition at line 403 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 403 of file PHG4DetectorSubsystem.cc
Referenced by BeamLineDefineBeamPipe(), BeamLineDefineMagnets(), BlackHole(), Fun4All_G4_Example02(), Fun4All_G4_Example03(), Fun4All_G4_Momentum(), Fun4All_G4_Momentum_Projection(), Fun4All_G4_Momentum_Projection_Calorimeters(), Fun4All_G4_Momentum_Projection_Detectors(), Fun4All_G4_Prototype2(), Fun4All_G4_Prototype3(), Fun4All_G4_Prototype4(), Fun4All_G4_TPC(), Fun4All_G4_W(), G4Setup(), and PlugDoor().
|
inline |
Definition at line 34 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 34 of file PHG4DetectorSubsystem.h
References overlapcheck.
Referenced by PHG4EPDSubsystem::InitRunSubsystem(), PHG4OuterHcalSubsystem::InitRunSubsystem(), PHG4OHCalSubsystem::InitRunSubsystem(), PHG4InnerHcalSubsystem::InitRunSubsystem(), PHG4ZDCSubsystem::InitRunSubsystem(), PHG4SpacalPrototype4Subsystem::InitRunSubsystem(), PHG4IHCalSubsystem::InitRunSubsystem(), PHG4TpcSubsystem::InitRunSubsystem(), PHG4Prototype2InnerHcalSubsystem::InitRunSubsystem(), PHG4Prototype2OuterHcalSubsystem::InitRunSubsystem(), PHG4Prototype3InnerHcalSubsystem::InitRunSubsystem(), BeamLineMagnetSubsystem::InitRunSubsystem(), PHG4BlockSubsystem::InitRunSubsystem(), PHG4ConeSubsystem::InitRunSubsystem(), PHG4CylinderSubsystem::InitRunSubsystem(), PHG4SpacalPrototypeSubsystem::InitRunSubsystem(), PHG4TpcEndCapSubsystem::InitRunSubsystem(), G4Example02Subsystem::InitRunSubsystem(), PHG4GDMLSubsystem::InitRunSubsystem(), PHG4MicromegasSubsystem::InitRunSubsystem(), G4Example03Subsystem::InitRunSubsystem(), PHG4SpacalSubsystem::InitRunSubsystem(), and PHG4BbcSubsystem::InitRunSubsystem().
double PHG4DetectorSubsystem::get_double_param | ( | const std::string & | name | ) | const |
Definition at line 166 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 166 of file PHG4DetectorSubsystem.cc
References PHParameters::get_double_param(), and params.
Referenced by HCalInner(), HCalOuter(), PHG4CylinderSubsystem::InitRunSubsystem(), PHG4BlockSubsystem::InitRunSubsystem(), and PHG4ConeSubsystem::Set_eta_range().
|
inline |
Definition at line 54 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4DetectorSubsystem.h
References filetype.
Referenced by InitRun().
int PHG4DetectorSubsystem::get_int_param | ( | const std::string & | name | ) | const |
Definition at line 186 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 186 of file PHG4DetectorSubsystem.cc
References PHParameters::get_int_param(), and params.
Referenced by PHG4EPDSubsystem::InitRunSubsystem(), PHG4OuterHcalSubsystem::InitRunSubsystem(), PHG4OHCalSubsystem::InitRunSubsystem(), PHG4ZDCSubsystem::InitRunSubsystem(), PHG4SpacalPrototype4Subsystem::InitRunSubsystem(), PHG4IHCalSubsystem::InitRunSubsystem(), PHG4InnerHcalSubsystem::InitRunSubsystem(), PHG4Prototype2InnerHcalSubsystem::InitRunSubsystem(), PHG4Prototype2OuterHcalSubsystem::InitRunSubsystem(), PHG4Prototype3InnerHcalSubsystem::InitRunSubsystem(), BeamLineMagnetSubsystem::InitRunSubsystem(), PHG4TpcSubsystem::InitRunSubsystem(), PHG4ConeSubsystem::InitRunSubsystem(), PHG4CylinderSubsystem::InitRunSubsystem(), PHG4SpacalPrototypeSubsystem::InitRunSubsystem(), PHG4BlockSubsystem::InitRunSubsystem(), PHG4TpcEndCapSubsystem::InitRunSubsystem(), G4Example02Subsystem::InitRunSubsystem(), PHG4MicromegasSubsystem::InitRunSubsystem(), G4Example03Subsystem::InitRunSubsystem(), PHG4SpacalSubsystem::InitRunSubsystem(), and PHG4BbcSubsystem::InitRunSubsystem().
std::string PHG4DetectorSubsystem::get_string_param | ( | const std::string & | name | ) | const |
Definition at line 207 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 207 of file PHG4DetectorSubsystem.cc
References PHParameters::get_string_param(), and params.
Referenced by PHG4OHCalSubsystem::InitRunSubsystem(), and PHG4CylinderSubsystem::InitRunSubsystem().
|
inline |
Definition at line 75 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 75 of file PHG4DetectorSubsystem.h
References layer.
Referenced by PHG4ZDCSubsystem::InitRunSubsystem(), PHG4BeamlineMagnetSubsystem::InitRunSubsystem(), BeamLineMagnetSubsystem::InitRunSubsystem(), PHG4ConeSubsystem::InitRunSubsystem(), PHG4CylinderSubsystem::InitRunSubsystem(), PHG4BlockSubsystem::InitRunSubsystem(), PHG4MicromegasSubsystem::InitRunSubsystem(), and PHG4SpacalSubsystem::InitRunSubsystem().
|
inline |
Definition at line 36 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4DetectorSubsystem.h
References params.
Referenced by PHG4EPDSubsystem::InitRunSubsystem(), PHG4OuterHcalSubsystem::InitRunSubsystem(), PHG4OHCalSubsystem::InitRunSubsystem(), PHG4ZDCSubsystem::InitRunSubsystem(), PHG4SpacalPrototype4Subsystem::InitRunSubsystem(), PHG4IHCalSubsystem::InitRunSubsystem(), PHG4InnerHcalSubsystem::InitRunSubsystem(), PHG4Prototype2OuterHcalSubsystem::InitRunSubsystem(), PHG4Prototype3InnerHcalSubsystem::InitRunSubsystem(), PHG4BeamlineMagnetSubsystem::InitRunSubsystem(), PHG4TpcSubsystem::InitRunSubsystem(), BeamLineMagnetSubsystem::InitRunSubsystem(), PHG4Prototype2InnerHcalSubsystem::InitRunSubsystem(), PHG4SpacalPrototypeSubsystem::InitRunSubsystem(), PHG4ConeSubsystem::InitRunSubsystem(), PHG4CylinderSubsystem::InitRunSubsystem(), PHG4BlockSubsystem::InitRunSubsystem(), PHG4TpcEndCapSubsystem::InitRunSubsystem(), PHG4GDMLSubsystem::InitRunSubsystem(), G4Example02Subsystem::InitRunSubsystem(), PHG4MicromegasSubsystem::InitRunSubsystem(), G4Example03Subsystem::InitRunSubsystem(), PHG4SpacalSubsystem::InitRunSubsystem(), PHG4BbcSubsystem::InitRunSubsystem(), PHG4OuterHcalSubsystem::Print(), PHG4OHCalSubsystem::Print(), PHG4IHCalSubsystem::Print(), PHG4InnerHcalSubsystem::Print(), PHG4Prototype2OuterHcalSubsystem::Print(), PHG4Prototype3InnerHcalSubsystem::Print(), PHG4Prototype2InnerHcalSubsystem::Print(), BeamLineMagnetSubsystem::Print(), PHG4TpcSubsystem::Print(), PHG4BeamlineMagnetSubsystem::Print(), PHG4CylinderSubsystem::Print(), PHG4SpacalPrototype4Subsystem::Print(), PHG4SpacalPrototypeSubsystem::Print(), PHG4GDMLSubsystem::Print(), and PHG4BbcSubsystem::Print().
|
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 31 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 31 of file PHG4DetectorSubsystem.cc
References InitSubsystem(), Fun4AllBase::Name(), params, savetopNode, and PHParameters::set_name().
|
protected |
Definition at line 274 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 274 of file PHG4DetectorSubsystem.cc
References default_double, default_int, default_string, params, set_default_int_param(), PHParameters::set_double_param(), PHParameters::set_int_param(), PHParameters::set_string_param(), and SetDefaultParameters().
Referenced by BeamLineMagnetSubsystem::BeamLineMagnetSubsystem(), G4Example02Subsystem::G4Example02Subsystem(), G4Example03Subsystem::G4Example03Subsystem(), PHG4BbcSubsystem::PHG4BbcSubsystem(), PHG4BeamlineMagnetSubsystem::PHG4BeamlineMagnetSubsystem(), PHG4BlockSubsystem::PHG4BlockSubsystem(), PHG4ConeSubsystem::PHG4ConeSubsystem(), PHG4CylinderSubsystem::PHG4CylinderSubsystem(), PHG4EPDSubsystem::PHG4EPDSubsystem(), PHG4GDMLSubsystem::PHG4GDMLSubsystem(), PHG4IHCalSubsystem::PHG4IHCalSubsystem(), PHG4InnerHcalSubsystem::PHG4InnerHcalSubsystem(), PHG4MicromegasSubsystem::PHG4MicromegasSubsystem(), PHG4OHCalSubsystem::PHG4OHCalSubsystem(), PHG4OuterHcalSubsystem::PHG4OuterHcalSubsystem(), PHG4Prototype2InnerHcalSubsystem::PHG4Prototype2InnerHcalSubsystem(), PHG4Prototype2OuterHcalSubsystem::PHG4Prototype2OuterHcalSubsystem(), PHG4Prototype3InnerHcalSubsystem::PHG4Prototype3InnerHcalSubsystem(), PHG4SpacalPrototype4Subsystem::PHG4SpacalPrototype4Subsystem(), PHG4SpacalPrototypeSubsystem::PHG4SpacalPrototypeSubsystem(), PHG4SpacalSubsystem::PHG4SpacalSubsystem(), PHG4TpcEndCapSubsystem::PHG4TpcEndCapSubsystem(), PHG4TpcSubsystem::PHG4TpcSubsystem(), and PHG4ZDCSubsystem::PHG4ZDCSubsystem().
|
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 39 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 39 of file PHG4DetectorSubsystem.cc
References PHCompositeNode::addNode(), PHParametersContainer::AddPHParameters(), beginrunexecuted, PHG4Subsystem::DefineMaterials(), PHParameters::FillFrom(), PHNodeIterator::findFirst(), get_filetype(), InitRunSubsystem(), layer, m_Domain, Fun4AllBase::Name(), PHParameters::Name(), none, params, paramscontainer, PdbParameterMapContainer::print(), ReadDB(), ReadParamsFromCDB(), ReadParamsFromDB(), ReadParamsFromFile(), PHParameters::SaveToNodeTree(), SuperDetector(), superdetector, PHParameters::UpdateNodeTree(), UpdateParametersWithMacro(), and Fun4AllBase::Verbosity().
|
inlinevirtual |
Reimplemented in PHG4BbcSubsystem, PHG4SpacalSubsystem, G4Example03Subsystem, PHG4MicromegasSubsystem, PHG4GDMLSubsystem, G4Example02Subsystem, PHG4TpcEndCapSubsystem, PHG4BlockSubsystem, PHG4ConeSubsystem, PHG4CylinderSubsystem, PHG4SpacalPrototypeSubsystem, BeamLineMagnetSubsystem, PHG4BeamlineMagnetSubsystem, PHG4TpcSubsystem, PHG4Prototype2InnerHcalSubsystem, PHG4Prototype2OuterHcalSubsystem, PHG4Prototype3InnerHcalSubsystem, PHG4InnerHcalSubsystem, PHG4ZDCSubsystem, PHG4IHCalSubsystem, PHG4SpacalPrototype4Subsystem, PHG4OuterHcalSubsystem, PHG4OHCalSubsystem, and PHG4EPDSubsystem.
Definition at line 30 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4DetectorSubsystem.h
Referenced by InitRun().
|
inlinevirtual |
Definition at line 31 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4DetectorSubsystem.h
Referenced by Init().
|
inline |
Definition at line 33 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 33 of file PHG4DetectorSubsystem.h
References overlapcheck.
Referenced by BeamLineDefineBeamPipe(), BeamLineDefineMagnets(), BlackHole(), CEmc_1DProjectiveSpacal(), CEmc_2DProjectiveSpacal(), ConstructGeometry(), DIRCSetup(), EPD(), Fun4All_G4_Prototype2(), Fun4All_G4_Prototype3(), Fun4All_G4_Prototype4(), Fun4All_G4_TPC(), Fun4All_G4_W(), G4Setup(), HCalInner(), HCalOuter(), IRSetup(), Magnet(), make_piston(), Mbd(), Pipe(), PlugDoor(), TPC(), TPC_Endcaps(), and ZDCSetup().
|
inline |
Definition at line 47 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4DetectorSubsystem.h
References usedb.
Referenced by InitRun().
int PHG4DetectorSubsystem::ReadParamsFromCDB | ( | const std::string & | domain | ) |
Definition at line 413 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 413 of file PHG4DetectorSubsystem.cc
References params, and PHParameters::ReadFromCDB().
Referenced by InitRun().
int PHG4DetectorSubsystem::ReadParamsFromDB | ( | const std::string & | name, |
const int | issuper | ||
) |
Definition at line 316 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 316 of file PHG4DetectorSubsystem.cc
References layer, params, and PHParameters::ReadFromDB().
Referenced by InitRun().
int PHG4DetectorSubsystem::ReadParamsFromFile | ( | const std::string & | name, |
const FILE_TYPE | ftyp, | ||
const int | issuper | ||
) |
Definition at line 365 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 365 of file PHG4DetectorSubsystem.cc
References calibfiledir, extension, layer, params, PHWHERE, PHParameters::ReadFromFile(), root, and xml.
Referenced by InitRun().
int PHG4DetectorSubsystem::SaveParamsToDB | ( | ) |
Definition at line 298 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 298 of file PHG4DetectorSubsystem.cc
References params, paramscontainer, PHParametersContainer::WriteToDB(), and PHParameters::WriteToDB().
int PHG4DetectorSubsystem::SaveParamsToFile | ( | const FILE_TYPE | ftyp | ) |
Definition at line 334 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 334 of file PHG4DetectorSubsystem.cc
References calibfiledir, extension, params, paramscontainer, PHWHERE, root, PHParametersContainer::WriteToFile(), PHParameters::WriteToFile(), and xml.
|
protected |
Definition at line 229 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 229 of file PHG4DetectorSubsystem.cc
References default_double, and perf_headwind::name.
Referenced by PHG4EPDSubsystem::SetDefaultParameters(), PHG4ZDCSubsystem::SetDefaultParameters(), PHG4BeamlineMagnetSubsystem::SetDefaultParameters(), PHG4SpacalPrototype4Subsystem::SetDefaultParameters(), PHG4Prototype2InnerHcalSubsystem::SetDefaultParameters(), PHG4Prototype2OuterHcalSubsystem::SetDefaultParameters(), PHG4Prototype3InnerHcalSubsystem::SetDefaultParameters(), PHG4OuterHcalSubsystem::SetDefaultParameters(), PHG4InnerHcalSubsystem::SetDefaultParameters(), PHG4IHCalSubsystem::SetDefaultParameters(), PHG4SpacalPrototypeSubsystem::SetDefaultParameters(), PHG4TpcSubsystem::SetDefaultParameters(), BeamLineMagnetSubsystem::SetDefaultParameters(), PHG4OHCalSubsystem::SetDefaultParameters(), PHG4GDMLSubsystem::SetDefaultParameters(), G4Example02Subsystem::SetDefaultParameters(), PHG4TpcEndCapSubsystem::SetDefaultParameters(), PHG4BlockSubsystem::SetDefaultParameters(), PHG4SpacalSubsystem::SetDefaultParameters(), PHG4CylinderSubsystem::SetDefaultParameters(), G4Example03Subsystem::SetDefaultParameters(), and PHG4ConeSubsystem::SetDefaultParameters().
|
protected |
Definition at line 244 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 244 of file PHG4DetectorSubsystem.cc
References default_int, and perf_headwind::name.
Referenced by InitializeParameters(), PHG4BeamlineMagnetSubsystem::SetDefaultParameters(), PHG4SpacalPrototype4Subsystem::SetDefaultParameters(), PHG4Prototype3InnerHcalSubsystem::SetDefaultParameters(), PHG4OuterHcalSubsystem::SetDefaultParameters(), PHG4Prototype2InnerHcalSubsystem::SetDefaultParameters(), PHG4Prototype2OuterHcalSubsystem::SetDefaultParameters(), PHG4IHCalSubsystem::SetDefaultParameters(), PHG4InnerHcalSubsystem::SetDefaultParameters(), PHG4SpacalPrototypeSubsystem::SetDefaultParameters(), PHG4TpcSubsystem::SetDefaultParameters(), PHG4OHCalSubsystem::SetDefaultParameters(), PHG4GDMLSubsystem::SetDefaultParameters(), PHG4TpcEndCapSubsystem::SetDefaultParameters(), PHG4BlockSubsystem::SetDefaultParameters(), PHG4SpacalSubsystem::SetDefaultParameters(), and PHG4CylinderSubsystem::SetDefaultParameters().
|
protected |
Definition at line 259 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 259 of file PHG4DetectorSubsystem.cc
References default_string, and perf_headwind::name.
Referenced by PHG4BeamlineMagnetSubsystem::SetDefaultParameters(), PHG4OuterHcalSubsystem::SetDefaultParameters(), PHG4Prototype2OuterHcalSubsystem::SetDefaultParameters(), PHG4Prototype3InnerHcalSubsystem::SetDefaultParameters(), PHG4IHCalSubsystem::SetDefaultParameters(), PHG4InnerHcalSubsystem::SetDefaultParameters(), PHG4TpcSubsystem::SetDefaultParameters(), BeamLineMagnetSubsystem::SetDefaultParameters(), PHG4OHCalSubsystem::SetDefaultParameters(), PHG4GDMLSubsystem::SetDefaultParameters(), G4Example02Subsystem::SetDefaultParameters(), PHG4TpcEndCapSubsystem::SetDefaultParameters(), PHG4BlockSubsystem::SetDefaultParameters(), PHG4SpacalSubsystem::SetDefaultParameters(), PHG4CylinderSubsystem::SetDefaultParameters(), G4Example03Subsystem::SetDefaultParameters(), and PHG4ConeSubsystem::SetDefaultParameters().
void PHG4DetectorSubsystem::set_double_param | ( | const std::string & | name, |
const double | dval | ||
) |
Definition at line 150 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 150 of file PHG4DetectorSubsystem.cc
References default_double, dparams, and perf_headwind::name.
Referenced by BeamLineDefineBeamPipe(), BeamLineDefineMagnets(), BlackHole(), CEmc_1DProjectiveSpacal(), CEmc_2DProjectiveSpacal(), CEmcAlbedo(), ConstructGeometry(), DIRCSetup(), Fun4All_G4_block(), Fun4All_G4_Calos(), Fun4All_G4_Cylinder(), Fun4All_G4_Example02(), Fun4All_G4_Example03(), Fun4All_G4_IonGun(), Fun4All_G4_LeadBrick(), Fun4All_G4_Momentum(), Fun4All_G4_Momentum_Projection(), Fun4All_G4_Momentum_Projection_Calorimeters(), Fun4All_G4_Momentum_Projection_Detectors(), Fun4All_G4_Prototype2(), Fun4All_G4_Prototype3(), Fun4All_G4_Prototype4(), Fun4All_G4_TPC(), Fun4All_G4_W(), G4Setup(), HCalInner(), HCalInner_SupportRing(), HCalOuter(), IRSetup(), Magnet(), make_piston(), Pipe(), PlugDoor(), PHG4ConeSubsystem::Set_eta_range(), PHG4Prototype2InnerHcalSubsystem::SetLightCorrection(), PHG4Prototype3InnerHcalSubsystem::SetLightCorrection(), PHG4OHCalSubsystem::SetLightCorrection(), PHG4Prototype2OuterHcalSubsystem::SetLightCorrection(), PHG4OuterHcalSubsystem::SetLightCorrection(), PHG4InnerHcalSubsystem::SetLightCorrection(), PHG4IHCalSubsystem::SetLightCorrection(), PHG4ConeSubsystem::SetPhi(), PHG4ConeSubsystem::SetPlace(), PHG4ConeSubsystem::SetPlaceZ(), PHG4ConeSubsystem::SetR1(), PHG4ConeSubsystem::SetR2(), PHG4ConeSubsystem::SetZlength(), PHG4ConeSubsystem::SetZRot(), Svtx(), TPC(), and ZDCSetup().
void PHG4DetectorSubsystem::set_int_param | ( | const std::string & | name, |
const int | ival | ||
) |
Definition at line 171 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 171 of file PHG4DetectorSubsystem.cc
References default_int, iparams, and perf_headwind::name.
Referenced by CEmc_2DProjectiveSpacal(), ConstructGeometry(), DIRCSetup(), Fun4All_G4_IonGun(), Fun4All_G4_Prototype3(), Fun4All_G4_Prototype4(), Fun4All_G4_W(), G4Setup(), HCalInner(), HCalInner_SupportRing(), HCalOuter(), IRSetup(), Magnet(), make_piston(), Pipe(), Svtx(), and TPC().
void PHG4DetectorSubsystem::set_string_param | ( | const std::string & | name, |
const std::string & | sval | ||
) |
Definition at line 191 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 191 of file PHG4DetectorSubsystem.cc
References cparams, default_string, and perf_headwind::name.
Referenced by BeamLineDefineBeamPipe(), BeamLineDefineMagnets(), CEmc_1DProjectiveSpacal(), CEmc_2DProjectiveSpacal(), CEmcAlbedo(), ConstructGeometry(), DIRCSetup(), Fun4All_G4_block(), Fun4All_G4_Calos(), Fun4All_G4_Cylinder(), Fun4All_G4_Example02(), Fun4All_G4_Example03(), Fun4All_G4_IonGun(), Fun4All_G4_LeadBrick(), Fun4All_G4_Momentum(), Fun4All_G4_Momentum_Projection(), Fun4All_G4_Momentum_Projection_Calorimeters(), Fun4All_G4_Momentum_Projection_Detectors(), Fun4All_G4_Prototype2(), Fun4All_G4_Prototype3(), Fun4All_G4_Prototype4(), Fun4All_G4_W(), G4Setup(), HCalInner(), HCalInner_SupportRing(), HCalOuter(), IRSetup(), Magnet(), make_piston(), Pipe(), PlugDoor(), PHG4ConeSubsystem::SetMaterial(), and Svtx().
void PHG4DetectorSubsystem::SetAbsorberActive | ( | const int | i = 1 | ) |
Definition at line 393 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 393 of file PHG4DetectorSubsystem.cc
Referenced by BeamLineDefineMagnets(), CEmc_1DProjectiveSpacal(), CEmc_2DProjectiveSpacal(), Fun4All_G4_Prototype2(), Fun4All_G4_Prototype3(), Fun4All_G4_Prototype4(), Fun4All_G4_TPC(), HCalInner(), HCalOuter(), TPC(), and ZDCSetup().
void PHG4DetectorSubsystem::SetAbsorberTruth | ( | const int | i = 1 | ) |
Definition at line 408 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 408 of file PHG4DetectorSubsystem.cc
Referenced by Fun4All_G4_Prototype2(), Fun4All_G4_Prototype3(), and Fun4All_G4_Prototype4().
void PHG4DetectorSubsystem::SetActive | ( | const int | i = 1 | ) |
Definition at line 388 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 388 of file PHG4DetectorSubsystem.cc
Referenced by BeamLineDefineBeamPipe(), BeamLineDefineMagnets(), BlackHole(), CEmc_1DProjectiveSpacal(), CEmc_2DProjectiveSpacal(), CEmcAlbedo(), ConstructGeometry(), DIRCSetup(), EPD(), Fun4All_G4_block(), Fun4All_G4_Calos(), Fun4All_G4_Cylinder(), Fun4All_G4_Example02(), Fun4All_G4_Example03(), Fun4All_G4_IonGun(), Fun4All_G4_LeadBrick(), Fun4All_G4_Momentum(), Fun4All_G4_Momentum_Projection(), Fun4All_G4_Momentum_Projection_Calorimeters(), Fun4All_G4_Momentum_Projection_Detectors(), Fun4All_G4_Prototype2(), Fun4All_G4_Prototype3(), Fun4All_G4_Prototype4(), Fun4All_G4_TPC(), Fun4All_G4_W(), G4Setup(), HCalInner(), HCalInner_SupportRing(), HCalOuter(), IRSetup(), Magnet(), make_piston(), Mbd(), Pipe(), PlugDoor(), Svtx(), TPC(), TPC_Endcaps(), and ZDCSetup().
|
inline |
Definition at line 62 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 62 of file PHG4DetectorSubsystem.h
References calibfiledir.
Referenced by CEmc_2DProjectiveSpacal(), Fun4All_G4_Prototype2(), Fun4All_G4_Prototype3(), and Fun4All_G4_Prototype4().
|
pure virtual |
Implemented in PHG4ConeSubsystem, G4Example03Subsystem, PHG4BbcSubsystem, PHG4CylinderSubsystem, PHG4SpacalSubsystem, PHG4MicromegasSubsystem, PHG4BlockSubsystem, PHG4TpcEndCapSubsystem, G4Example02Subsystem, PHG4GDMLSubsystem, BeamLineMagnetSubsystem, PHG4OHCalSubsystem, PHG4TpcSubsystem, PHG4SpacalPrototypeSubsystem, PHG4InnerHcalSubsystem, PHG4IHCalSubsystem, PHG4OuterHcalSubsystem, PHG4Prototype2InnerHcalSubsystem, PHG4Prototype2OuterHcalSubsystem, PHG4Prototype3InnerHcalSubsystem, PHG4SpacalPrototype4Subsystem, PHG4BeamlineMagnetSubsystem, PHG4ZDCSubsystem, and PHG4EPDSubsystem.
Referenced by InitializeParameters().
void PHG4DetectorSubsystem::SetSupportActive | ( | const int | i = 1 | ) |
Definition at line 398 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 398 of file PHG4DetectorSubsystem.cc
Referenced by Mbd(), and ZDCSetup().
void PHG4DetectorSubsystem::SuperDetector | ( | const std::string & | name | ) |
Definition at line 144 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 144 of file PHG4DetectorSubsystem.cc
References perf_headwind::name, and superdetector.
Referenced by BeamLineDefineBeamPipe(), BeamLineDefineMagnets(), BlackHole(), CEmc_1DProjectiveSpacal(), CEmc_2DProjectiveSpacal(), CEmcAlbedo(), ConstructGeometry(), DIRCSetup(), EPD(), Fun4All_G4_Calos(), Fun4All_G4_Cylinder(), Fun4All_G4_IonGun(), Fun4All_G4_LeadBrick(), Fun4All_G4_Momentum(), Fun4All_G4_Momentum_Projection(), Fun4All_G4_Momentum_Projection_Calorimeters(), Fun4All_G4_Momentum_Projection_Detectors(), Fun4All_G4_Prototype2(), Fun4All_G4_Prototype3(), Fun4All_G4_Prototype4(), Fun4All_G4_TPC(), Fun4All_G4_W(), G4Setup(), HCalInner(), HCalInner_SupportRing(), HCalOuter(), Magnet(), make_piston(), Mbd(), Pipe(), PlugDoor(), Svtx(), TPC(), TPC_Endcaps(), and ZDCSetup().
|
inline |
Definition at line 73 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 73 of file PHG4DetectorSubsystem.h
References superdetector.
Referenced by InitRun(), PHG4EPDSubsystem::InitRunSubsystem(), PHG4OuterHcalSubsystem::InitRunSubsystem(), PHG4OHCalSubsystem::InitRunSubsystem(), PHG4SpacalPrototype4Subsystem::InitRunSubsystem(), PHG4ZDCSubsystem::InitRunSubsystem(), PHG4IHCalSubsystem::InitRunSubsystem(), PHG4InnerHcalSubsystem::InitRunSubsystem(), PHG4TpcSubsystem::InitRunSubsystem(), PHG4Prototype2InnerHcalSubsystem::InitRunSubsystem(), PHG4Prototype2OuterHcalSubsystem::InitRunSubsystem(), PHG4Prototype3InnerHcalSubsystem::InitRunSubsystem(), BeamLineMagnetSubsystem::InitRunSubsystem(), PHG4BlockSubsystem::InitRunSubsystem(), PHG4ConeSubsystem::InitRunSubsystem(), PHG4SpacalPrototypeSubsystem::InitRunSubsystem(), PHG4CylinderSubsystem::InitRunSubsystem(), PHG4TpcEndCapSubsystem::InitRunSubsystem(), PHG4MicromegasSubsystem::InitRunSubsystem(), PHG4SpacalSubsystem::InitRunSubsystem(), PHG4BbcSubsystem::InitRunSubsystem(), and PHG4MicromegasSubsystem::PHG4MicromegasSubsystem().
void PHG4DetectorSubsystem::UpdateParametersWithMacro | ( | ) |
Definition at line 212 of file PHG4DetectorSubsystem.cc.
View newest version in sPHENIX GitHub at line 212 of file PHG4DetectorSubsystem.cc
References cparams, dparams, iparams, params, PHParameters::set_double_param(), PHParameters::set_int_param(), and PHParameters::set_string_param().
Referenced by InitRun().
|
inline |
Definition at line 56 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 56 of file PHG4DetectorSubsystem.h
References filetype.
Referenced by CEmc_2DProjectiveSpacal(), Fun4All_G4_Prototype2(), Fun4All_G4_Prototype3(), and Fun4All_G4_Prototype4().
|
inline |
Definition at line 48 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4DetectorSubsystem.h
|
inline |
Definition at line 46 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4DetectorSubsystem.h
|
private |
Definition at line 95 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 95 of file PHG4DetectorSubsystem.h
Referenced by BeginRunExecuted(), and InitRun().
|
private |
Definition at line 98 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 98 of file PHG4DetectorSubsystem.h
Referenced by ReadParamsFromFile(), SaveParamsToFile(), and SetCalibrationFileDir().
|
private |
Definition at line 103 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 103 of file PHG4DetectorSubsystem.h
Referenced by set_string_param(), and UpdateParametersWithMacro().
|
private |
Definition at line 105 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 105 of file PHG4DetectorSubsystem.h
Referenced by InitializeParameters(), set_default_double_param(), and set_double_param().
|
private |
Definition at line 106 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 106 of file PHG4DetectorSubsystem.h
Referenced by InitializeParameters(), set_default_int_param(), and set_int_param().
|
private |
Definition at line 107 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 107 of file PHG4DetectorSubsystem.h
Referenced by InitializeParameters(), set_default_string_param(), and set_string_param().
|
private |
Definition at line 101 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 101 of file PHG4DetectorSubsystem.h
Referenced by set_double_param(), and UpdateParametersWithMacro().
|
private |
Definition at line 96 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 96 of file PHG4DetectorSubsystem.h
Referenced by get_filetype(), and UseCalibFiles().
|
private |
Definition at line 102 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 102 of file PHG4DetectorSubsystem.h
Referenced by BlackHole(), set_int_param(), SetAbsorberActive(), SetAbsorberTruth(), SetActive(), SetSupportActive(), and UpdateParametersWithMacro().
|
private |
Definition at line 93 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 93 of file PHG4DetectorSubsystem.h
Referenced by GetLayer(), InitRun(), ReadParamsFromDB(), and ReadParamsFromFile().
|
private |
Definition at line 99 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 99 of file PHG4DetectorSubsystem.h
|
private |
Definition at line 92 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 92 of file PHG4DetectorSubsystem.h
Referenced by CheckOverlap(), and OverlapCheck().
|
private |
Definition at line 89 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 89 of file PHG4DetectorSubsystem.h
Referenced by get_double_param(), get_int_param(), get_string_param(), GetParams(), Init(), InitializeParameters(), InitRun(), ReadParamsFromCDB(), ReadParamsFromDB(), ReadParamsFromFile(), SaveParamsToDB(), SaveParamsToFile(), and UpdateParametersWithMacro().
|
private |
Definition at line 90 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 90 of file PHG4DetectorSubsystem.h
Referenced by InitRun(), SaveParamsToDB(), and SaveParamsToFile().
|
private |
Definition at line 91 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 91 of file PHG4DetectorSubsystem.h
Referenced by Init().
|
private |
Definition at line 97 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 97 of file PHG4DetectorSubsystem.h
Referenced by InitRun(), and SuperDetector().
|
private |
Definition at line 94 of file PHG4DetectorSubsystem.h.
View newest version in sPHENIX GitHub at line 94 of file PHG4DetectorSubsystem.h