CMS 3D CMS Logo

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::CMSTrackingCutModel
CMSTrackingCutModel(const G4ParticleDefinition *)
Definition: CMSTrackingCutModel.cc:9
CMSTrackingCutModel
Definition: CMSTrackingCutModel.h:14
CMSTrackingCutModel::particle_
const G4ParticleDefinition * particle_
Definition: CMSTrackingCutModel.h:24
CMSTrackingCutModel::SampleEnergyDepositEcal
virtual G4double SampleEnergyDepositEcal(G4double kinEnergy)
Definition: CMSTrackingCutModel.cc:18
SiStripPI::rms
Definition: SiStripPayloadInspectorHelper.h:169
CMSTrackingCutModel::factor_
G4double factor_
Definition: CMSTrackingCutModel.h:27
CMSTrackingCutModel::InitialiseForStep
void InitialiseForStep(G4double fac, G4double rms)
Definition: CMSTrackingCutModel.h:31
CMSTrackingCutModel::rms_
G4double rms_
Definition: CMSTrackingCutModel.h:28
CMSTrackingCutModel::deltaE_
G4double deltaE_
Definition: CMSTrackingCutModel.h:26
CMSTrackingCutModel::~CMSTrackingCutModel
virtual ~CMSTrackingCutModel()
Definition: CMSTrackingCutModel.cc:16