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

Runs G4 as a subsystem. More...

#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4main/PHG4Reco.h>

+ Inheritance diagram for PHG4Reco:
+ Collaboration diagram for PHG4Reco:

Public Member Functions

 PHG4Reco (const std::string &name="PHG4RECO")
 constructor
 
 ~PHG4Reco () override
 destructor
 
int Init (PHCompositeNode *) override
 full initialization
 
int InitRun (PHCompositeNode *topNode) override
 
int process_event (PHCompositeNode *) override
 event processing method
 
int ResetEvent (PHCompositeNode *) override
 Clean up after each event.
 
void Print (const std::string &what=std::string()) const override
 print info
 
void registerSubsystem (PHG4Subsystem *subsystem)
 register subsystem
 
int ApplyCommand (const std::string &cmd)
 interface to G4 cmd interpreter
 
int StartGui ()
 start the gui
 
int InitField (PHCompositeNode *topNode)
 
void set_field (const float tesla)
 set default magnetic field strength with a constant magnetic field. Only valid if set_field_map() is not used. If available, Field map setting on DST take higher priority.
 
void set_field_map (const std::string &fmap, const PHFieldConfig::FieldConfigTypes dim)
 
void set_field_rescale (const float rescale)
 set default scaling factor for input magnetic field map. If available, Field map setting on DST take higher priority.
 
void set_decayer_active (bool b)
 
void set_force_decay (EDecayType force_decay_type)
 
void save_DST_geometry (bool b)
 Save geometry from Geant4 to DST.
 
void SetWorldSizeX (const double sx)
 
void SetWorldSizeY (const double sy)
 
void SetWorldSizeZ (const double sz)
 
double GetWorldSizeX () const
 
double GetWorldSizeY () const
 
double GetWorldSizeZ () const
 
void SetWorldShape (const std::string &s)
 
void SetWorldMaterial (const std::string &s)
 
void SetPhysicsList (const std::string &s)
 
void set_rapidity_coverage (const double eta)
 
int setupInputEventNodeReader (PHCompositeNode *)
 
PHG4SubsystemgetSubsystem (const std::string &name)
 
PHG4DisplayActionGetDisplayAction ()
 
void Dump_GDML (const std::string &filename)
 
void Dump_G4_GDML (const std::string &filename)
 
void G4Verbosity (const int i)
 
void setDisableUserActions (bool b=true)
 disable event/track/stepping actions to reduce resource consumption for G4 running only. E.g. dose analysis
 
void ApplyDisplayAction ()
 
- 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 Reset (PHCompositeNode *)
 Reset.
 
- 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.
 

Static Public Member Functions

static void G4Seed (const unsigned int i)
 

Private Member Functions

int InitUImanager ()
 
void DefineMaterials ()
 
void DefineRegions ()
 

Static Private Member Functions

static void g4guithread (void *ptr)
 

Private Attributes

float m_MagneticField = 0.
 
float m_MagneticFieldRescale
 
double m_WorldSize [3]
 
G4TBMagneticFieldSetupm_Field
 magnetic field
 
G4RunManager * m_RunManager
 pointer to geant run manager
 
PHG4UIsessionm_UISession
 pointer to geant ui session
 
PHG4PhenixDetectorm_Detector
 pointer to detector
 
PHG4PhenixEventActionm_EventAction
 pointer to main event action
 
PHG4PhenixStackingActionm_StackingAction = nullptr
 pointer to main stacking action
 
PHG4PhenixSteppingActionm_SteppingAction
 pointer to main stepping action
 
PHG4PhenixTrackingActionm_TrackingAction
 pointer to main tracking action
 
PHG4DisplayActionm_DisplayAction
 display attribute setting
 
PHG4PrimaryGeneratorActionm_GeneratorAction
 event generator (read from PHG4INEVENT node)
 
std::list< PHG4Subsystem * > m_SubsystemList
 list of subsystems
 
G4VisManager * m_VisManager
 
G4UImessenger * m_Fun4AllMessenger
 
G4UImanager * m_UImanager
 
double m_EtaCoverage
 
