#include <SteppingAction.h>
Public Member Functions | |
SteppingAction (const CMSSteppingVerbose *, const edm::ParameterSet &, bool, bool) | |
void | UserSteppingAction (const G4Step *aStep) final |
~SteppingAction () override=default | |
Public Attributes | |
SimActivityRegistry::G4StepSignal | m_g4StepSignal |
Private Member Functions | |
bool | initPointer () |
bool | isForZDC (const G4LogicalVolume *lv, int pdg) const |
bool | isInsideDeadRegion (const G4Region *reg) const |
bool | isLowEnergy (const G4LogicalVolume *, const G4Track *) const |
bool | isOutOfTimeWindow (const G4Region *reg, const double &time) const |
void | PrintKilledTrack (const G4Track *, const TrackStatus &) const |
Private Attributes | |
const G4VPhysicalVolume * | calo {nullptr} |
std::string | caloName_ |
std::string | cms2ZDCName_ |
bool | dd4hep_ |
std::vector< std::string > | deadRegionNames |
std::vector< const G4Region * > | deadRegions |
std::vector< double > | ekinMins |
std::vector< std::string > | ekinNames |
std::vector< std::string > | ekinParticles |
std::vector< int > | ekinPDG |
std::vector< G4LogicalVolume * > | ekinVolumes |
bool | hasWatcher |
bool | initialized {false} |
bool | killBeamPipe {false} |
const G4LogicalVolume * | m_CMStoZDC {nullptr} |
bool | m_CMStoZDCtransport |
const G4Region * | m_ZDCRegion {nullptr} |
G4int | maxNumberOfSteps |
std::vector< std::string > | maxTimeNames |
std::vector< const G4Region * > | maxTimeRegions |
double | maxTrackTime |
double | maxTrackTimeForward |
std::vector< double > | maxTrackTimes |
double | maxZCentralCMS |
unsigned int | ndeadRegions |
unsigned int | numberEkins |
unsigned int | numberPart |
unsigned int | numberTimes |
unsigned int | nWarnings {0} |
const CMSSteppingVerbose * | steppingVerbose {nullptr} |
double | theCriticalDensity |
double | theCriticalEnergyForVacuum |
const G4VPhysicalVolume * | tracker {nullptr} |
std::string | trackerName_ |
Definition at line 20 of file SteppingAction.h.
|
explicit |
Definition at line 18 of file SteppingAction.cc.
References caloName_, cms2ZDCName_, deadRegionNames, ekinMins, ekinNames, ekinParticles, g, mps_fire::i, killBeamPipe, visualization-live-secondInstance_cfg::m, m_CMStoZDCtransport, maxNumberOfSteps, maxTimeNames, maxTrackTime, maxTrackTimeForward, maxTrackTimes, maxZCentralCMS, ndeadRegions, numberEkins, numberPart, numberTimes, AlCaHLTBitMon_ParallelJobs::p, AlCaHLTBitMon_QueryRunRegistry::string, theCriticalDensity, theCriticalEnergyForVacuum, and trackerName_.
|
overridedefault |
|
private |
Definition at line 213 of file SteppingAction.cc.
References caloName_, cms2ZDCName_, dd4hep_, deadRegionNames, deadRegions, ekinMins, ekinNames, ekinParticles, ekinPDG, ekinVolumes, mps_fire::i, m_CMStoZDC, m_CMStoZDCtransport, m_ZDCRegion, maxTimeNames, maxTimeRegions, DD4hep2DDDName::nameMatterLV(), DD4hep2DDDName::namePV(), ndeadRegions, numberEkins, numberPart, numberTimes, FSQDQM_cfi::pvs, rname, AlCaHLTBitMon_QueryRunRegistry::string, tracker, and trackerName_.
Referenced by UserSteppingAction().
|
inlineprivate |
Definition at line 95 of file SteppingAction.h.
References m_CMStoZDC, and m_CMStoZDCtransport.
Referenced by UserSteppingAction().
|
inlineprivate |
Definition at line 73 of file SteppingAction.h.
References deadRegions, and nano_mu_digi_cff::region.
Referenced by UserSteppingAction().
|
private |
Definition at line 196 of file SteppingAction.cc.
References ekinMins, ekinPDG, ekinVolumes, mps_fire::i, and numberPart.
Referenced by UserSteppingAction().
|
inlineprivate |
Definition at line 84 of file SteppingAction.h.
References mps_fire::i, maxTimeRegions, maxTrackTime, maxTrackTimes, numberTimes, and hcalRecHitTable_cff::time.
Referenced by UserSteppingAction().
|
private |
Definition at line 301 of file SteppingAction.cc.
References rname, sDeadRegion, sEnergyDepNaN, sLowEnergy, sLowEnergyInVacuum, sNumberOfSteps, sOutOfTime, AlCaHLTBitMon_QueryRunRegistry::string, and sVeryForward.
Referenced by UserSteppingAction().
|
final |
Definition at line 87 of file SteppingAction.cc.
References funct::abs(), calo, TrackInformation::crossedBoundary(), initialized, initPointer(), isForZDC(), isInsideDeadRegion(), isLowEnergy(), isOutOfTimeWindow(), killBeamPipe, m_CMStoZDCtransport, m_g4StepSignal, m_ZDCRegion, maxNumberOfSteps, maxTrackTimeForward, maxZCentralCMS, CMSSteppingVerbose::nextStep(), numberEkins, nWarnings, PrintKilledTrack(), sAlive, sDeadRegion, TrackInformation::setCrossedBoundary(), sKilledByProcess, sLowEnergy, sLowEnergyInVacuum, sNumberOfSteps, sOutOfTime, steppingVerbose, sVeryForward, theCriticalDensity, hcalRecHitTable_cff::time, and tracker.
|
private |
Definition at line 40 of file SteppingAction.h.
Referenced by UserSteppingAction().
|
private |
Definition at line 70 of file SteppingAction.h.
Referenced by initPointer(), and SteppingAction().
|
private |
Definition at line 70 of file SteppingAction.h.
Referenced by initPointer(), and SteppingAction().
|
private |
Definition at line 61 of file SteppingAction.h.
Referenced by initPointer().
|
private |
Definition at line 65 of file SteppingAction.h.
Referenced by initPointer(), and SteppingAction().
|
private |
Definition at line 67 of file SteppingAction.h.
Referenced by initPointer(), and isInsideDeadRegion().
|
private |
Definition at line 63 of file SteppingAction.h.
Referenced by initPointer(), isLowEnergy(), and SteppingAction().
|
private |
Definition at line 64 of file SteppingAction.h.
Referenced by initPointer(), and SteppingAction().
|
private |
Definition at line 64 of file SteppingAction.h.
Referenced by initPointer(), and SteppingAction().
|
private |
Definition at line 69 of file SteppingAction.h.
Referenced by initPointer(), and isLowEnergy().
|
private |
Definition at line 68 of file SteppingAction.h.
Referenced by initPointer(), and isLowEnergy().
|
private |
Definition at line 60 of file SteppingAction.h.
|
private |
Definition at line 57 of file SteppingAction.h.
Referenced by UserSteppingAction().
|
private |
Definition at line 58 of file SteppingAction.h.
Referenced by SteppingAction(), and UserSteppingAction().
|
private |
Definition at line 42 of file SteppingAction.h.
Referenced by initPointer(), and isForZDC().
|
private |
Definition at line 59 of file SteppingAction.h.
Referenced by initPointer(), isForZDC(), SteppingAction(), and UserSteppingAction().
SimActivityRegistry::G4StepSignal SteppingAction::m_g4StepSignal |
Definition at line 27 of file SteppingAction.h.
Referenced by RunManagerMTWorker::Connect(), GFlashHadronShowerModel::makeHits(), GFlashEMShowerModel::makeHits(), and UserSteppingAction().
|
private |
Definition at line 43 of file SteppingAction.h.
Referenced by initPointer(), and UserSteppingAction().
|
private |
Definition at line 55 of file SteppingAction.h.
Referenced by SteppingAction(), and UserSteppingAction().
|
private |
Definition at line 64 of file SteppingAction.h.
Referenced by initPointer(), and SteppingAction().
|
private |
Definition at line 66 of file SteppingAction.h.
Referenced by initPointer(), and isOutOfTimeWindow().
|
private |
Definition at line 46 of file SteppingAction.h.
Referenced by isOutOfTimeWindow(), and SteppingAction().
|
private |
Definition at line 47 of file SteppingAction.h.
Referenced by SteppingAction(), and UserSteppingAction().
|
private |
Definition at line 63 of file SteppingAction.h.
Referenced by isOutOfTimeWindow(), and SteppingAction().
|
private |
Definition at line 48 of file SteppingAction.h.
Referenced by SteppingAction(), and UserSteppingAction().
|
private |
Definition at line 53 of file SteppingAction.h.
Referenced by initPointer(), and SteppingAction().
|
private |
Definition at line 51 of file SteppingAction.h.
Referenced by initPointer(), SteppingAction(), and UserSteppingAction().
|
private |
Definition at line 52 of file SteppingAction.h.
Referenced by initPointer(), isLowEnergy(), and SteppingAction().
|
private |
Definition at line 50 of file SteppingAction.h.
Referenced by initPointer(), isOutOfTimeWindow(), and SteppingAction().
|
private |
Definition at line 54 of file SteppingAction.h.
Referenced by UserSteppingAction().
|
private |
Definition at line 41 of file SteppingAction.h.
Referenced by UserSteppingAction().
|
private |
Definition at line 45 of file SteppingAction.h.
Referenced by SteppingAction(), and UserSteppingAction().
|
private |
Definition at line 44 of file SteppingAction.h.
Referenced by SteppingAction().
|
private |
Definition at line 39 of file SteppingAction.h.
Referenced by initPointer(), and UserSteppingAction().
|
private |
Definition at line 70 of file SteppingAction.h.
Referenced by initPointer(), and SteppingAction().