CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
G4ParticleChange * fPartChange
G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep) override
DummyChargeFlipProcess(const G4String &processName="Dummy")
G4bool IsApplicable(const G4ParticleDefinition &aParticleType) override