CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
SteppingAction Class Reference

#include <SteppingAction.h>

Inheritance diagram for SteppingAction:

Public Member Functions

 SteppingAction (EventAction *ea, const edm::ParameterSet &ps, const CMSSteppingVerbose *, bool hasW)
 
void UserSteppingAction (const G4Step *aStep) final
 
 ~SteppingAction () override
 

Public Attributes

SimActivityRegistry::G4StepSignal m_g4StepSignal
 

Private Member Functions

bool initPointer ()
 
bool isInsideDeadRegion (const G4Region *reg) const
 
bool isLowEnergy (const G4Step *aStep) const
 
bool isOutOfTimeWindow (const G4Track *theTrack, const G4Region *reg) const
 
bool isThisVolume (const G4VTouchable *touch, const G4VPhysicalVolume *pv) const
 
void PrintKilledTrack (const G4Track *, const TrackStatus &) const
 

Private Attributes

const G4VPhysicalVolume * calo
 
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
 
EventActioneventAction_
 
bool hasWatcher
 
bool initialized
 
bool killBeamPipe
 
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
 
const CMSSteppingVerbosesteppingVerbose
 
double theCriticalDensity
 
double theCriticalEnergyForVacuum
 
const G4VPhysicalVolume * tracker
 

Detailed Description

Definition at line 31 of file SteppingAction.h.

Constructor & Destructor Documentation

◆ SteppingAction()

SteppingAction::SteppingAction ( EventAction ea,
const edm::ParameterSet ps,
const CMSSteppingVerbose sv,
bool  hasW 
)
explicit

Definition at line 18 of file SteppingAction.cc.

19  : eventAction_(e),
20  tracker(nullptr),
21  calo(nullptr),
23  nWarnings(0),
24  initialized(false),
25  killBeamPipe(false),
26  hasWatcher(hasW) {
27  theCriticalEnergyForVacuum = (p.getParameter<double>("CriticalEnergyForVacuum") * CLHEP::MeV);
28  if (0.0 < theCriticalEnergyForVacuum) {
29  killBeamPipe = true;
30  }
31  theCriticalDensity = (p.getParameter<double>("CriticalDensity") * CLHEP::g / CLHEP::cm3);
32  maxZCentralCMS = p.getParameter<double>("MaxZCentralCMS") * CLHEP::m;
33  maxTrackTime = p.getParameter<double>("MaxTrackTime") * CLHEP::ns;
34  maxTrackTimeForward = p.getParameter<double>("MaxTrackTimeForward") * CLHEP::ns;
35  maxTrackTimes = p.getParameter<std::vector<double> >("MaxTrackTimes");
36  maxTimeNames = p.getParameter<std::vector<std::string> >("MaxTimeNames");
37  deadRegionNames = p.getParameter<std::vector<std::string> >("DeadRegions");
38  ekinMins = p.getParameter<std::vector<double> >("EkinThresholds");
39  ekinNames = p.getParameter<std::vector<std::string> >("EkinNames");
40  ekinParticles = p.getParameter<std::vector<std::string> >("EkinParticles");
41 
42  edm::LogVerbatim("SimG4CoreApplication")
43  << "SteppingAction:: KillBeamPipe = " << killBeamPipe
44  << " CriticalDensity = " << theCriticalDensity * CLHEP::cm3 / CLHEP::g << " g/cm3\n"
45  << " CriticalEnergyForVacuum = " << theCriticalEnergyForVacuum / CLHEP::MeV << " Mev;"
46  << " MaxTrackTime = " << maxTrackTime / CLHEP::ns << " ns;"
47  << " MaxZCentralCMS = " << maxZCentralCMS / CLHEP::m << " m"
48  << " MaxTrackTimeForward = " << maxTrackTimeForward / CLHEP::ns << " ns";
49 
50  numberTimes = maxTrackTimes.size();
51  if (numberTimes > 0) {
52  for (unsigned int i = 0; i < numberTimes; i++) {
53  edm::LogVerbatim("SimG4CoreApplication")
54  << "SteppingAction::MaxTrackTime for " << maxTimeNames[i] << " is " << maxTrackTimes[i] << " ns ";
55  maxTrackTimes[i] *= ns;
56  }
57  }
58 
60  if (ndeadRegions > 0) {
61  edm::LogVerbatim("SimG4CoreApplication")
62  << "SteppingAction: Number of DeadRegions where all trackes are killed " << ndeadRegions;
63  for (unsigned int i = 0; i < ndeadRegions; ++i) {
64  edm::LogVerbatim("SimG4CoreApplication") << "SteppingAction: DeadRegion " << i << ". " << deadRegionNames[i];
65  }
66  }
67  numberEkins = ekinNames.size();
68  numberPart = ekinParticles.size();
69  if (0 == numberPart) {
70  numberEkins = 0;
71  }
72 
73  if (numberEkins > 0) {
74  edm::LogVerbatim("SimG4CoreApplication")
75  << "SteppingAction::Kill following " << numberPart << " particles in " << numberEkins << " volumes";
76  for (unsigned int i = 0; i < numberPart; ++i) {
77  edm::LogVerbatim("SimG4CoreApplication")
78  << "SteppingAction::Particle " << i << " " << ekinParticles[i] << " Threshold = " << ekinMins[i] << " MeV";
79  ekinMins[i] *= CLHEP::MeV;
80  }
81  for (unsigned int i = 0; i < numberEkins; ++i) {
82  edm::LogVerbatim("SimG4CoreApplication") << "SteppingAction::LogVolume[" << i << "] = " << ekinNames[i];
83  }
84  }
85 }

