#include <StackingAction.h>
Public Member Functions | |
G4ClassificationOfNewTrack | ClassifyNewTrack (const G4Track *aTrack) final |
void | NewStage () override |
void | PrepareNewEvent () override |
StackingAction (const TrackingAction *, const edm::ParameterSet &ps, const CMSSteppingVerbose *) | |
~StackingAction () override=default | |
Private Member Functions | |
void | initPointer () |
int | isItFromPrimary (const G4Track &, int) const |
bool | isItOutOfTimeWindow (const G4Region *, const double &) const |
int | isItPrimaryDecayProductOrConversion (const int subtype, const G4Track &) const |
bool | isThisRegion (const G4Region *, std::vector< const G4Region *> &) const |
void | printRegions (const std::vector< const G4Region *> ®, const std::string &word) const |
bool | rrApplicable (const G4Track *, const G4Track &) const |
Private Attributes | |
std::vector< const G4Region * > | caloRegions |
std::vector< std::string > | deadRegionNames |
std::vector< const G4Region * > | deadRegions |
bool | gRRactive {false} |
double | gRusRoCastor |
double | gRusRoEcal |
double | gRusRoEnerLim |
double | gRusRoHcal |
double | gRusRoMuonIron |
double | gRusRoPreShower |
double | gRusRoWorld |
bool | killDeltaRay |
bool | killExtra |
bool | killGamma |
bool | killHeavy |
bool | killInCalo {false} |
bool | killInCaloEfH {false} |
double | kmaxGamma |
double | kmaxIon |
double | kmaxNeutron |
double | kmaxProton |
double | limitEnergyForVacuum |
std::vector< const G4Region * > | lowdensRegions |
const G4VProcess * | m_Compton {nullptr} |
std::vector< std::string > | maxTimeNames |
std::vector< const G4Region * > | maxTimeRegions |
double | maxTrackTime |
double | maxTrackTimeForward |
std::vector< double > | maxTrackTimes |
double | maxZCentralCMS |
std::vector< const G4Region * > | muonRegions |
bool | nRRactive {false} |
double | nRusRoCastor |
double | nRusRoEcal |
double | nRusRoEnerLim |
double | nRusRoHcal |
double | nRusRoMuonIron |
double | nRusRoPreShower |
double | nRusRoWorld |
unsigned int | numberTimes |
const G4Region * | regionCastor {nullptr} |
const G4Region * | regionEcal {nullptr} |
const G4Region * | regionHcal {nullptr} |
const G4Region * | regionMuonIron {nullptr} |
const G4Region * | regionPreShower {nullptr} |
const G4Region * | regionWorld {nullptr} |
bool | saveFirstSecondary |
bool | savePDandCinAll |
bool | savePDandCinCalo |
bool | savePDandCinMuon |
bool | savePDandCinTracker |
const CMSSteppingVerbose * | steppingVerbose |
const TrackingAction * | trackAction |
std::vector< const G4Region * > | trackerRegions |
bool | trackNeutrino |
G4VSolid * | worldSolid |
Definition at line 18 of file StackingAction.h.
|
explicit |
Definition at line 20 of file StackingAction.cc.
References caloRegions, deadRegionNames, deadRegions, gRRactive, gRusRoCastor, gRusRoEcal, gRusRoEnerLim, gRusRoHcal, gRusRoMuonIron, gRusRoPreShower, gRusRoWorld, mps_fire::i, initPointer(), killDeltaRay, killExtra, killGamma, killHeavy, killInCalo, killInCaloEfH, kmaxGamma, kmaxIon, kmaxNeutron, kmaxProton, limitEnergyForVacuum, lowdensRegions, visualization-live-secondInstance_cfg::m, maxTimeNames, maxTrackTime, maxTrackTimeForward, maxTrackTimes, maxZCentralCMS, muonRegions, nRRactive, nRusRoCastor, nRusRoEcal, nRusRoEnerLim, nRusRoHcal, nRusRoMuonIron, nRusRoPreShower, nRusRoWorld, numberTimes, AlCaHLTBitMon_ParallelJobs::p, printRegions(), saveFirstSecondary, savePDandCinAll, savePDandCinCalo, savePDandCinMuon, savePDandCinTracker, trackerRegions, trackNeutrino, and worldSolid.
|
overridedefault |
|
final |
Definition at line 158 of file StackingAction.cc.
References funct::abs(), caloRegions, deadRegions, RemoveAddSevLevel::flag, TrackingAction::geant4Track(), gRRactive, gRusRoCastor, gRusRoEcal, gRusRoEnerLim, gRusRoHcal, gRusRoMuonIron, gRusRoPreShower, gRusRoWorld, isItFromPrimary(), isItOutOfTimeWindow(), isItPrimaryDecayProductOrConversion(), isThisRegion(), killDeltaRay, killExtra, killGamma, killHeavy, killInCalo, killInCaloEfH, kmaxGamma, kmaxIon, kmaxNeutron, kmaxProton, limitEnergyForVacuum, LogDebug, lowdensRegions, maxTrackTimeForward, maxZCentralCMS, muonRegions, nRRactive, nRusRoCastor, nRusRoEcal, nRusRoEnerLim, nRusRoHcal, nRusRoMuonIron, nRusRoPreShower, nRusRoWorld, MCTruthUtil::primary(), TtFullHadEvtBuilder_cfi::prob, regionCastor, regionEcal, regionHcal, regionMuonIron, regionPreShower, regionWorld, rrApplicable(), saveFirstSecondary, savePDandCinAll, savePDandCinCalo, savePDandCinMuon, savePDandCinTracker, MCTruthUtil::secondary(), CMSSteppingVerbose::stackFilled(), steppingVerbose, hcalRecHitTable_cff::time, HLT_2023v12_cff::track, trackAction, trackerRegions, trackNeutrino, and worldSolid.
Referenced by CMSSimEventManager::StackTracks().
|
private |
Definition at line 351 of file StackingAction.cc.
References caloRegions, deadRegionNames, deadRegions, gRusRoCastor, gRusRoEcal, gRusRoHcal, gRusRoMuonIron, gRusRoPreShower, gRusRoWorld, mps_fire::i, lowdensRegions, maxTimeNames, maxTimeRegions, muonRegions, nRusRoCastor, nRusRoEcal, nRusRoHcal, nRusRoMuonIron, nRusRoPreShower, nRusRoWorld, EgammaValidation_cff::num, regionCastor, regionEcal, regionHcal, regionMuonIron, regionPreShower, regionWorld, rname, savePDandCinCalo, savePDandCinMuon, savePDandCinTracker, and trackerRegions.
Referenced by StackingAction().
|
private |
Definition at line 447 of file StackingAction.cc.
References RemoveAddSevLevel::flag.
Referenced by ClassifyNewTrack().
|
private |
Definition at line 458 of file StackingAction.cc.
References mps_fire::i, maxTimeRegions, maxTrackTime, maxTrackTimes, numberTimes, and submitPVValidationJobs::t.
Referenced by ClassifyNewTrack().
|
private |
Definition at line 425 of file StackingAction.cc.
References hydjet2DefaultParameters_cff::fDecay, and RemoveAddSevLevel::flag.
Referenced by ClassifyNewTrack().
|
private |
Definition at line 414 of file StackingAction.cc.
References RemoveAddSevLevel::flag, and nano_mu_digi_cff::region.
Referenced by ClassifyNewTrack().
|
override |
Definition at line 347 of file StackingAction.cc.
|
override |
Definition at line 349 of file StackingAction.cc.
|
private |
Definition at line 469 of file StackingAction.cc.
References mps_fire::i.
Referenced by StackingAction().
|
private |
Definition at line 439 of file StackingAction.cc.
References funct::abs(), and TrackInformation::genParticlePID().
Referenced by ClassifyNewTrack().
|
private |
Definition at line 67 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 62 of file StackingAction.h.
Referenced by initPointer(), and StackingAction().
|
private |
Definition at line 69 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 102 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 97 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 89 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 85 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 91 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 93 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 95 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 99 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 50 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 51 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 52 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 50 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 48 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 49 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 55 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 54 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 54 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 54 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 53 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 68 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 74 of file StackingAction.h.
|
private |
Definition at line 61 of file StackingAction.h.
Referenced by initPointer(), and StackingAction().
|
private |
Definition at line 64 of file StackingAction.h.
Referenced by initPointer(), and isItOutOfTimeWindow().
|
private |
Definition at line 56 of file StackingAction.h.
Referenced by isItOutOfTimeWindow(), and StackingAction().
|
private |
Definition at line 57 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 60 of file StackingAction.h.
Referenced by isItOutOfTimeWindow(), and StackingAction().
|
private |
Definition at line 58 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 66 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 103 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 98 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 90 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 86 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 92 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 94 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 96 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 100 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 59 of file StackingAction.h.
Referenced by isItOutOfTimeWindow(), and StackingAction().
|
private |
Definition at line 81 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and initPointer().
|
private |
Definition at line 77 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and initPointer().
|
private |
Definition at line 78 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and initPointer().
|
private |
Definition at line 79 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and initPointer().
|
private |
Definition at line 80 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and initPointer().
|
private |
Definition at line 82 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and initPointer().
|
private |
Definition at line 46 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 47 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 45 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 46 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 45 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 73 of file StackingAction.h.
Referenced by ClassifyNewTrack().
|
private |
Definition at line 72 of file StackingAction.h.
Referenced by ClassifyNewTrack().
|
private |
Definition at line 65 of file StackingAction.h.
Referenced by ClassifyNewTrack(), initPointer(), and StackingAction().
|
private |
Definition at line 50 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().
|
private |
Definition at line 71 of file StackingAction.h.
Referenced by ClassifyNewTrack(), and StackingAction().