PHFieldConfig::FieldConfigTypes m_FieldConfigType
 
std::string m_FieldMapFile
 
std::string m_WorldShape
 
std::string m_WorldMaterial
 
std::string m_PhysicsList
 
bool m_ActiveDecayerFlag
 
bool m_ActiveForceDecayFlag
 
EDecayType m_ForceDecayType
 
bool m_SaveDstGeometryFlag
 
bool m_disableUserActions
 

Additional Inherited Members

- Public Types inherited from Fun4AllBase
enum  enu_Verbosity {
  VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3,
  VERBOSITY_A_LOT = 4, VERBOSITY_MAX = INT_MAX - 10
}
 
- Protected Member Functions inherited from SubsysReco
 SubsysReco (const std::string &name="NONAME")
 

Detailed Description

Runs G4 as a subsystem.

Definition at line 37 of file PHG4Reco.h.

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

Constructor & Destructor Documentation

PHG4Reco::PHG4Reco ( const std::string &  name = "PHG4RECO")

constructor

Definition at line 118 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 118 of file PHG4Reco.cc

References m_WorldSize.

PHG4Reco::~PHG4Reco ( void  )
override

destructor

Definition at line 157 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 157 of file PHG4Reco.cc

References m_DisplayAction, m_Field, m_Fun4AllMessenger, m_RunManager, m_SubsystemList, m_UISession, and m_VisManager.

Member Function Documentation

int PHG4Reco::ApplyCommand ( const std::string &  cmd)

interface to G4 cmd interpreter

Definition at line 597 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 597 of file PHG4Reco.cc

References InitUImanager(), and m_UImanager.

Referenced by DisplayOn(), Fun4All_EIC_Generator_Display(), Fun4All_Generator_Display(), G4Cmd(), and matscan().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4Reco::ApplyDisplayAction ( )

Definition at line 1458 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 1458 of file PHG4Reco.cc

References PHG4DisplayAction::ApplyDisplayAction(), PHG4PhenixDetector::GetPhysicalVolume(), m_Detector, m_DisplayAction, m_SubsystemList, and Fun4AllBase::Verbosity().

Referenced by DisplayOn(), Fun4All_EIC_Generator_Display(), Fun4All_G4_QtDisplay(), Fun4All_G4_Tracking(), Fun4All_Generator_Display(), and QTGui().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4Reco::DefineMaterials ( )
private

ePHENIX TPC - Jin Huang jhuan.nosp@m.g@bn.nosp@m.l.gov Ref: B. Yu et al. A gem based tpc for the legs experiment. In Nuclear Science Symposium Conference Record, 2005 IEEE, volume 2, pages 924-928, 2005. doi:10.1109/NSSMIC.2005.1596405.

Definition at line 742 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 742 of file PHG4Reco.cc

References Acts::UnitConstants::cm, Acts::UnitConstants::cm3, Acts::UnitConstants::e, Acts::UnitConstants::eV, g(), Acts::UnitConstants::kg, Acts::UnitConstants::m, Acts::UnitConstants::m3, Acts::UnitConstants::MeV, name, Acts::UnitConstants::nm, G4DRCALO::SETTING::PMMA, Fun4AllBase::Verbosity(), and z.

Referenced by Init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4Reco::DefineRegions ( )
private

Definition at line 1413 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 1413 of file PHG4Reco.cc

Referenced by Init().

+ Here is the caller graph for this function:

void PHG4Reco::Dump_G4_GDML ( const std::string &  filename)

Definition at line 591 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 591 of file PHG4Reco.cc

References PHG4GDMLUtility::Dump_G4_GDML(), PHG4PhenixDetector::GetPhysicalVolume(), and m_Detector.

Referenced by Extract_ECCE_gdml().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4Reco::Dump_GDML ( const std::string &  filename)

Definition at line 584 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 584 of file PHG4Reco.cc

References PHG4GDMLUtility::Dump_GDML(), PHG4PhenixDetector::GetPhysicalVolume(), and m_Detector.

Referenced by InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void PHG4Reco::g4guithread ( void *  ptr)
staticprivate
void PHG4Reco::G4Seed ( const unsigned int  i)
static

