CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
16 class LowEnergyFastSimModel : public G4VFastSimulationModel {
17 public:
18  LowEnergyFastSimModel(const G4String& name, G4Region* region, const edm::ParameterSet& parSet);
19 
20  G4bool IsApplicable(const G4ParticleDefinition& particle) override;
21  G4bool ModelTrigger(const G4FastTrack& fastTrack) override;
22  void DoIt(const G4FastTrack& fastTrack, G4FastStep& fastStep) override;
23 
24 private:
25  G4double fEmax;
26  const G4Envelope* fRegion;
28  G4bool fCheck;
29  G4ThreeVector fTailPos;
30  GFlashHitMaker fHitMaker;
32 };
33 
34 #endif
G4bool IsApplicable(const G4ParticleDefinition &particle) override
const G4Envelope * fRegion
LowEnergyFastSimParam fParam
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