CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CMSTrackingCutModel.h
Go to the documentation of this file.
1 #ifndef SimG4Core_PhysicsLists_CMSTrackingCutModel_H
2 #define SimG4Core_PhysicsLists_CMSTrackingCutModel_H
3 //
4 // Vladimir Ivanchenko 27.06.2019
5 //
6 // This is the base model of low-energy parameterisation
7 // applicable for e+- in Ecal and passive absorbers
8 //
9 
10 #include "globals.hh"
11 
12 class G4ParticleDefinition;
13 
15 public:
16  explicit CMSTrackingCutModel(const G4ParticleDefinition *);
17  virtual ~CMSTrackingCutModel();
18 
19  virtual G4double SampleEnergyDepositEcal(G4double kinEnergy);
20 
21  inline void InitialiseForStep(G4double fac, G4double rms);
22 
23 protected:
24  const G4ParticleDefinition *particle_;
25 
26  G4double deltaE_;
27  G4double factor_;
28  G4double rms_;
29 };
30 
31 inline void CMSTrackingCutModel::InitialiseForStep(G4double fac, G4double rms) {
32  factor_ = fac;
33  rms_ = rms;
34 }
35 
36 #endif
CMSTrackingCutModel(const G4ParticleDefinition *)
void InitialiseForStep(G4double fac, G4double rms)
const G4ParticleDefinition * particle_
virtual G4double SampleEnergyDepositEcal(G4double kinEnergy)