Definition at line 735 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 735 of file PHG4Reco.cc

Referenced by Init().

+ Here is the caller graph for this function:

void PHG4Reco::G4Verbosity ( const int  i)

Definition at line 1450 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 1450 of file PHG4Reco.cc

References m_RunManager.

PHG4DisplayAction* PHG4Reco::GetDisplayAction ( )
inline

Definition at line 118 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 118 of file PHG4Reco.h

References m_DisplayAction.

PHG4Subsystem * PHG4Reco::getSubsystem ( const std::string &  name)

Definition at line 1433 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 1433 of file PHG4Reco.cc

References m_SubsystemList, name, and Fun4AllBase::Verbosity().

+ Here is the call graph for this function:

double PHG4Reco::GetWorldSizeX ( ) const
inline

Definition at line 105 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 105 of file PHG4Reco.h

References m_WorldSize.

double PHG4Reco::GetWorldSizeY ( ) const
inline

Definition at line 106 of file PHG4Reco.h.

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

References m_WorldSize.

Referenced by WorldSize().

+ Here is the caller graph for this function:

double PHG4Reco::GetWorldSizeZ ( ) const
inline

Definition at line 107 of file PHG4Reco.h.

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

References m_WorldSize.

Referenced by WorldSize().

+ Here is the caller graph for this function:

int PHG4Reco::Init ( PHCompositeNode topNode)
overridevirtual

full initialization

Reimplemented from SubsysReco.

Definition at line 175 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 175 of file PHG4Reco.cc

References DefineMaterials(), DefineRegions(), exit(), G4Seed(), m_ActiveDecayerFlag, m_ActiveForceDecayFlag, m_ForceDecayType, m_PhysicsList, m_RunManager, m_SubsystemList, m_UISession, PHWHERE, P6DExtDecayerPhysics::SetForceDecay(), and Fun4AllBase::Verbosity().

+ Here is the call graph for this function:

int PHG4Reco::InitField ( PHCompositeNode topNode)

Definition at line 294 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 294 of file PHG4Reco.cc

References Fun4AllReturnCodes::EVENT_OK, PHFieldUtility::GetFieldMapNode(), m_Field, m_FieldConfigType, m_FieldMapFile, m_MagneticField, m_MagneticFieldRescale, and Fun4AllBase::Verbosity().

Referenced by InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHG4Reco::InitRun ( PHCompositeNode )
overridevirtual

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 319 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 319 of file PHG4Reco.cc

References PHG4PhenixTrackingAction::AddAction(), PHG4PhenixSteppingAction::AddAction(), PHG4PhenixStackingAction::AddAction(), PHG4PhenixEventAction::AddAction(), PHG4PhenixDetector::AddDetector(), Acts::UnitConstants::cm, Dump_GDML(), Fun4AllReturnCodes::EVENT_OK, INPUTHEPMC::filename, PHGeomUtility::GenerateGeometryFileName(), PHGeomUtility::ImportGeomFile(), InitField(), recoConsts::instance(), m_Detector, m_disableUserActions, m_DisplayAction, m_EventAction, m_RunManager, m_SaveDstGeometryFlag, m_StackingAction, m_SteppingAction, m_SubsystemList, m_TrackingAction, m_UISession, m_WorldMaterial, m_WorldShape, m_WorldSize, Fun4AllBase::Name(), particle, PHGeomUtility::RemoveGeometryFile(), PHFlag::set_FloatFlag(), PHFlag::set_StringFlag(), setupInputEventNodeReader(), PHG4PhenixDetector::SetWorldMaterial(), PHG4PhenixDetector::SetWorldShape(), PHG4PhenixDetector::SetWorldSizeX(), PHG4PhenixDetector::SetWorldSizeY(), PHG4PhenixDetector::SetWorldSizeZ(), PHG4UIsession::Verbosity(), PHG4PhenixDetector::Verbosity(), and Fun4AllBase::Verbosity().

