/home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/physics/include/RAT/DummyProcess.hh Source File

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/physics/include/RAT/DummyProcess.hh Source File
Ratpac-two
DummyProcess.hh
1 
9 #ifndef __DummyProcess__
10 #define __DummyProcess__
11 
12 #include <G4VProcess.hh>
13 
14 class DummyProcess : public G4VProcess {
15  public:
16  DummyProcess(const G4String &aName = "NoName", G4ProcessType aType = fNotDefined) : G4VProcess(aName, aType){};
17 
18  virtual G4double AlongStepGetPhysicalInteractionLength(const G4Track &, G4double, G4double, G4double &,
19  G4GPILSelection *) {
20  return 0;
21  }
22 
23  virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *) { return 0; }
24 
25  virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &, G4double, G4ForceCondition *) { return 0; }
26 
27  virtual G4VParticleChange *PostStepDoIt(const G4Track &, const G4Step &) { return 0; }
28 
29  virtual G4VParticleChange *AlongStepDoIt(const G4Track &, const G4Step &) { return 0; }
30 
31  virtual G4VParticleChange *AtRestDoIt(const G4Track &, const G4Step &) { return 0; }
32 };
33 
34 #endif // __DummyProcess__
Definition: DummyProcess.hh:14