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 // $Id: GflashEMShowerModel.h,v 1.12 2013/05/30 21:10:49 gartung Exp $
28 // GEANT4 tag $Name: CMSSW_6_2_0 $
29 //
30 //
31 //---------------------------------------------------------------
32 // GEANT 4 class header file
33 //
34 // GflashEMShowerModel
35 //
36 // Class description:
37 //
38 // GFlash parameterisation shower model.
39 
40 // Authors: E.Barberio & Joanna Weng - 9.11.04
41 // other authors : Soon Yung Jun & Dongwook Jang - 2007/12/07
42 //---------------------------------------------------------------
43 #ifndef GflashEMShowerModel_h
44 #define GflashEMShowerModel_h
45 
46 #include "G4VFastSimulationModel.hh"
48 
49 #include "G4TouchableHandle.hh"
50 #include "G4Navigator.hh"
51 #include "G4Step.hh"
52 
54 class G4Region;
55 
56 class GflashEMShowerModel : public G4VFastSimulationModel {
57 
58  public:
59 
60  GflashEMShowerModel (const G4String& name, G4Envelope* env,
61  const edm::ParameterSet& parSet);
62  virtual ~GflashEMShowerModel ();
63 
64  G4bool ModelTrigger(const G4FastTrack &);
65  G4bool IsApplicable(const G4ParticleDefinition&);
66  void DoIt(const G4FastTrack&, G4FastStep&);
67 
68 private:
69  G4bool excludeDetectorRegion(const G4FastTrack& fastTrack);
70  void makeHits(const G4FastTrack& fastTrack);
71  void updateGflashStep(const G4ThreeVector& position, G4double time);
72 
73 private:
76 
78 
79  const G4Region* theRegion;
80 
81  G4Step *theGflashStep;
82  G4Navigator *theGflashNavigator;
83  G4TouchableHandle theGflashTouchableHandle;
84 
85 };
86 #endif
void DoIt(const G4FastTrack &, G4FastStep &)
G4bool excludeDetectorRegion(const G4FastTrack &fastTrack)
G4TouchableHandle theGflashTouchableHandle
edm::ParameterSet theParSet
static int position[TOTALCHAMBERS][3]
Definition: ReadPGInfo.cc:509
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)
G4Navigator * theGflashNavigator
void makeHits(const G4FastTrack &fastTrack)
G4bool ModelTrigger(const G4FastTrack &)