References deadRegionNames, ekinMins, ekinNames, ekinParticles, g, mps_fire::i, killBeamPipe, visualization-live-secondInstance_cfg::m, maxTimeNames, maxTrackTime, maxTrackTimeForward, maxTrackTimes, maxZCentralCMS, MeV, ndeadRegions, numberEkins, numberPart, numberTimes, AlCaHLTBitMon_ParallelJobs::p, theCriticalDensity, and theCriticalEnergyForVacuum.

◆ ~SteppingAction()

SteppingAction::~SteppingAction ( )
override

Definition at line 87 of file SteppingAction.cc.

87 {}

Member Function Documentation

◆ initPointer()

bool SteppingAction::initPointer ( )
private

Definition at line 194 of file SteppingAction.cc.

194  {
195  const G4PhysicalVolumeStore* pvs = G4PhysicalVolumeStore::GetInstance();
196  if (pvs) {
197  std::vector<G4VPhysicalVolume*>::const_iterator pvcite;
198  for (pvcite = pvs->begin(); pvcite != pvs->end(); ++pvcite) {
199  if ((*pvcite)->GetName() == "Tracker")
200  tracker = (*pvcite);
201  if ((*pvcite)->GetName() == "CALO")
202  calo = (*pvcite);
203  if (tracker && calo)
204  break;
205  }
206  if (tracker || calo) {
207  edm::LogVerbatim("SimG4CoreApplication") << "Pointer for Tracker " << tracker << " and for Calo " << calo;
208  if (tracker)
209  LogDebug("SimG4CoreApplication") << "Tracker vol name " << tracker->GetName();
210  if (calo)
211  LogDebug("SimG4CoreApplication") << "Calorimeter vol name " << calo->GetName();
212  }
213  }
214 
215  const G4LogicalVolumeStore* lvs = G4LogicalVolumeStore::GetInstance();
216  if (numberEkins > 0) {
217  if (lvs) {
218  ekinVolumes.resize(numberEkins, nullptr);
219  std::vector<G4LogicalVolume*>::const_iterator lvcite;
220  for (lvcite = lvs->begin(); lvcite != lvs->end(); ++lvcite) {
221  for (unsigned int i = 0; i < numberEkins; ++i) {
222  if ((*lvcite)->GetName() == (G4String)(ekinNames[i])) {
223  ekinVolumes[i] = (*lvcite);
224  break;
225  }
226  }
227  }
228  }
229  for (unsigned int i = 0; i < numberEkins; ++i) {
230  edm::LogVerbatim("SimG4CoreApplication") << ekinVolumes[i]->GetName() << " with pointer " << ekinVolumes[i];
231  }
232  }
233 
234  if (numberPart > 0) {
235  G4ParticleTable* theParticleTable = G4ParticleTable::GetParticleTable();
236  G4String partName;
237  ekinPDG.resize(numberPart, 0);
238  for (unsigned int i = 0; i < numberPart; ++i) {
239  ekinPDG[i] = theParticleTable->FindParticle(partName = ekinParticles[i])->GetPDGEncoding();
240  edm::LogVerbatim("SimG4CoreApplication") << "Particle " << ekinParticles[i] << " with PDG code " << ekinPDG[i]
241  << " and KE cut off " << ekinMins[i] / MeV << " MeV";
242  }
243  }
244 
245  const G4RegionStore* rs = G4RegionStore::GetInstance();
246  if (numberTimes > 0) {
247  maxTimeRegions.resize(numberTimes, nullptr);
248  std::vector<G4Region*>::const_iterator rcite;
249  for (rcite = rs->begin(); rcite != rs->end(); ++rcite) {
250  for (unsigned int i = 0; i < numberTimes; ++i) {
251  if ((*rcite)->GetName() == (G4String)(maxTimeNames[i])) {
252  maxTimeRegions[i] = (*rcite);
253  break;
254  }
255  }
256  }
257  }
258  if (ndeadRegions > 0) {
259  deadRegions.resize(ndeadRegions, nullptr);
260  std::vector<G4Region*>::const_iterator rcite;
261  for (rcite = rs->begin(); rcite != rs->end(); ++rcite) {
262  for (unsigned int i = 0; i < ndeadRegions; ++i) {
263  if ((*rcite)->GetName() == (G4String)(deadRegionNames[i])) {
264  deadRegions[i] = (*rcite);
265  break;
266  }
267  }
268  }
269  }
270  return true;
271 }

