CMS 3D CMS Logo

DummyChargeFlipProcess.h
Go to the documentation of this file.
1 #ifndef SimG4Core_CustomPhysics_DummyChargeFlipProcess_h
2 #define SimG4Core_CustomPhysics_DummyChargeFlipProcess_h 1
3 
4 #include "globals.hh"
5 #include "G4HadronicProcess.hh"
6 #include "G4ParticleChange.hh"
7 
8 class DummyChargeFlipProcess : public G4HadronicProcess {
9 public:
10  DummyChargeFlipProcess(const G4String& processName = "Dummy");
11 
12  ~DummyChargeFlipProcess() override;
13 
14  G4VParticleChange* PostStepDoIt(const G4Track& aTrack, const G4Step& aStep) override;
15 
16  G4bool IsApplicable(const G4ParticleDefinition& aParticleType) override;
17 
18 private:
19  G4ParticleChange* fPartChange;
20 };
21 #endif
DummyChargeFlipProcess::DummyChargeFlipProcess
DummyChargeFlipProcess(const G4String &processName="Dummy")
Definition: DummyChargeFlipProcess.cc:13
DummyChargeFlipProcess::IsApplicable
G4bool IsApplicable(const G4ParticleDefinition &aParticleType) override
Definition: DummyChargeFlipProcess.cc:20
DummyChargeFlipProcess::~DummyChargeFlipProcess
~DummyChargeFlipProcess() override
Definition: DummyChargeFlipProcess.cc:18
DummyChargeFlipProcess::fPartChange
G4ParticleChange * fPartChange
Definition: DummyChargeFlipProcess.h:19
SimL1EmulatorRepack_CalouGT_cff.processName
processName
Definition: SimL1EmulatorRepack_CalouGT_cff.py:17
DummyChargeFlipProcess::PostStepDoIt
G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep) override
Definition: DummyChargeFlipProcess.cc:24
DummyChargeFlipProcess
Definition: DummyChargeFlipProcess.h:8