Referenced by DisplayOn(), Fun4All_EIC_Generator_Display(), Fun4All_G4_QtDisplay(), Fun4All_G4_Tracking(), Fun4All_Generator_Display(), matscan(), and QTGui().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHG4Reco::InitUImanager ( )
private

Definition at line 618 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 618 of file PHG4Reco.cc

References m_UImanager, and m_VisManager.

Referenced by ApplyCommand(), and StartGui().

+ Here is the caller graph for this function:

void PHG4Reco::Print ( const std::string &  what = std::string()) const
overridevirtual

print info

Reimplemented from SubsysReco.

Definition at line 693 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 693 of file PHG4Reco.cc

References m_SubsystemList.

int PHG4Reco::process_event ( PHCompositeNode topNode)
overridevirtual

event processing method

Reimplemented from SubsysReco.

Definition at line 632 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 632 of file PHG4Reco.cc

References Fun4AllReturnCodes::ABORTEVENT, Acts::UnitConstants::e, PHG4InEvent::identify(), m_GeneratorAction, m_RunManager, m_SubsystemList, PHWHERE, PHG4PrimaryGeneratorAction::SetInEvent(), and Fun4AllBase::Verbosity().

+ Here is the call graph for this function:

void PHG4Reco::registerSubsystem ( PHG4Subsystem subsystem)
inline

register subsystem

Definition at line 61 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 61 of file PHG4Reco.h

References m_SubsystemList.

Referenced by addPassiveMaterial(), AerogelSetup(), AllSiliconSetup(), Barrel_Hcal(), Bbc(), BeamLine(), BeamLineDefineBeamPipe(), BeamLineDefineMagnets(), BECALSetup(), BlackHole(), CEmc(), CEmc_1DProjectiveSpacal(), CEmc_2DProjectiveSpacal(), CEmcAlbedo(), CTD(), DIRCSetup(), DRCALOSetup(), DRich(), EEMCHSetup(), EEMCSetup(), EHCALSetup(), EndCap_Electron(), EndCap_Hadron(), EPD(), FEMCSetup(), FGEMSetup(), FHCALSetup(), Fun4All_G4_block(), Fun4All_G4_Cylinder(), Fun4All_G4_EicDirc(), Fun4All_G4_Example01(), Fun4All_G4_Example02(), Fun4All_G4_Example03(), Fun4All_G4_FastMom(), Fun4All_G4_FastMom_GEM(), Fun4All_G4_FastMom_GEM_RICH(), Fun4All_G4_Geantino(), Fun4All_G4_IonGun(), Fun4All_G4_Lmon(), Fun4All_G4_Magnet(), Fun4All_G4_Momentum(), Fun4All_G4_Momentum_Projection(), Fun4All_G4_Momentum_Projection_Calorimeters(), Fun4All_G4_Momentum_Projection_Detectors(), Fun4All_G4_MyDetector(), Fun4All_G4_QtDisplay(), Fun4All_G4_simple_hadron(), Fun4All_G4_simple_hadron_GEM(), Fun4All_G4_simple_vertex(), Fun4All_G4_simplified_3vtx(), Fun4All_G4_simplified_v2(), Fun4All_G4_simplified_v2_DIRC_barrel_GEM(), Fun4All_G4_Tracking(), Fun4All_G4_Write_Dst(), G4Setup(), Gem(), HCalInner(), HCalInner_SupportRing(), HCalOuter(), hFarFwdDefineBeamPipe(), hFarFwdDefineDetectorsIP6(), hFarFwdDefineDetectorsIP8(), hFarFwdDefineMagnets(), Intt(), JLDIRC(), LFHCALSetup(), Magnet(), make_barrel_layer(), make_barrel_layer_basic(), make_barrel_layer_LYSO_basic(), make_barrel_pixel_layer(), make_forward_station(), make_forward_station_basic(), make_GEM_station(), make_LANL_FST_station(), Micromegas(), mRICHSetup(), Mvtx(), Pipe(), Piston(), PlugDoor(), PSTOF(), RICHSetup(), TPC(), TPC_Endcaps(), TrackingServiceCone(), TrackingServiceCylinder(), VTX(), and ZDCSetup().

