CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CMSSIMPInelasticProcess.h
Go to the documentation of this file.
1 #ifndef SimG4Core_CustomPhysics_CMSSIMPInelasticProcess_H
2 #define SimG4Core_CustomPhysics_CMSSIMPInelasticProcess_H
3 
4 #include "G4HadronicProcess.hh"
5 
6 class G4ParticleDefinition;
7 
8 class CMSSIMPInelasticProcess : public G4HadronicProcess {
9 public:
10  CMSSIMPInelasticProcess(const G4String& processName = "SIMPInelastic");
11 
12  ~CMSSIMPInelasticProcess() override;
13 
14  G4bool IsApplicable(const G4ParticleDefinition& aParticleType) override;
15 
16  // generic PostStepDoIt recommended for all derived classes
17  G4VParticleChange* PostStepDoIt(const G4Track& aTrack, const G4Step& aStep) override;
18 
21 
22 private:
23  G4ParticleDefinition* theParticle;
24 };
25 
26 #endif
G4ParticleDefinition * theParticle
G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep) override
CMSSIMPInelasticProcess(const G4String &processName="SIMPInelastic")
CMSSIMPInelasticProcess & operator=(const CMSSIMPInelasticProcess &right)=delete
G4bool IsApplicable(const G4ParticleDefinition &aParticleType) override