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 LowEnergyFastSimModel : public G4VFastSimulationModel {
14 public:
15  LowEnergyFastSimModel(const G4String& name, G4Region* region, const edm::ParameterSet& parSet);
16 
17  G4bool IsApplicable(const G4ParticleDefinition& particle) override;
18  G4bool ModelTrigger(const G4FastTrack& fastTrack) override;
19  void DoIt(const G4FastTrack& fastTrack, G4FastStep& fastStep) override;
20 
21 private:
22  const G4double fEmax;
23  const G4Envelope* const fRegion;
24  GFlashHitMaker fHitMaker;
26 };
27 
28 #endif
LowEnergyFastSimParam.h
LowEnergyFastSimModel::fEmax
const G4double fEmax
Definition: LowEnergyFastSimModel.h:22
LowEnergyFastSimParam
Definition: LowEnergyFastSimParam.h:7
LowEnergyFastSimModel::DoIt
void DoIt(const G4FastTrack &fastTrack, G4FastStep &fastStep) override
Definition: LowEnergyFastSimModel.cc:28
edm::ParameterSet
Definition: ParameterSet.h:47
LowEnergyFastSimModel::param
LowEnergyFastSimParam param
Definition: LowEnergyFastSimModel.h:25
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88272
LowEnergyFastSimModel::fHitMaker
GFlashHitMaker fHitMaker
Definition: LowEnergyFastSimModel.h:24
LowEnergyFastSimModel::fRegion
const G4Envelope *const fRegion
Definition: LowEnergyFastSimModel.h:23
LowEnergyFastSimModel
Definition: LowEnergyFastSimModel.h:13
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
LowEnergyFastSimModel::ModelTrigger
G4bool ModelTrigger(const G4FastTrack &fastTrack) override
Definition: LowEnergyFastSimModel.cc:23
LowEnergyFastSimModel::IsApplicable
G4bool IsApplicable(const G4ParticleDefinition &particle) override
Definition: LowEnergyFastSimModel.cc:19
ParameterSet.h
LowEnergyFastSimModel::LowEnergyFastSimModel
LowEnergyFastSimModel(const G4String &name, G4Region *region, const edm::ParameterSet &parSet)
Definition: LowEnergyFastSimModel.cc:14