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
G4bool IsApplicable(const G4ParticleDefinition &particle) override
const G4Envelope *const fRegion
LowEnergyFastSimModel(const G4String &name, G4Region *region, const edm::ParameterSet &parSet)
void DoIt(const G4FastTrack &fastTrack, G4FastStep &fastStep) override
LowEnergyFastSimParam param
G4bool ModelTrigger(const G4FastTrack &fastTrack) override