CMS 3D CMS Logo

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 
19 private:
20  // hide assignment operator as private
23 
24  G4ParticleDefinition* theParticle;
25 };
26 
27 #endif
CMSSIMPInelasticProcess
Definition: CMSSIMPInelasticProcess.h:8
CMSSIMPInelasticProcess::PostStepDoIt
G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep) override
Definition: CMSSIMPInelasticProcess.cc:37
CMSSIMPInelasticProcess::theParticle
G4ParticleDefinition * theParticle
Definition: CMSSIMPInelasticProcess.h:24
CMSSIMPInelasticProcess::operator=
CMSSIMPInelasticProcess & operator=(const CMSSIMPInelasticProcess &right)=delete
CMSSIMPInelasticProcess::CMSSIMPInelasticProcess
CMSSIMPInelasticProcess(const G4String &processName="SIMPInelastic")
Definition: CMSSIMPInelasticProcess.cc:25
CMSSIMPInelasticProcess::~CMSSIMPInelasticProcess
~CMSSIMPInelasticProcess() override
Definition: CMSSIMPInelasticProcess.cc:31
CMSSIMPInelasticProcess::IsApplicable
G4bool IsApplicable(const G4ParticleDefinition &aParticleType) override
Definition: CMSSIMPInelasticProcess.cc:33
SimL1EmulatorRepack_CalouGT_cff.processName
processName
Definition: SimL1EmulatorRepack_CalouGT_cff.py:17