References calo, deadRegionNames, deadRegions, ekinMins, ekinNames, ekinParticles, ekinPDG, ekinVolumes, mps_fire::i, LogDebug, maxTimeNames, maxTimeRegions, MeV, ndeadRegions, numberEkins, numberPart, numberTimes, FSQDQM_cfi::pvs, and tracker.

Referenced by UserSteppingAction().

◆ isInsideDeadRegion()

bool SteppingAction::isInsideDeadRegion ( const G4Region *  reg) const
inlineprivate

Definition at line 76 of file SteppingAction.h.

76  {
77  bool res = false;
78  for (auto& region : deadRegions) {
79  if (reg == region) {
80  res = true;
81  break;
82  }
83  }
84  return res;
85 }

References deadRegions, and HLT_FULL_cff::region.

Referenced by UserSteppingAction().

◆ isLowEnergy()

bool SteppingAction::isLowEnergy ( const G4Step *  aStep) const
private

Definition at line 175 of file SteppingAction.cc.

175  {
176  const G4StepPoint* sp = aStep->GetPostStepPoint();
177  const G4LogicalVolume* lv = sp->GetPhysicalVolume()->GetLogicalVolume();
178  double ekin = sp->GetKineticEnergy();
179  int pCode = aStep->GetTrack()->GetDefinition()->GetPDGEncoding();
180 
181  for (auto& vol : ekinVolumes) {
182  if (lv == vol) {
183  for (unsigned int i = 0; i < numberPart; ++i) {
184  if (pCode == ekinPDG[i]) {
185  return (ekin <= ekinMins[i]);
186  }
187  }
188  break;
189  }
190  }
191  return false;
192 }