int PHG4Reco::ResetEvent ( PHCompositeNode topNode)
overridevirtual

Clean up after each event.

Reimplemented from SubsysReco.

Definition at line 684 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 684 of file PHG4Reco.cc

References m_SubsystemList.

void PHG4Reco::save_DST_geometry ( bool  b)
inline

Save geometry from Geant4 to DST.

Definition at line 101 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 101 of file PHG4Reco.h

References m_SaveDstGeometryFlag.

Referenced by Fun4All_EIC_Generator_Display(), Fun4All_G4_Example01(), Fun4All_G4_Example02(), Fun4All_G4_Example03(), Fun4All_G4_Geantino(), Fun4All_G4_Lmon(), Fun4All_G4_Magnet(), Fun4All_G4_MyDetector(), Fun4All_G4_QtDisplay(), Fun4All_G4_Write_Dst(), Fun4All_Generator_Display(), and G4Setup().

+ Here is the caller graph for this function:

void PHG4Reco::set_decayer_active ( bool  b)
inline

Definition at line 92 of file PHG4Reco.h.

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

References m_ActiveDecayerFlag.

void PHG4Reco::set_field ( const float  tesla)
inline
void PHG4Reco::set_field_map ( const std::string &  fmap,
const PHFieldConfig::FieldConfigTypes  dim 
)
inline

Set default field map. If available, Field map setting on DST take higher priority.

Parameters
[in]fmapField map ROOT file
[in]dimField map format. See PHFieldConfig::FieldConfigTypes for available formats.

Definition at line 83 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 83 of file PHG4Reco.h

References Acts::Test::dim, m_FieldConfigType, and m_FieldMapFile.

Referenced by Fun4All_G4_FastMom(), Fun4All_G4_FastMom_GEM(), Fun4All_G4_FastMom_GEM_RICH(), Fun4All_G4_Magnet(), Fun4All_G4_simplified_3vtx(), Fun4All_G4_simplified_v2(), Fun4All_G4_simplified_v2_DIRC_barrel_GEM(), Fun4All_G4_Tracking(), and G4Setup().

+ Here is the caller graph for this function:

void PHG4Reco::set_field_rescale ( const float  rescale)
inline

set default scaling factor for input magnetic field map. If available, Field map setting on DST take higher priority.

Definition at line 90 of file PHG4Reco.h.

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

References m_MagneticFieldRescale.

Referenced by Fun4All_G4_FastMom(), Fun4All_G4_FastMom_GEM(), Fun4All_G4_FastMom_GEM_RICH(), Fun4All_G4_Magnet(), Fun4All_G4_simplified_3vtx(), Fun4All_G4_simplified_v2(), Fun4All_G4_simplified_v2_DIRC_barrel_GEM(), and G4Setup().

+ Here is the caller graph for this function:

void PHG4Reco::set_force_decay ( EDecayType  force_decay_type)
inline

Definition at line 93 of file PHG4Reco.h.

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

References m_ActiveDecayerFlag, m_ActiveForceDecayFlag, and m_ForceDecayType.

Referenced by G4Setup().

+ Here is the caller graph for this function:

void PHG4Reco::set_rapidity_coverage ( const double  eta)

Definition at line 729 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 729 of file PHG4Reco.cc

References Acts::VectorHelpers::eta(), m_EtaCoverage, and PHG4Utils::SetPseudoRapidityCoverage().

Referenced by Fun4All_EIC_Generator_Display(), Fun4All_Generator_Display(), and G4Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4Reco::setDisableUserActions ( bool  b = true)
inline

disable event/track/stepping actions to reduce resource consumption for G4 running only. E.g. dose analysis

Definition at line 125 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 125 of file PHG4Reco.h

References m_disableUserActions.

void PHG4Reco::SetPhysicsList ( const std::string &  s)
inline

Definition at line 110 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 110 of file PHG4Reco.h

References m_PhysicsList, and Acts::UnitConstants::s.

Referenced by Fun4All_G4_block(), Fun4All_G4_IonGun(), and WorldInit().

+ Here is the caller graph for this function:

int PHG4Reco::setupInputEventNodeReader ( PHCompositeNode topNode)

