File indexing completed on 2024-04-06 12:30:27
0001 #ifndef SimG4Core_PhysicsLists_CMSTrackingCutModel_H
0002 #define SimG4Core_PhysicsLists_CMSTrackingCutModel_H
0003
0004
0005
0006
0007
0008
0009
0010 #include "globals.hh"
0011
0012 class G4ParticleDefinition;
0013
0014 class CMSTrackingCutModel {
0015 public:
0016 explicit CMSTrackingCutModel(const G4ParticleDefinition *);
0017 virtual ~CMSTrackingCutModel();
0018
0019 virtual G4double SampleEnergyDepositEcal(G4double kinEnergy);
0020
0021 inline void InitialiseForStep(G4double fac, G4double rms);
0022
0023 protected:
0024 const G4ParticleDefinition *particle_;
0025
0026 G4double deltaE_;
0027 G4double factor_;
0028 G4double rms_;
0029 };
0030
0031 inline void CMSTrackingCutModel::InitialiseForStep(G4double fac, G4double rms) {
0032 factor_ = fac;
0033 rms_ = rms;
0034 }
0035
0036 #endif