Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4main/PHG4SteppingAction.h>
Public Member Functions | |
PHG4SteppingAction (const std::string &name, const int i=0) | |
virtual | ~PHG4SteppingAction () |
virtual bool | UserSteppingAction (const G4Step *step, bool was_used)=0 |
stepping action. This defines processing of a single step in a given volume | |
virtual void | Verbosity (const int i) |
virtual int | Verbosity () const |
virtual int | Init () |
virtual int | InitWithNode (PHCompositeNode *) |
virtual double | GetScintLightYield (const G4Step *step) |
get scintillation photon count. It require a custom set SCINTILLATIONYIELD property to work | |
virtual double | GetVisibleEnergyDeposition (const G4Step *step) |
get amount of energy that can make scintillation light, in Unit of GeV. | |
virtual void | StoreLocalCoordinate (PHG4Hit *hit, const G4Step *step, const bool do_prepoint, const bool do_postpoint) |
Extract local coordinate of the hit and save to PHG4Hit. | |
virtual void | SetInterfacePointers (PHCompositeNode *) |
virtual void | Print (const std::string &) const |
std::string | GetName () const |
void | SetName (const std::string &name) |
virtual void | SetLightCorrection (const double inner_radius, const double inner_corr, const double outer_radius, const double outer_corr) |
virtual double | GetLightCorrection (const double r) const |
virtual double | GetLightCorrection (const double xpos, const double ypos) const |
virtual bool | ValidCorrection () const |
virtual void | SetHitNodeName (const std::string &, const std::string &) |
Set the G4HIT node names from Subsystem rather than constructing your own. | |
Private Attributes | |
int | m_Verbosity |
double | m_LightBalanceInnerRadius |
double | m_LightBalanceInnerCorr |
double | m_LightBalanceOuterRadius |
double | m_LightBalanceOuterCorr |
std::string | m_Name |
std::set< std::string > | m_ScintLightYieldMissingMaterialSet |
Definition at line 13 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 13 of file PHG4SteppingAction.h
PHG4SteppingAction::PHG4SteppingAction | ( | const std::string & | name, |
const int | i = 0 |
||
) |
Definition at line 34 of file PHG4SteppingAction.cc.
View newest version in sPHENIX GitHub at line 34 of file PHG4SteppingAction.cc
|
inlinevirtual |
Definition at line 17 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 17 of file PHG4SteppingAction.h
Reimplemented in PHG4Prototype2InnerHcalSteppingAction, and PHG4Prototype2OuterHcalSteppingAction.
Definition at line 178 of file PHG4SteppingAction.cc.
View newest version in sPHENIX GitHub at line 178 of file PHG4SteppingAction.cc
References KFPMath::b, Acts::UnitConstants::m, m_LightBalanceInnerCorr, m_LightBalanceInnerRadius, m_LightBalanceOuterCorr, m_LightBalanceOuterRadius, Acts::UnitConstants::min, and ValidCorrection().
Referenced by GetLightCorrection(), PHG4InnerHcalSteppingAction::NoHitSteppingAction(), PHG4OuterHcalSteppingAction::NoHitSteppingAction(), PHG4IHCalSteppingAction::NoHitSteppingAction(), PHG4OHCalSteppingAction::NoHitSteppingAction(), PHG4Prototype3InnerHcalSteppingAction::UserSteppingAction(), PHG4HcalSteppingAction::UserSteppingAction(), PHG4EPDSteppingAction::UserSteppingAction(), PHG4OuterHcalSteppingAction::UserSteppingAction(), PHG4InnerHcalSteppingAction::UserSteppingAction(), PHG4OHCalSteppingAction::UserSteppingAction(), and PHG4IHCalSteppingAction::UserSteppingAction().
|
virtual |
Definition at line 171 of file PHG4SteppingAction.cc.
View newest version in sPHENIX GitHub at line 171 of file PHG4SteppingAction.cc
References GetLightCorrection(), and physmon_track_finding_ttbar::r.
|
inline |
Definition at line 44 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 44 of file PHG4SteppingAction.h
References m_Name.
Referenced by cpp.ast.AstBuilder::_GetBases(), cpp.ast.AstBuilder::_GetClass(), cpp.ast.AstBuilder::_GetReturnTypeAndClassName(), cpp.ast.AstBuilder::_GetTemplatedTypes(), cpp.ast.AstBuilder::handle_namespace(), cpp.ast.AstBuilder::handle_struct(), G4Example01SteppingAction::UserSteppingAction(), G4Example02SteppingAction::UserSteppingAction(), PHG4PSTOFSteppingAction::UserSteppingAction(), G4Example03SteppingAction::UserSteppingAction(), PHG4EPDSteppingAction::UserSteppingAction(), PHG4TpcSteppingAction::UserSteppingAction(), PHG4BlockSteppingAction::UserSteppingAction(), BeamLineMagnetSteppingAction::UserSteppingAction(), PHG4BbcSteppingAction::UserSteppingAction(), PHG4InnerHcalSteppingAction::UserSteppingAction(), PHG4OuterHcalSteppingAction::UserSteppingAction(), PHG4TpcEndCapSteppingAction::UserSteppingAction(), PHG4CylinderSteppingAction::UserSteppingAction(), PHG4IHCalSteppingAction::UserSteppingAction(), PHG4OHCalSteppingAction::UserSteppingAction(), PHG4MicromegasSteppingAction::UserSteppingAction(), and PHG4SpacalSteppingAction::UserSteppingAction().
|
virtual |
get scintillation photon count. It require a custom set SCINTILLATIONYIELD property to work
Definition at line 45 of file PHG4SteppingAction.cc.
View newest version in sPHENIX GitHub at line 45 of file PHG4SteppingAction.cc
References GetVisibleEnergyDeposition(), Acts::UnitConstants::GeV, it, and m_ScintLightYieldMissingMaterialSet.
|
virtual |
get amount of energy that can make scintillation light, in Unit of GeV.
Definition at line 107 of file PHG4SteppingAction.cc.
View newest version in sPHENIX GitHub at line 107 of file PHG4SteppingAction.cc
References Acts::UnitConstants::GeV, and m_Verbosity.
Referenced by GetScintLightYield(), PHG4InnerHcalSteppingAction::NoHitSteppingAction(), PHG4OuterHcalSteppingAction::NoHitSteppingAction(), PHG4IHCalSteppingAction::NoHitSteppingAction(), PHG4OHCalSteppingAction::NoHitSteppingAction(), PHG4SpacalSteppingAction::NoHitSteppingAction(), PHG4Prototype2InnerHcalSteppingAction::UserSteppingAction(), PHG4Prototype2OuterHcalSteppingAction::UserSteppingAction(), PHG4Prototype3InnerHcalSteppingAction::UserSteppingAction(), PHG4EPDSteppingAction::UserSteppingAction(), PHG4HcalSteppingAction::UserSteppingAction(), PHG4InnerHcalSteppingAction::UserSteppingAction(), PHG4OuterHcalSteppingAction::UserSteppingAction(), PHG4CylinderSteppingAction::UserSteppingAction(), PHG4IHCalSteppingAction::UserSteppingAction(), PHG4OHCalSteppingAction::UserSteppingAction(), PHG4ZDCSteppingAction::UserSteppingAction(), PHG4SpacalPrototype4SteppingAction::UserSteppingAction(), PHG4SpacalPrototypeSteppingAction::UserSteppingAction(), and PHG4SpacalSteppingAction::UserSteppingAction().
|
inlinevirtual |
Definition at line 31 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4SteppingAction.h
Referenced by PHG4PSTOFSubsystem::InitRunSubsystem().
|
inlinevirtual |
Reimplemented in PHG4SpacalSteppingAction, PHG4IHCalSteppingAction, PHG4OHCalSteppingAction, PHG4InnerHcalSteppingAction, and PHG4OuterHcalSteppingAction.
Definition at line 32 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4SteppingAction.h
Referenced by PHG4OuterHcalSubsystem::InitRunSubsystem(), PHG4OHCalSubsystem::InitRunSubsystem(), PHG4IHCalSubsystem::InitRunSubsystem(), and PHG4InnerHcalSubsystem::InitRunSubsystem().
|
inlinevirtual |
Definition at line 43 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 43 of file PHG4SteppingAction.h
Referenced by PHG4InnerHcalSubsystem::Print(), PHG4IHCalSubsystem::Print(), PHG4Prototype3InnerHcalSubsystem::Print(), PHG4TpcSubsystem::Print(), PHG4Prototype2InnerHcalSubsystem::Print(), PHG4CylinderSubsystem::Print(), and PHG4BbcSubsystem::Print().
|
inlinevirtual |
Set the G4HIT node names from Subsystem rather than constructing your own.
Reimplemented in PHG4SpacalSteppingAction, PHG4ZDCSteppingAction, PHG4IHCalSteppingAction, PHG4OHCalSteppingAction, PHG4MicromegasSteppingAction, PHG4TpcEndCapSteppingAction, BeamLineMagnetSteppingAction, PHG4BbcSteppingAction, PHG4InttSteppingAction, PHG4TpcSteppingAction, PHG4EPDSteppingAction, and PHG4MvtxSteppingAction.
Definition at line 52 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4SteppingAction.h
Referenced by PHG4EPDSubsystem::InitRunSubsystem(), PHG4OHCalSubsystem::InitRunSubsystem(), PHG4ZDCSubsystem::InitRunSubsystem(), PHG4IHCalSubsystem::InitRunSubsystem(), PHG4TpcSubsystem::InitRunSubsystem(), BeamLineMagnetSubsystem::InitRunSubsystem(), PHG4MvtxSubsystem::InitRunSubsystem(), PHG4InttSubsystem::InitRunSubsystem(), PHG4TpcEndCapSubsystem::InitRunSubsystem(), PHG4MicromegasSubsystem::InitRunSubsystem(), and PHG4BbcSubsystem::InitRunSubsystem().
|
inlinevirtual |
Reimplemented in PHG4SpacalSteppingAction, PHG4SpacalPrototypeSteppingAction, PHG4SpacalPrototype4SteppingAction, PHG4ZDCSteppingAction, PHG4IHCalSteppingAction, PHG4OHCalSteppingAction, PHG4MicromegasSteppingAction, PHG4InnerHcalSteppingAction, PHG4OuterHcalSteppingAction, PHG4CylinderSteppingAction, PHG4HcalPrototypeSteppingAction, PHG4TpcEndCapSteppingAction, BeamLineMagnetSteppingAction, PHG4BbcSteppingAction, PHG4BlockSteppingAction, PHG4HcalSteppingAction, PHG4InttSteppingAction, PHG4TpcSteppingAction, PHG4CEmcTestBeamSteppingAction, PHG4EnvelopeSteppingAction, PHG4PSTOFSteppingAction, PHG4EPDSteppingAction, PHG4MvtxSteppingAction, G4Example03SteppingAction, G4Example02SteppingAction, PHG4Prototype2InnerHcalSteppingAction, PHG4Prototype2OuterHcalSteppingAction, PHG4Prototype3InnerHcalSteppingAction, PHG4ConeSteppingAction, PHG4SectorSteppingAction, PHG4EICMvtxSteppingAction, and G4Example01SteppingAction.
Definition at line 42 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 42 of file PHG4SteppingAction.h
Referenced by PHG4EPDSubsystem::process_event(), PHG4ZDCSubsystem::process_event(), PHG4OHCalSubsystem::process_event(), PHG4OuterHcalSubsystem::process_event(), PHG4InnerHcalSubsystem::process_event(), PHG4IHCalSubsystem::process_event(), PHG4SpacalPrototype4Subsystem::process_event(), PHG4Prototype3InnerHcalSubsystem::process_event(), PHG4TpcSubsystem::process_event(), PHG4Prototype2InnerHcalSubsystem::process_event(), PHG4Prototype2OuterHcalSubsystem::process_event(), BeamLineMagnetSubsystem::process_event(), PHG4SpacalPrototypeSubsystem::process_event(), PHG4CylinderSubsystem::process_event(), PHG4ConeSubsystem::process_event(), PHG4BlockSubsystem::process_event(), PHG4SectorSubsystem::process_event(), PHG4MvtxSubsystem::process_event(), PHG4EICMvtxSubsystem::process_event(), PHG4InttSubsystem::process_event(), PHG4TpcEndCapSubsystem::process_event(), G4Example02Subsystem::process_event(), G4Example01Subsystem::process_event(), PHG4MicromegasSubsystem::process_event(), G4Example03Subsystem::process_event(), PHG4BbcSubsystem::process_event(), and PHG4PSTOFSubsystem::process_event().
|
virtual |
Definition at line 162 of file PHG4SteppingAction.cc.
View newest version in sPHENIX GitHub at line 162 of file PHG4SteppingAction.cc
References G4CEMCALBEDO::inner_radius, m_LightBalanceInnerCorr, m_LightBalanceInnerRadius, m_LightBalanceOuterCorr, m_LightBalanceOuterRadius, and G4HCALOUT::outer_radius.
Referenced by PHG4HcalSubsystem::InitRun(), PHG4IHCalSteppingAction::PHG4IHCalSteppingAction(), PHG4InnerHcalSteppingAction::PHG4InnerHcalSteppingAction(), PHG4OHCalSteppingAction::PHG4OHCalSteppingAction(), PHG4OuterHcalSteppingAction::PHG4OuterHcalSteppingAction(), and PHG4Prototype3InnerHcalSteppingAction::PHG4Prototype3InnerHcalSteppingAction().
|
inline |
Definition at line 45 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4SteppingAction.h
References m_Name, and perf_headwind::name.
Referenced by PHG4TpcSteppingAction::PHG4TpcSteppingAction().
|
virtual |
Extract local coordinate of the hit and save to PHG4Hit.
Definition at line 129 of file PHG4SteppingAction.cc.
View newest version in sPHENIX GitHub at line 129 of file PHG4SteppingAction.cc
References assert, Acts::UnitConstants::cm, PHG4Hit::set_local_x(), PHG4Hit::set_local_y(), and PHG4Hit::set_local_z().
Referenced by PHG4EICMvtxSteppingAction::UserSteppingAction(), PHG4MvtxSteppingAction::UserSteppingAction(), PHG4InttSteppingAction::UserSteppingAction(), PHG4SpacalPrototype4SteppingAction::UserSteppingAction(), PHG4SpacalPrototypeSteppingAction::UserSteppingAction(), and PHG4SpacalSteppingAction::UserSteppingAction().
|
pure virtual |
stepping action. This defines processing of a single step in a given volume
returns true if hits associated to this step was processed by this detector
step | pointer to the geant 4 step class |
was_used,: | true if the hit was already used by a previously registered subsystem |
Implemented in PHG4SpacalSteppingAction, PHG4SpacalPrototypeSteppingAction, PHG4SpacalPrototype4SteppingAction, PHG4ZDCSteppingAction, PHG4MicromegasSteppingAction, PHG4IHCalSteppingAction, PHG4OHCalSteppingAction, PHG4CylinderSteppingAction, PHG4HcalPrototypeSteppingAction, PHG4InnerHcalSteppingAction, PHG4OuterHcalSteppingAction, PHG4TpcEndCapSteppingAction, BeamLineMagnetSteppingAction, PHG4BbcSteppingAction, PHG4InttSteppingAction, PHG4BlockSteppingAction, PHG4HcalSteppingAction, PHG4EPDSteppingAction, PHG4TpcSteppingAction, PHG4CEmcTestBeamSteppingAction, PHG4EnvelopeSteppingAction, PHG4PSTOFSteppingAction, PHG4MvtxSteppingAction, G4Example03SteppingAction, G4Example02SteppingAction, PHG4Prototype2InnerHcalSteppingAction, PHG4Prototype2OuterHcalSteppingAction, PHG4Prototype3InnerHcalSteppingAction, PHG4ConeSteppingAction, PHG4SectorSteppingAction, PHG4EICMvtxSteppingAction, and G4Example01SteppingAction.
|
virtual |
Definition at line 192 of file PHG4SteppingAction.cc.
View newest version in sPHENIX GitHub at line 192 of file PHG4SteppingAction.cc
References m_LightBalanceInnerCorr, m_LightBalanceInnerRadius, m_LightBalanceOuterCorr, and m_LightBalanceOuterRadius.
Referenced by GetLightCorrection(), and PHG4HcalSteppingAction::UserSteppingAction().
|
inlinevirtual |
Definition at line 29 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4SteppingAction.h
References i, and m_Verbosity.
Referenced by PHG4SpacalPrototype4Subsystem::InitRunSubsystem(), PHG4EICMvtxSubsystem::InitRunSubsystem(), PHG4MvtxSubsystem::InitRunSubsystem(), and PHG4InttSubsystem::InitRunSubsystem().
|
inlinevirtual |
Definition at line 30 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4SteppingAction.h
References m_Verbosity.
Referenced by PHG4InnerHcalSteppingAction::InitWithNode(), PHG4OuterHcalSteppingAction::InitWithNode(), PHG4OHCalSteppingAction::InitWithNode(), PHG4IHCalSteppingAction::InitWithNode(), PHG4EICMvtxSteppingAction::SetInterfacePointers(), PHG4CEmcTestBeamSteppingAction::SetInterfacePointers(), PHG4MvtxSteppingAction::SetInterfacePointers(), PHG4EPDSteppingAction::SetInterfacePointers(), PHG4Prototype2InnerHcalSteppingAction::SetInterfacePointers(), PHG4Prototype2OuterHcalSteppingAction::SetInterfacePointers(), PHG4Prototype3InnerHcalSteppingAction::SetInterfacePointers(), PHG4InttSteppingAction::SetInterfacePointers(), PHG4HcalSteppingAction::SetInterfacePointers(), PHG4TpcSteppingAction::SetInterfacePointers(), PHG4BbcSteppingAction::SetInterfacePointers(), BeamLineMagnetSteppingAction::SetInterfacePointers(), PHG4HcalPrototypeSteppingAction::SetInterfacePointers(), PHG4OuterHcalSteppingAction::SetInterfacePointers(), PHG4InnerHcalSteppingAction::SetInterfacePointers(), PHG4MicromegasSteppingAction::SetInterfacePointers(), PHG4OHCalSteppingAction::SetInterfacePointers(), PHG4IHCalSteppingAction::SetInterfacePointers(), PHG4ZDCSteppingAction::SetInterfacePointers(), PHG4SpacalPrototype4SteppingAction::SetInterfacePointers(), PHG4SpacalPrototypeSteppingAction::SetInterfacePointers(), PHG4SpacalSteppingAction::SetInterfacePointers(), PHG4EICMvtxSteppingAction::UserSteppingAction(), PHG4MvtxSteppingAction::UserSteppingAction(), PHG4TpcSteppingAction::UserSteppingAction(), PHG4InttSteppingAction::UserSteppingAction(), PHG4ZDCSteppingAction::UserSteppingAction(), PHG4SpacalPrototype4SteppingAction::UserSteppingAction(), PHG4SpacalPrototypeSteppingAction::UserSteppingAction(), and PHG4SpacalSteppingAction::UserSteppingAction().
|
private |
Definition at line 57 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4SteppingAction.h
Referenced by GetLightCorrection(), SetLightCorrection(), and ValidCorrection().
|
private |
Definition at line 56 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 56 of file PHG4SteppingAction.h
Referenced by GetLightCorrection(), SetLightCorrection(), and ValidCorrection().
|
private |
Definition at line 59 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 59 of file PHG4SteppingAction.h
Referenced by GetLightCorrection(), SetLightCorrection(), and ValidCorrection().
|
private |
Definition at line 58 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 58 of file PHG4SteppingAction.h
Referenced by GetLightCorrection(), SetLightCorrection(), and ValidCorrection().
|
private |
Definition at line 60 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 60 of file PHG4SteppingAction.h
|
private |
Definition at line 61 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 61 of file PHG4SteppingAction.h
Referenced by GetScintLightYield().
|
private |
Definition at line 55 of file PHG4SteppingAction.h.
View newest version in sPHENIX GitHub at line 55 of file PHG4SteppingAction.h
Referenced by GetVisibleEnergyDeposition(), and Verbosity().