ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExGflashDetectorConstruction.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ExGflashDetectorConstruction.hh
1 // ********************************************************************
2 // * License and Disclaimer *
3 // * *
4 // * The Geant4 software is copyright of the Copyright Holders of *
5 // * the Geant4 Collaboration. It is provided under the terms and *
6 // * conditions of the Geant4 Software License, included in the file *
7 // * LICENSE and available at http://cern.ch/geant4/license . These *
8 // * include a list of copyright holders. *
9 // * *
10 // * Neither the authors of this software system, nor their employing *
11 // * institutes,nor the agencies providing financial support for this *
12 // * work make any representation or warranty, express or implied, *
13 // * regarding this software system or assume any liability for its *
14 // * use. Please see the license in the file LICENSE and URL above *
15 // * for the full disclaimer and the limitation of liability. *
16 // * *
17 // * This code implementation is the result of the scientific and *
18 // * technical work of the GEANT4 collaboration. *
19 // * By using, copying, modifying or distributing the software (or *
20 // * any work based on the software) you agree to acknowledge its *
21 // * use in resulting scientific publications, and indicate your *
22 // * acceptance of all terms of the Geant4 Software license. *
23 // ********************************************************************
24 //
25 //
28 //
29 #ifndef ExGflashDetectorConstruction_h
30 #define ExGflashDetectorConstruction_h 1
31 
34 #include "G4ThreeVector.hh"
35 #include "G4Cache.hh"
36 #include "globals.hh"
37 
38 class G4LogicalVolume;
39 class G4VPhysicalVolume;
40 class G4Material;
41 class G4Region;
42 
44 class GFlashShowerModel;
45 class GFlashHitMaker;
47 class ExGflashMessenger;
48 
50 {
51 public:
54 
55  virtual G4VPhysicalVolume* Construct();
56  virtual void ConstructSDandField();
57 
60  void SetVerbose(G4int val) {fVerbose = val;}
61 
62  void SetMaterial(G4String mat);
63 
64  G4int GetVerbose() const {return fVerbose;}
65 
66  G4int GetnLtot() const {return fNLtot;}
67  G4int GetnRtot() const {return fNRtot;}
68  G4double GetdLradl() const {return fDLradl;}
69  G4double GetdRradl() const {return fDRradl;}
70 
71  G4double GetSDRadLen() const {return fSDRadLen;}
72 
73 private:
74  G4int fNbOfCrystals; // cube of nb x nb crystals
75 
76  G4double fCrystalWidth; // x,y size
78 
82 
83  G4double fSDRadLen; // SD material Rad Lenght
84 
86  G4int fNLtot, fNRtot; // nb of bins: longitudinal and radial
87  G4double fDLradl, fDRradl; // bin thickness (in radl unit)
88 
90 
95 };
96 
97 #endif