References ekinMins, ekinPDG, ekinVolumes, mps_fire::i, and numberPart.

Referenced by UserSteppingAction().

◆ isOutOfTimeWindow()

bool SteppingAction::isOutOfTimeWindow ( const G4Track *  theTrack,
const G4Region *  reg 
) const
inlineprivate

Definition at line 87 of file SteppingAction.h.

87  {
88  double tofM = maxTrackTime;
89  for (unsigned int i = 0; i < numberTimes; ++i) {
90  if (reg == maxTimeRegions[i]) {
91  tofM = maxTrackTimes[i];
92  break;
93  }
94  }
95  return (theTrack->GetGlobalTime() > tofM);
96 }

References mps_fire::i, maxTimeRegions, maxTrackTime, maxTrackTimes, and numberTimes.

Referenced by UserSteppingAction().

◆ isThisVolume()

bool SteppingAction::isThisVolume ( const G4VTouchable *  touch,
const G4VPhysicalVolume *  pv 
) const
inlineprivate

Definition at line 98 of file SteppingAction.h.

98  {
99  int level = (touch->GetHistoryDepth()) + 1;
100  return (level >= 3) ? (touch->GetVolume(level - 3) == pv) : false;
101 }

References personalPlayback::level, and MetAnalyzer::pv().

Referenced by UserSteppingAction().

◆ PrintKilledTrack()

void SteppingAction::PrintKilledTrack ( const G4Track *  aTrack,
const TrackStatus tst 
) const
private

Definition at line 273 of file SteppingAction.cc.

273  {
274  std::string vname = "";
275  std::string rname = "";
276  std::string typ = " ";
277  switch (tst) {
278  case sKilledByProcess:
279  typ = " G4Process ";
280  break;
281  case sDeadRegion:
282  typ = " in dead region ";
283  break;
284  case sOutOfTime:
285  typ = " out of time window ";
286  break;
287  case sLowEnergy:
288  typ = " low energy limit ";
289  break;
290  case sLowEnergyInVacuum:
291  typ = " low energy limit in vacuum ";
292  break;
293  case sEnergyDepNaN:
294  typ = " energy deposition is NaN ";
295  break;
296  case sVeryForward:
297  typ = " very forward track ";
298  break;
299  default:
300  break;
301  }
302  G4VPhysicalVolume* pv = aTrack->GetNextVolume();
303  if (pv) {
304  vname = pv->GetLogicalVolume()->GetName();
305  rname = pv->GetLogicalVolume()->GetRegion()->GetName();
306  }
307 
308  edm::LogVerbatim("SimG4CoreApplication")
309  << "Track #" << aTrack->GetTrackID() << " " << aTrack->GetDefinition()->GetParticleName()
310  << " E(MeV)= " << aTrack->GetKineticEnergy() / MeV << " T(ns)= " << aTrack->GetGlobalTime() / ns
311  << " is killed due to " << typ << " inside LV: " << vname << " (" << rname << ") at " << aTrack->GetPosition();
312 }

References MeV, MetAnalyzer::pv(), rname, sDeadRegion, sEnergyDepNaN, sKilledByProcess, sLowEnergy, sLowEnergyInVacuum, sOutOfTime, AlCaHLTBitMon_QueryRunRegistry::string, and sVeryForward.

Referenced by UserSteppingAction().

◆ UserSteppingAction()

void SteppingAction::UserSteppingAction ( const G4Step *  aStep)
final

Definition at line 89 of file SteppingAction.cc.

