ATLAS Offline Software
QuirkWatcher.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef QUIRKWATCHER_H
6 #define QUIRKWATCHER_H
7 
8 #include "G4VProcess.hh"
9 #include "G4VParticleChange.hh"
10 
11 class QuirkWatcher : public G4VProcess {
12 public:
13  QuirkWatcher();
14  virtual ~QuirkWatcher();
15 
16  virtual G4double PostStepGetPhysicalInteractionLength(
17  const G4Track& track,
18  G4double previousStepSize,
19  G4ForceCondition* condition
20  );
21  virtual G4VParticleChange* PostStepDoIt(
22  const G4Track& track,
23  const G4Step& //stepData
24  );
25 
27  const G4Track&, //track
28  G4double, //previousStepSize
29  G4double, //currentMinimumStep
30  G4double&, //proposedSafety
31  G4GPILSelection* //selection
32  ) {return -1.0;}
34  const G4Track&, //track
35  G4ForceCondition* //condition
36  ) {return -1.0;}
37  virtual G4VParticleChange* AlongStepDoIt(
38  const G4Track&, //track
39  const G4Step& //stepData
40  ) {return 0;}
41  virtual G4VParticleChange* AtRestDoIt(
42  const G4Track&, //track
43  const G4Step& //stepData
44  ) {return 0;}
45 
46 private:
47  G4VParticleChange m_particleChange;
48 };
49 
50 #endif
QuirkWatcher::AlongStepDoIt
virtual G4VParticleChange * AlongStepDoIt(const G4Track &, const G4Step &)
Definition: QuirkWatcher.h:37
QuirkWatcher::QuirkWatcher
QuirkWatcher()
Definition: QuirkWatcher.cxx:14
QuirkWatcher
Definition: QuirkWatcher.h:11
LArG4GenerateShowerLib.condition
condition
Definition: LArG4GenerateShowerLib.py:19
QuirkWatcher::m_particleChange
G4VParticleChange m_particleChange
Definition: QuirkWatcher.h:47
QuirkWatcher::AtRestGetPhysicalInteractionLength
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)
Definition: QuirkWatcher.h:33
QuirkWatcher::PostStepDoIt
virtual G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &)
Definition: QuirkWatcher.cxx:30
QuirkWatcher::PostStepGetPhysicalInteractionLength
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
Definition: QuirkWatcher.cxx:21
QuirkWatcher::AtRestDoIt
virtual G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &)
Definition: QuirkWatcher.h:41
QuirkWatcher::~QuirkWatcher
virtual ~QuirkWatcher()
Definition: QuirkWatcher.cxx:19
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
QuirkWatcher::AlongStepGetPhysicalInteractionLength
virtual G4double AlongStepGetPhysicalInteractionLength(const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
Definition: QuirkWatcher.h:26