Definition at line 707 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 707 of file PHG4Reco.cc

References PHCompositeNode::addNode(), PHNodeIterator::findFirst(), m_GeneratorAction, and m_RunManager.

Referenced by InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4Reco::SetWorldMaterial ( const std::string &  s)
inline

Definition at line 109 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 109 of file PHG4Reco.h

References m_WorldMaterial, and Acts::UnitConstants::s.

Referenced by Fun4All_G4_block(), Fun4All_G4_IonGun(), Fun4All_G4_simple_hadron(), Fun4All_G4_simple_hadron_GEM(), Fun4All_G4_simple_vertex(), and WorldInit().

+ Here is the caller graph for this function:

void PHG4Reco::SetWorldShape ( const std::string &  s)
inline

Definition at line 108 of file PHG4Reco.h.

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

References m_WorldShape, and Acts::UnitConstants::s.

Referenced by Fun4All_G4_block(), and Fun4All_G4_IonGun().

+ Here is the caller graph for this function:

void PHG4Reco::SetWorldSizeX ( const double  sx)
inline

Definition at line 102 of file PHG4Reco.h.

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

References m_WorldSize.

Referenced by Fun4All_G4_block(), and Fun4All_G4_IonGun().

+ Here is the caller graph for this function:

void PHG4Reco::SetWorldSizeY ( const double  sy)
inline

Definition at line 103 of file PHG4Reco.h.

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

References m_WorldSize.

Referenced by Fun4All_G4_block(), Fun4All_G4_IonGun(), and WorldSize().

+ Here is the caller graph for this function:

void PHG4Reco::SetWorldSizeZ ( const double  sz)
inline

Definition at line 104 of file PHG4Reco.h.

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

References m_WorldSize.

Referenced by Fun4All_G4_block(), Fun4All_G4_IonGun(), and WorldSize().

+ Here is the caller graph for this function:

int PHG4Reco::StartGui ( )

start the gui

Definition at line 605 of file PHG4Reco.cc.

View newest version in sPHENIX GitHub at line 605 of file PHG4Reco.cc

References charm_jet_coverage::args, InitUImanager(), and m_UImanager.

Referenced by Fun4All_G4_QtDisplay(), Fun4All_G4_Tracking(), and QTGui().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

bool PHG4Reco::m_ActiveDecayerFlag
private

Definition at line 188 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 188 of file PHG4Reco.h

Referenced by Init(), set_decayer_active(), and set_force_decay().

bool PHG4Reco::m_ActiveForceDecayFlag
private

Definition at line 189 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 189 of file PHG4Reco.h

Referenced by Init(), and set_force_decay().

PHG4PhenixDetector* PHG4Reco::m_Detector
private

pointer to detector

Definition at line 148 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 148 of file PHG4Reco.h

Referenced by ApplyDisplayAction(), Dump_G4_GDML(), Dump_GDML(), and InitRun().

bool PHG4Reco::m_disableUserActions
private

Definition at line 193 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 193 of file PHG4Reco.h

Referenced by InitRun(), and setDisableUserActions().

PHG4DisplayAction* PHG4Reco::m_DisplayAction
private

display attribute setting

derives from PHG4DisplayAction

Definition at line 164 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 164 of file PHG4Reco.h

Referenced by ApplyDisplayAction(), GetDisplayAction(), InitRun(), and ~PHG4Reco().

double PHG4Reco::m_EtaCoverage
private

Definition at line 180 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 180 of file PHG4Reco.h

Referenced by set_rapidity_coverage().

PHG4PhenixEventAction* PHG4Reco::m_EventAction
private

pointer to main event action

Definition at line 151 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 151 of file PHG4Reco.h

Referenced by InitRun().

G4TBMagneticFieldSetup* PHG4Reco::m_Field
private

magnetic field

Definition at line 139 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 139 of file PHG4Reco.h

Referenced by InitField(), and ~PHG4Reco().

PHFieldConfig::FieldConfigTypes PHG4Reco::m_FieldConfigType
private

Definition at line 181 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 181 of file PHG4Reco.h