89  {
90  if (!initialized) {
92  }
93 
94  //if(hasWatcher) { m_g4StepSignal(aStep); }
95  m_g4StepSignal(aStep);
96 
97  G4Track* theTrack = aStep->GetTrack();
98  TrackStatus tstat = (theTrack->GetTrackStatus() == fAlive) ? sAlive : sKilledByProcess;
99 
100  const G4StepPoint* preStep = aStep->GetPreStepPoint();
101  const G4StepPoint* postStep = aStep->GetPostStepPoint();
102 
103  // NaN energy deposit
104  if (sAlive == tstat && edm::isNotFinite(aStep->GetTotalEnergyDeposit())) {
105  tstat = sEnergyDepNaN;
106  if (nWarnings < 20) {
107  ++nWarnings;
108  edm::LogWarning("SimG4CoreApplication")
109  << "Track #" << theTrack->GetTrackID() << " " << theTrack->GetDefinition()->GetParticleName()
110  << " E(MeV)= " << preStep->GetKineticEnergy() / MeV
111  << " is killed due to edep=NaN inside PV: " << preStep->GetPhysicalVolume()->GetName() << " at "
112  << theTrack->GetPosition() << " StepLen(mm)= " << aStep->GetStepLength();
113  }
114  }
115 
116  // check Z-coordinate
117  if (sAlive == tstat && std::abs(theTrack->GetPosition().z()) >= maxZCentralCMS) {
118  tstat = (theTrack->GetGlobalTime() > maxTrackTimeForward) ? sOutOfTime : sVeryForward;
119  }
120 
121  // check G4Region
122  if (sAlive == tstat && postStep->GetPhysicalVolume() != nullptr) {
123  const G4Region* theRegion = preStep->GetPhysicalVolume()->GetLogicalVolume()->GetRegion();
124 
125  // kill in dead regions
126  if (isInsideDeadRegion(theRegion)) {
127  tstat = sDeadRegion;
128  }
129 
130  // kill out of time
131  if (sAlive == tstat && isOutOfTimeWindow(theTrack, theRegion)) {
132  tstat = sOutOfTime;
133  }
134 
135  // kill low-energy in volumes on demand
136  if (sAlive == tstat && numberEkins > 0 && isLowEnergy(aStep)) {
137  tstat = sLowEnergy;
138  }
139 
140  // kill low-energy in vacuum
141  G4double kinEnergy = theTrack->GetKineticEnergy();
142  if (sAlive == tstat && killBeamPipe && kinEnergy < theCriticalEnergyForVacuum &&
143  theTrack->GetDefinition()->GetPDGCharge() != 0.0 && kinEnergy > 0.0 &&
144  theTrack->GetNextVolume()->GetLogicalVolume()->GetMaterial()->GetDensity() <= theCriticalDensity) {
145  tstat = sLowEnergyInVacuum;
146  }
147 
148  // check transition tracker/calo
149  if (sAlive == tstat || sVeryForward == tstat) {
150  if (isThisVolume(preStep->GetTouchable(), tracker) && isThisVolume(postStep->GetTouchable(), calo)) {
151  math::XYZVectorD pos((preStep->GetPosition()).x(), (preStep->GetPosition()).y(), (preStep->GetPosition()).z());
152 
153  math::XYZTLorentzVectorD mom((preStep->GetMomentum()).x(),
154  (preStep->GetMomentum()).y(),
155  (preStep->GetMomentum()).z(),
156  preStep->GetTotalEnergy());
157 
158  uint32_t id = theTrack->GetTrackID();
159 
160  std::pair<math::XYZVectorD, math::XYZTLorentzVectorD> p(pos, mom);
162  }
163  } else {
164  theTrack->SetTrackStatus(fStopAndKill);
165 #ifdef DebugLog
166  PrintKilledTrack(theTrack, tstat);
167 #endif
168  }
169  }
170  if (nullptr != steppingVerbose) {
171  steppingVerbose->NextStep(aStep, fpSteppingManager, (1 < tstat));
172  }
173 }

