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 
18 #include "G4VFastSimulationModel.hh"
20 
21 #include "G4TouchableHandle.hh"
22 #include "G4Navigator.hh"
23 #include "G4Step.hh"
24 
26 class G4Region;
27 
28 class GflashEMShowerModel : public G4VFastSimulationModel {
29 
30  public:
31 
32  GflashEMShowerModel (const G4String& name, G4Envelope* env,
33  const edm::ParameterSet& parSet);
34  virtual ~GflashEMShowerModel ();
35 
36  G4bool ModelTrigger(const G4FastTrack &);
37  G4bool IsApplicable(const G4ParticleDefinition&);
38  void DoIt(const G4FastTrack&, G4FastStep&);
39 
40 private:
41  G4bool excludeDetectorRegion(const G4FastTrack& fastTrack);
42  void makeHits(const G4FastTrack& fastTrack);
43  void updateGflashStep(const G4ThreeVector& position, G4double time);
44 
45 private:
46 
48 
50 
51  const G4Region* theRegion;
52 
53  G4Step *theGflashStep;
54  G4Navigator *theGflashNavigator;
55  G4TouchableHandle theGflashTouchableHandle;
56 
57 };
58 #endif
void DoIt(const G4FastTrack &, G4FastStep &)
G4bool excludeDetectorRegion(const G4FastTrack &fastTrack)
G4TouchableHandle theGflashTouchableHandle
edm::ParameterSet theParSet
const G4Region * theRegion
GflashEMShowerProfile * theProfile
GflashEMShowerModel(const G4String &name, G4Envelope *env, const edm::ParameterSet &parSet)
G4bool IsApplicable(const G4ParticleDefinition &)
void updateGflashStep(const G4ThreeVector &position, G4double time)
static int position[264][3]
Definition: ReadPGInfo.cc:509
G4Navigator * theGflashNavigator
void makeHits(const G4FastTrack &fastTrack)
G4bool ModelTrigger(const G4FastTrack &)