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  const G4Region *theRegion;
48 
49  G4Step *theGflashStep;
50  G4Navigator *theGflashNavigator;
51  G4TouchableHandle theGflashTouchableHandle;
52 };
53 #endif
GflashEMShowerModel::DoIt
void DoIt(const G4FastTrack &, G4FastStep &) override
Definition: GflashEMShowerModel.cc:71
GflashEMShowerModel::~GflashEMShowerModel
~GflashEMShowerModel() override
Definition: GflashEMShowerModel.cc:37
protons_cff.time
time
Definition: protons_cff.py:35
GflashEMShowerProfile
Definition: GflashEMShowerProfile.h:15
GflashEMShowerModel::theRegion
const G4Region * theRegion
Definition: GflashEMShowerModel.h:47
web.browse_db.env
env
Definition: browse_db.py:18
edm::ParameterSet
Definition: ParameterSet.h:47
GflashEMShowerModel::IsApplicable
G4bool IsApplicable(const G4ParticleDefinition &) override
Definition: GflashEMShowerModel.cc:42
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
GflashEMShowerModel
Definition: GflashEMShowerModel.h:28
GflashEMShowerModel::excludeDetectorRegion
G4bool excludeDetectorRegion(const G4FastTrack &fastTrack)
Definition: GflashEMShowerModel.cc:143
GflashEMShowerModel::theParSet
edm::ParameterSet theParSet
Definition: GflashEMShowerModel.h:43
GflashEMShowerModel::theGflashStep
G4Step * theGflashStep
Definition: GflashEMShowerModel.h:49
GflashEMShowerModel::ModelTrigger
G4bool ModelTrigger(const G4FastTrack &) override
Definition: GflashEMShowerModel.cc:47
GflashEMShowerModel::makeHits
void makeHits(const G4FastTrack &fastTrack)
Definition: GflashEMShowerModel.cc:93
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
GflashEMShowerModel::theGflashNavigator
G4Navigator * theGflashNavigator
Definition: GflashEMShowerModel.h:50
GflashEMShowerModel::theGflashTouchableHandle
G4TouchableHandle theGflashTouchableHandle
Definition: GflashEMShowerModel.h:51
ParameterSet.h
GflashEMShowerModel::updateGflashStep
void updateGflashStep(const G4ThreeVector &position, G4double time)
Definition: GflashEMShowerModel.cc:135
GflashEMShowerModel::GflashEMShowerModel
GflashEMShowerModel(const G4String &name, G4Envelope *env, const edm::ParameterSet &parSet)
Definition: GflashEMShowerModel.cc:23
GflashEMShowerModel::theProfile
GflashEMShowerProfile * theProfile
Definition: GflashEMShowerModel.h:45