References funct::abs(), EventAction::addTkCaloStateInfo(), calo, eventAction_, initialized, initPointer(), isInsideDeadRegion(), isLowEnergy(), edm::isNotFinite(), isOutOfTimeWindow(), isThisVolume(), killBeamPipe, m_g4StepSignal, maxTrackTimeForward, maxZCentralCMS, MeV, CMSSteppingVerbose::NextStep(), numberEkins, nWarnings, AlCaHLTBitMon_ParallelJobs::p, PrintKilledTrack(), sAlive, sDeadRegion, sEnergyDepNaN, sKilledByProcess, sLowEnergy, sLowEnergyInVacuum, sOutOfTime, steppingVerbose, sVeryForward, theCriticalDensity, theCriticalEnergyForVacuum, tracker, x, y, and z.

Member Data Documentation

◆ calo

const G4VPhysicalVolume * SteppingAction::calo
private

Definition at line 51 of file SteppingAction.h.

Referenced by initPointer(), and UserSteppingAction().

◆ deadRegionNames

std::vector<std::string> SteppingAction::deadRegionNames
private

Definition at line 60 of file SteppingAction.h.

Referenced by initPointer(), and SteppingAction().

◆ deadRegions

std::vector<const G4Region*> SteppingAction::deadRegions
private

Definition at line 62 of file SteppingAction.h.

Referenced by initPointer(), and isInsideDeadRegion().

◆ ekinMins

std::vector<double> SteppingAction::ekinMins
private

Definition at line 58 of file SteppingAction.h.

Referenced by initPointer(), isLowEnergy(), and SteppingAction().

◆ ekinNames

std::vector<std::string> SteppingAction::ekinNames
private

Definition at line 59 of file SteppingAction.h.

Referenced by initPointer(), and SteppingAction().

◆ ekinParticles

std::vector<std::string> SteppingAction::ekinParticles
private

Definition at line 59 of file SteppingAction.h.

Referenced by initPointer(), and SteppingAction().

◆ ekinPDG

std::vector<int> SteppingAction::ekinPDG
private

Definition at line 64 of file SteppingAction.h.

Referenced by initPointer(), and isLowEnergy().

◆ ekinVolumes

std::vector<G4LogicalVolume*> SteppingAction::ekinVolumes
private

Definition at line 63 of file SteppingAction.h.

Referenced by initPointer(), and isLowEnergy().

◆ eventAction_

EventAction* SteppingAction::eventAction_
private

Definition at line 50 of file SteppingAction.h.

Referenced by UserSteppingAction().

◆ hasWatcher

bool SteppingAction::hasWatcher
private

Definition at line 73 of file SteppingAction.h.

◆ initialized

bool SteppingAction::initialized
private

Definition at line 71 of file SteppingAction.h.

Referenced by UserSteppingAction().

◆ killBeamPipe

bool SteppingAction::killBeamPipe
private

Definition at line 72 of file SteppingAction.h.

Referenced by SteppingAction(), and UserSteppingAction().

◆ m_g4StepSignal

SimActivityRegistry::G4StepSignal SteppingAction::m_g4StepSignal

◆ maxTimeNames

std::vector<std::string> SteppingAction::maxTimeNames
private

Definition at line 59 of file SteppingAction.h.

Referenced by initPointer(), and SteppingAction().

◆ maxTimeRegions

std::vector<const G4Region*> SteppingAction::maxTimeRegions
private

Definition at line 61 of file SteppingAction.h.

Referenced by initPointer(), and isOutOfTimeWindow().

◆ maxTrackTime

double SteppingAction::maxTrackTime
private

Definition at line 55 of file SteppingAction.h.

Referenced by isOutOfTimeWindow(), and SteppingAction().

◆ maxTrackTimeForward

double SteppingAction::maxTrackTimeForward
private

Definition at line 56 of file SteppingAction.h.

Referenced by SteppingAction(), and UserSteppingAction().

◆ maxTrackTimes

std::vector<double> SteppingAction::maxTrackTimes
private

Definition at line 58 of file SteppingAction.h.

Referenced by isOutOfTimeWindow(), and SteppingAction().

◆ maxZCentralCMS

double SteppingAction::maxZCentralCMS
private

