CMS 3D CMS Logo

GFlashEMShowerModel.h
Go to the documentation of this file.
1 //
2 //---------------------------------------------------------------
3 //
4 // GFlashEMShowerModel
5 //
6 // Class description:
7 //
8 // GFlash parameterisation shower model.
9 
10 // Authors: E.Barberio & Joanna Weng - 9.11.04
11 // other authors : Soon Yung Jun & Dongwook Jang - 2007/12/07
12 // V.Ivanchenko rename the class and move
13 // to SimG4Core/Application - 2012/08/14
14 //---------------------------------------------------------------
15 
16 #ifndef GFlashEMShowerModel_h
17 #define GFlashEMShowerModel_h
18 
20 
21 #include "G4VFastSimulationModel.hh"
22 #include "G4TouchableHandle.hh"
23 #include "G4Navigator.hh"
24 #include "G4Step.hh"
25 
27 class G4Region;
28 
29 class GFlashEMShowerModel : public G4VFastSimulationModel {
30 public:
31  GFlashEMShowerModel(const G4String& name, G4Envelope* env, const edm::ParameterSet& parSet);
32  ~GFlashEMShowerModel() override;
33 
34  G4bool ModelTrigger(const G4FastTrack&) override;
35  G4bool IsApplicable(const G4ParticleDefinition&) override;
36  void DoIt(const G4FastTrack&, G4FastStep&) override;
37 
38 private:
39  G4bool excludeDetectorRegion(const G4FastTrack& fastTrack);
40  void makeHits(const G4FastTrack& fastTrack);
41  void updateGflashStep(const G4ThreeVector& position, G4double time);
42 
43  //
46 
48 
49  G4Region* theRegion;
50 
51  G4Step* theGflashStep;
52  G4Navigator* theGflashNavigator;
53  G4TouchableHandle theGflashTouchableHandle;
54 };
55 #endif
void makeHits(const G4FastTrack &fastTrack)
G4TouchableHandle theGflashTouchableHandle
void DoIt(const G4FastTrack &, G4FastStep &) override
GflashEMShowerProfile * theProfile
G4bool IsApplicable(const G4ParticleDefinition &) override
GFlashEMShowerModel(const G4String &name, G4Envelope *env, const edm::ParameterSet &parSet)
G4bool ModelTrigger(const G4FastTrack &) override
edm::ParameterSet theParSet
static int position[264][3]
Definition: ReadPGInfo.cc:289
void updateGflashStep(const G4ThreeVector &position, G4double time)
G4bool excludeDetectorRegion(const G4FastTrack &fastTrack)
G4Navigator * theGflashNavigator