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 #include "G4ThreeVector.hh"
13 
14 class TrackingAction;
15 class G4ParticleDefinition;
16 class G4Material;
17 
18 class LowEnergyFastSimModel : public G4VFastSimulationModel {
19 public:
20  LowEnergyFastSimModel(const G4String& name, G4Region* region, const edm::ParameterSet& parSet);
21 
22  G4bool IsApplicable(const G4ParticleDefinition& particle) override;
23  G4bool ModelTrigger(const G4FastTrack& fastTrack) override;
24  void DoIt(const G4FastTrack& fastTrack, G4FastStep& fastStep) override;
25 
26 private:
27  G4double fEmax;
28  const G4Envelope* fRegion;
30  const G4ParticleDefinition* fPositron;
31  const G4Material* fMaterial;
32  G4bool fCheck;
33  G4ThreeVector fTailPos;
34  GFlashHitMaker fHitMaker;
36 };
37 
38 #endif
const G4ParticleDefinition * fPositron
G4bool IsApplicable(const G4ParticleDefinition &particle) override
const G4Envelope * fRegion
LowEnergyFastSimParam fParam
const G4Material * fMaterial
const TrackingAction * fTrackingAction
LowEnergyFastSimModel(const G4String &name, G4Region *region, const edm::ParameterSet &parSet)
void DoIt(const G4FastTrack &fastTrack, G4FastStep &fastStep) override
G4bool ModelTrigger(const G4FastTrack &fastTrack) override