Definition at line 57 of file SteppingAction.h.

Referenced by SteppingAction(), and UserSteppingAction().

◆ ndeadRegions

unsigned int SteppingAction::ndeadRegions
private

Definition at line 68 of file SteppingAction.h.

Referenced by initPointer(), and SteppingAction().

◆ numberEkins

unsigned int SteppingAction::numberEkins
private

Definition at line 66 of file SteppingAction.h.

Referenced by initPointer(), SteppingAction(), and UserSteppingAction().

◆ numberPart

unsigned int SteppingAction::numberPart
private

Definition at line 67 of file SteppingAction.h.

Referenced by initPointer(), isLowEnergy(), and SteppingAction().

◆ numberTimes

unsigned int SteppingAction::numberTimes
private

Definition at line 65 of file SteppingAction.h.

Referenced by initPointer(), isOutOfTimeWindow(), and SteppingAction().

◆ nWarnings

unsigned int SteppingAction::nWarnings
private

Definition at line 69 of file SteppingAction.h.

Referenced by UserSteppingAction().

◆ steppingVerbose

const CMSSteppingVerbose* SteppingAction::steppingVerbose
private

Definition at line 52 of file SteppingAction.h.

Referenced by UserSteppingAction().

◆ theCriticalDensity

double SteppingAction::theCriticalDensity
private

Definition at line 54 of file SteppingAction.h.

Referenced by SteppingAction(), and UserSteppingAction().

◆ theCriticalEnergyForVacuum

double SteppingAction::theCriticalEnergyForVacuum
private

Definition at line 53 of file SteppingAction.h.

Referenced by SteppingAction(), and UserSteppingAction().

◆ tracker

const G4VPhysicalVolume* SteppingAction::tracker
private

Definition at line 51 of file SteppingAction.h.

Referenced by initPointer(), and UserSteppingAction().

