CMS 3D CMS Logo

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