CMS 3D CMS Logo

LowEnergyFastSimModel.h
Go to the documentation of this file.
1 #ifndef LowEnergyFastSimModel_h
2 #define LowEnergyFastSimModel_h
3 
5 
7 
8 #include "G4VFastSimulationModel.hh"
9 #include "GFlashHitMaker.hh"
10 #include "G4Region.hh"
11 #include "G4Types.hh"
12 
13 class TrackingAction;
14 
15 class LowEnergyFastSimModel : public G4VFastSimulationModel {
16 public:
17  LowEnergyFastSimModel(const G4String& name, G4Region* region, const edm::ParameterSet& parSet);
18 
19  G4bool IsApplicable(const G4ParticleDefinition& particle) override;
20  G4bool ModelTrigger(const G4FastTrack& fastTrack) override;
21  void DoIt(const G4FastTrack& fastTrack, G4FastStep& fastStep) override;
22 
23 private:
24  G4double fEmax;
25  const G4Envelope* fRegion;
27  GFlashHitMaker fHitMaker;
29 };
30 
31 #endif
TrackingAction
Definition: TrackingAction.h:16
LowEnergyFastSimParam.h
LowEnergyFastSimParam
Definition: LowEnergyFastSimParam.h:7
LowEnergyFastSimModel::DoIt
void DoIt(const G4FastTrack &fastTrack, G4FastStep &fastStep) override
Definition: LowEnergyFastSimModel.cc:37
edm::ParameterSet
Definition: ParameterSet.h:47
LowEnergyFastSimModel::fEmax
G4double fEmax
Definition: LowEnergyFastSimModel.h:24
LowEnergyFastSimModel::param
LowEnergyFastSimParam param
Definition: LowEnergyFastSimModel.h:28
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88271
LowEnergyFastSimModel::fRegion
const G4Envelope * fRegion
Definition: LowEnergyFastSimModel.h:25
LowEnergyFastSimModel::fHitMaker
GFlashHitMaker fHitMaker
Definition: LowEnergyFastSimModel.h:27
LowEnergyFastSimModel
Definition: LowEnergyFastSimModel.h:15
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
LowEnergyFastSimModel::ModelTrigger
G4bool ModelTrigger(const G4FastTrack &fastTrack) override
Definition: LowEnergyFastSimModel.cc:25
LowEnergyFastSimModel::IsApplicable
G4bool IsApplicable(const G4ParticleDefinition &particle) override
Definition: LowEnergyFastSimModel.cc:21
LowEnergyFastSimModel::fTrackingAction
const TrackingAction * fTrackingAction
Definition: LowEnergyFastSimModel.h:26
ParameterSet.h
LowEnergyFastSimModel::LowEnergyFastSimModel
LowEnergyFastSimModel(const G4String &name, G4Region *region, const edm::ParameterSet &parSet)
Definition: LowEnergyFastSimModel.cc:16