Referenced by InitField(), and set_field_map().

std::string PHG4Reco::m_FieldMapFile
private

Definition at line 182 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 182 of file PHG4Reco.h

Referenced by InitField(), and set_field_map().

EDecayType PHG4Reco::m_ForceDecayType
private

Definition at line 190 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 190 of file PHG4Reco.h

Referenced by Init(), and set_force_decay().

G4UImessenger* PHG4Reco::m_Fun4AllMessenger
private

Definition at line 176 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 176 of file PHG4Reco.h

Referenced by ~PHG4Reco().

PHG4PrimaryGeneratorAction* PHG4Reco::m_GeneratorAction
private

event generator (read from PHG4INEVENT node)

Definition at line 167 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 167 of file PHG4Reco.h

Referenced by process_event(), and setupInputEventNodeReader().

float PHG4Reco::m_MagneticField = 0.
private

Definition at line 134 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 134 of file PHG4Reco.h

Referenced by InitField(), and set_field().

float PHG4Reco::m_MagneticFieldRescale
private

Definition at line 135 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 135 of file PHG4Reco.h

Referenced by InitField(), and set_field_rescale().

std::string PHG4Reco::m_PhysicsList
private

Definition at line 185 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 185 of file PHG4Reco.h

Referenced by Init(), and SetPhysicsList().

G4RunManager* PHG4Reco::m_RunManager
private

pointer to geant run manager

Definition at line 142 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 142 of file PHG4Reco.h

Referenced by G4Verbosity(), Init(), InitRun(), process_event(), setupInputEventNodeReader(), and ~PHG4Reco().

bool PHG4Reco::m_SaveDstGeometryFlag
private

Definition at line 192 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 192 of file PHG4Reco.h

Referenced by InitRun(), and save_DST_geometry().

PHG4PhenixStackingAction* PHG4Reco::m_StackingAction = nullptr
private

pointer to main stacking action

Definition at line 154 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 154 of file PHG4Reco.h

Referenced by InitRun().

PHG4PhenixSteppingAction* PHG4Reco::m_SteppingAction
private

pointer to main stepping action

Definition at line 157 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 157 of file PHG4Reco.h

Referenced by InitRun().

std::list<PHG4Subsystem *> PHG4Reco::m_SubsystemList
private

list of subsystems

Definition at line 170 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 170 of file PHG4Reco.h

Referenced by ApplyDisplayAction(), getSubsystem(), Init(), InitRun(), Print(), process_event(), registerSubsystem(), ResetEvent(), and ~PHG4Reco().

PHG4PhenixTrackingAction* PHG4Reco::m_TrackingAction
private

pointer to main tracking action

Definition at line 160 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 160 of file PHG4Reco.h

Referenced by InitRun().

G4UImanager* PHG4Reco::m_UImanager
private

Definition at line 179 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 179 of file PHG4Reco.h

Referenced by ApplyCommand(), InitUImanager(), and StartGui().

PHG4UIsession* PHG4Reco::m_UISession
private

pointer to geant ui session

Definition at line 145 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 145 of file PHG4Reco.h

Referenced by Init(), InitRun(), and ~PHG4Reco().

G4VisManager* PHG4Reco::m_VisManager
private

Definition at line 173 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 173 of file PHG4Reco.h

Referenced by InitUImanager(), and ~PHG4Reco().

std::string PHG4Reco::m_WorldMaterial
private

Definition at line 184 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 184 of file PHG4Reco.h

Referenced by InitRun(), and SetWorldMaterial().

std::string PHG4Reco::m_WorldShape
private

Definition at line 183 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 183 of file PHG4Reco.h

Referenced by InitRun(), and SetWorldShape().

double PHG4Reco::m_WorldSize[3]
private

Definition at line 136 of file PHG4Reco.h.

View newest version in sPHENIX GitHub at line 136 of file PHG4Reco.h

Referenced by GetWorldSizeX(), GetWorldSizeY(), GetWorldSizeZ(), InitRun(), PHG4Reco(), SetWorldSizeX(), SetWorldSizeY(), and SetWorldSizeZ().


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