ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
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
32
#include "
G4VUserDetectorConstruction.hh
"
33
#include "
ExGflashSensitiveDetector.hh
"
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
43
class
GFlashHomoShowerParameterisation
;
44
class
GFlashShowerModel
;
45
class
GFlashHitMaker
;
46
class
GFlashParticleBounds
;
47
class
ExGflashMessenger
;
48
49
class
ExGflashDetectorConstruction
:
public
G4VUserDetectorConstruction
50
{
51
public
:
52
ExGflashDetectorConstruction
();
53
~ExGflashDetectorConstruction
();
54
55
virtual
G4VPhysicalVolume
*
Construct
();
56
virtual
void
ConstructSDandField
();
57
58
void
SetLBining
(
G4ThreeVector
);
59
void
SetRBining
(
G4ThreeVector
);
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
77
G4double
fCrystalLength
;
// z size
78
79
G4LogicalVolume
*
fCrystal_log
;
80
G4Material
*
fDetMat
;
81
G4Region
*
fRegion
;
82
83
G4double
fSDRadLen
;
// SD material Rad Lenght
84
85
G4int
fVerbose
;
86
G4int
fNLtot
,
fNRtot
;
// nb of bins: longitudinal and radial
87
G4double
fDLradl
,
fDRradl
;
// bin thickness (in radl unit)
88
89
ExGflashMessenger
*
fGflashMessenger
;
90
91
static
G4ThreadLocal
GFlashShowerModel
*
fFastShowerModel
;
92
static
G4ThreadLocal
GFlashHomoShowerParameterisation
*
fParameterisation
;
93
static
G4ThreadLocal
GFlashParticleBounds
*
fParticleBounds
;
94
static
G4ThreadLocal
GFlashHitMaker
*
fHitMaker
;
95
};
96
97
#endif
geant4
tree
geant4-10.6-release
examples
extended
parameterisations
gflash
gflasha
include
ExGflashDetectorConstruction.hh
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:09
using
1.8.2 with
ECCE GitHub integration