personalPlayback.level
level
Definition: personalPlayback.py:22
SteppingAction::maxTimeNames
std::vector< std::string > maxTimeNames
Definition: SteppingAction.h:59
DDAxes::y
SteppingAction::theCriticalDensity
double theCriticalDensity
Definition: SteppingAction.h:54
mps_fire.i
i
Definition: mps_fire.py:428
SteppingAction::tracker
const G4VPhysicalVolume * tracker
Definition: SteppingAction.h:51
SteppingAction::killBeamPipe
bool killBeamPipe
Definition: SteppingAction.h:72
edm::isNotFinite
constexpr bool isNotFinite(T x)
Definition: isFinite.h:9
SteppingAction::isLowEnergy
bool isLowEnergy(const G4Step *aStep) const
Definition: SteppingAction.cc:175
SteppingAction::isOutOfTimeWindow
bool isOutOfTimeWindow(const G4Track *theTrack, const G4Region *reg) const
Definition: SteppingAction.h:87
SteppingAction::maxZCentralCMS
double maxZCentralCMS
Definition: SteppingAction.h:57
CMSSteppingVerbose::NextStep
void NextStep(const G4Step *, const G4SteppingManager *ptr, bool isKilled) const
Definition: CMSSteppingVerbose.cc:156
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
math::XYZTLorentzVectorD
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
pos
Definition: PixelAliasList.h:18
SteppingAction::numberPart
unsigned int numberPart
Definition: SteppingAction.h:67
sAlive
Definition: SteppingAction.h:21
MeV
const double MeV
SteppingAction::maxTrackTime
double maxTrackTime
Definition: SteppingAction.h:55
SteppingAction::deadRegionNames
std::vector< std::string > deadRegionNames
Definition: SteppingAction.h:60
sKilledByProcess
Definition: SteppingAction.h:22
DDAxes::x
sLowEnergyInVacuum
Definition: SteppingAction.h:26
SteppingAction::initPointer
bool initPointer()
Definition: SteppingAction.cc:194
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
SteppingAction::ekinParticles
std::vector< std::string > ekinParticles
Definition: SteppingAction.h:59
TrackStatus
TrackStatus
Definition: SteppingAction.h:20
SteppingAction::maxTimeRegions
std::vector< const G4Region * > maxTimeRegions
Definition: SteppingAction.h:61
SteppingAction::ekinNames
std::vector< std::string > ekinNames
Definition: SteppingAction.h:59
SteppingAction::theCriticalEnergyForVacuum
double theCriticalEnergyForVacuum
Definition: SteppingAction.h:53
sOutOfTime
Definition: SteppingAction.h:24
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
SteppingAction::initialized
bool initialized
Definition: SteppingAction.h:71
pfDeepBoostedJetPreprocessParams_cfi.sv
sv
Definition: pfDeepBoostedJetPreprocessParams_cfi.py:352
DDAxes::z
SteppingAction::maxTrackTimeForward
double maxTrackTimeForward
Definition: SteppingAction.h:56
SteppingAction::PrintKilledTrack
void PrintKilledTrack(const G4Track *, const TrackStatus &) const
Definition: SteppingAction.cc:273
SteppingAction::isInsideDeadRegion
bool isInsideDeadRegion(const G4Region *reg) const
Definition: SteppingAction.h:76
SteppingAction::numberTimes
unsigned int numberTimes
Definition: SteppingAction.h:65
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SteppingAction::steppingVerbose
const CMSSteppingVerbose * steppingVerbose
Definition: SteppingAction.h:52
math::XYZVectorD
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
Definition: Vector3D.h:8
sDeadRegion
Definition: SteppingAction.h:23
SteppingAction::maxTrackTimes
std::vector< double > maxTrackTimes
Definition: SteppingAction.h:58
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
rname
const G4String rname[NREG]
Definition: ParametrisedEMPhysics.cc:48
SteppingAction::ndeadRegions
unsigned int ndeadRegions
Definition: SteppingAction.h:68
SteppingAction::calo
const G4VPhysicalVolume * calo
Definition: SteppingAction.h:51
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88271
MetAnalyzer.pv
def pv(vc)
Definition: MetAnalyzer.py:7
SteppingAction::ekinMins
std::vector< double > ekinMins
Definition: SteppingAction.h:58
SteppingAction::hasWatcher
bool hasWatcher
Definition: SteppingAction.h:73
res
Definition: Electron.h:6
FSQDQM_cfi.pvs
pvs
Definition: FSQDQM_cfi.py:12
SteppingAction::isThisVolume
bool isThisVolume(const G4VTouchable *touch, const G4VPhysicalVolume *pv) const
Definition: SteppingAction.h:98
sEnergyDepNaN
Definition: SteppingAction.h:27
SteppingAction::ekinVolumes
std::vector< G4LogicalVolume * > ekinVolumes
Definition: SteppingAction.h:63
SteppingAction::m_g4StepSignal
SimActivityRegistry::G4StepSignal m_g4StepSignal
Definition: SteppingAction.h:38
SteppingAction::eventAction_
EventAction * eventAction_
Definition: SteppingAction.h:50
EventAction::addTkCaloStateInfo
void addTkCaloStateInfo(uint32_t t, const std::pair< math::XYZVectorD, math::XYZTLorentzVectorD > &p)
Definition: EventAction.cc:72
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
sLowEnergy
Definition: SteppingAction.h:25
SteppingAction::ekinPDG
std::vector< int > ekinPDG
Definition: SteppingAction.h:64
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
calo
Definition: Common.h:9
SteppingAction::deadRegions
std::vector< const G4Region * > deadRegions
Definition: SteppingAction.h:62
sVeryForward
Definition: SteppingAction.h:28
SteppingAction::numberEkins
unsigned int numberEkins
Definition: SteppingAction.h:66
SteppingAction::nWarnings
unsigned int nWarnings
Definition: SteppingAction.h:69
g
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37