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.9 2010/04/19 16:21:51 syjun Exp $
28 // GEANT4 tag $Name: CMSSW_5_3_11_patch3 $
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 
55 class GflashEMShowerModel : public G4VFastSimulationModel {
56 
57  public:
58 
59  GflashEMShowerModel (G4String name, G4Envelope* env, edm::ParameterSet parSet);
61 
62  G4bool ModelTrigger(const G4FastTrack &);
63  G4bool IsApplicable(const G4ParticleDefinition&);
64  void DoIt(const G4FastTrack&, G4FastStep&);
65 
66 private:
67  G4bool excludeDetectorRegion(const G4FastTrack& fastTrack);
68  void makeHits(const G4FastTrack& fastTrack);
69  void updateGflashStep(G4ThreeVector position, G4double time);
70 
71 private:
74 
76 
77  G4Step *theGflashStep;
78  G4Navigator *theGflashNavigator;
79  G4TouchableHandle theGflashTouchableHandle;
80 
81 };
82 #endif
void DoIt(const G4FastTrack &, G4FastStep &)
G4bool excludeDetectorRegion(const G4FastTrack &fastTrack)
void updateGflashStep(G4ThreeVector position, G4double time)
G4TouchableHandle theGflashTouchableHandle
edm::ParameterSet theParSet
static int position[TOTALCHAMBERS][3]
Definition: ReadPGInfo.cc:509
GflashEMShowerProfile * theProfile
G4bool IsApplicable(const G4ParticleDefinition &)
G4Navigator * theGflashNavigator
void makeHits(const G4FastTrack &fastTrack)
GflashEMShowerModel(G4String name, G4Envelope *env, edm::ParameterSet parSet)
G4bool ModelTrigger(const G4FastTrack &)