Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:19

0001 #ifndef SimG4Core_CustomPhysics_CMSSIMPInelasticProcess_H
0002 #define SimG4Core_CustomPhysics_CMSSIMPInelasticProcess_H
0003 
0004 #include "G4HadronicProcess.hh"
0005 
0006 class G4ParticleDefinition;
0007 
0008 class CMSSIMPInelasticProcess : public G4HadronicProcess {
0009 public:
0010   CMSSIMPInelasticProcess(const G4String& processName = "SIMPInelastic");
0011 
0012   ~CMSSIMPInelasticProcess() override;
0013 
0014   G4bool IsApplicable(const G4ParticleDefinition& aParticleType) override;
0015 
0016   // generic PostStepDoIt recommended for all derived classes
0017   G4VParticleChange* PostStepDoIt(const G4Track& aTrack, const G4Step& aStep) override;
0018 
0019   CMSSIMPInelasticProcess& operator=(const CMSSIMPInelasticProcess& right) = delete;
0020   CMSSIMPInelasticProcess(const CMSSIMPInelasticProcess&) = delete;
0021 
0022 private:
0023   G4ParticleDefinition* theParticle;
0024 };
0025 
0026 #endif