CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GflashEMShowerModel.h
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 //
27 // GEANT4 tag $Name: V04-05-01 $
28 //
29 //
30 //---------------------------------------------------------------
31 // GEANT 4 class header file
32 //
33 // GflashEMShowerModel
34 //
35 // Class description:
36 //
37 // GFlash parameterisation shower model.
38 
39 // Authors: E.Barberio & Joanna Weng - 9.11.04
40 // other authors : Soon Yung Jun & Dongwook Jang - 2007/12/07
41 //---------------------------------------------------------------
42 #ifndef GflashEMShowerModel_h
43 #define GflashEMShowerModel_h
44 
45 #include "G4VFastSimulationModel.hh"
47 
48 #include "G4TouchableHandle.hh"
49 #include "G4Navigator.hh"
50 #include "G4Step.hh"
51 
53 class G4Region;
54 
55 class GflashEMShowerModel : public G4VFastSimulationModel {
56 
57  public:
58 
59  GflashEMShowerModel (const G4String& name, G4Envelope* env,
60  const edm::ParameterSet& parSet);
61  virtual ~GflashEMShowerModel ();
62 
63  G4bool ModelTrigger(const G4FastTrack &);
64  G4bool IsApplicable(const G4ParticleDefinition&);
65  void DoIt(const G4FastTrack&, G4FastStep&);
66 
67 private:
68  G4bool excludeDetectorRegion(const G4FastTrack& fastTrack);
69  void makeHits(const G4FastTrack& fastTrack);
70  void updateGflashStep(const G4ThreeVector& position, G4double time);
71 
72 private:
75 
77 
78  const G4Region* theRegion;
79 
80  G4Step *theGflashStep;
81  G4Navigator *theGflashNavigator;
82  G4TouchableHandle theGflashTouchableHandle;
83 
84 };
85 #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 &)