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
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
analysis
coresoftware
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
blob
master
analysis
reconstruction
simulation
g4simulation
g4b0
g4b0ecal
g4barrelmmg
g4beastmagnet
g4bwd
g4drcalo
g4drich
g4eiccalos
PHG4BackwardHcalDetector.cc
PHG4BackwardHcalDetector.h
PHG4BackwardHcalDisplayAction.cc
PHG4BackwardHcalDisplayAction.h
PHG4BackwardHcalSteppingAction.cc
PHG4BackwardHcalSteppingAction.h
PHG4BackwardHcalSubsystem.cc
PHG4BackwardHcalSubsystem.h
PHG4BarrelEcalDetector.cc
PHG4BarrelEcalDetector.h
PHG4BarrelEcalDisplayAction.cc
PHG4BarrelEcalDisplayAction.h
PHG4BarrelEcalSteppingAction.cc
PHG4BarrelEcalSteppingAction.h
PHG4BarrelEcalSubsystem.cc
PHG4BarrelEcalSubsystem.h
PHG4CrystalCalorimeterDefs.h
PHG4CrystalCalorimeterDetector.cc
PHG4CrystalCalorimeterDetector.h
PHG4CrystalCalorimeterDisplayAction.cc
PHG4CrystalCalorimeterDisplayAction.h
PHG4CrystalCalorimeterSteppingAction.cc
PHG4CrystalCalorimeterSteppingAction.h
PHG4CrystalCalorimeterSubsystem.cc
PHG4CrystalCalorimeterSubsystem.h
PHG4EICForwardEcalDetector.cc
PHG4EICForwardEcalDetector.h
PHG4FCalDetector.cc
PHG4FCalDetector.h
PHG4FCalSteppingAction.cc
PHG4FCalSteppingAction.h
PHG4FCalSubsystem.cc
PHG4FCalSubsystem.h
PHG4ForwardCalCellReco.cc
PHG4ForwardCalCellReco.h
PHG4ForwardEcalDetector.cc
PHG4ForwardEcalDetector.h
PHG4ForwardEcalDisplayAction.cc
PHG4ForwardEcalDisplayAction.h
PHG4ForwardEcalSteppingAction.cc
PHG4ForwardEcalSteppingAction.h
PHG4ForwardEcalSubsystem.cc
PHG4ForwardEcalSubsystem.h
PHG4ForwardHcalDetector.cc
PHG4ForwardHcalDetector.h
PHG4ForwardHcalDisplayAction.cc
PHG4ForwardHcalDisplayAction.h
PHG4ForwardHcalSteppingAction.cc
PHG4ForwardHcalSteppingAction.h
PHG4ForwardHcalSubsystem.cc
PHG4ForwardHcalSubsystem.h
PHG4FPbScDetector.cc
PHG4FPbScDetector.h
PHG4FPbScRegionSteppingAction.cc
PHG4FPbScRegionSteppingAction.h
PHG4FPbScSteppingAction.cc
PHG4FPbScSteppingAction.h
PHG4FPbScSubsystem.cc
PHG4FPbScSubsystem.h
PHG4HybridHomogeneousCalorimeterDetector.cc
PHG4HybridHomogeneousCalorimeterDetector.h
PHG4HybridHomogeneousCalorimeterDisplayAction.cc
PHG4HybridHomogeneousCalorimeterDisplayAction.h
PHG4HybridHomogeneousCalorimeterSteppingAction.cc
PHG4HybridHomogeneousCalorimeterSteppingAction.h
PHG4HybridHomogeneousCalorimeterSubsystem.cc
PHG4HybridHomogeneousCalorimeterSubsystem.h
PHG4LFHcalDetector.cc
PHG4LFHcalDetector.h
PHG4LFHcalDisplayAction.cc
PHG4LFHcalDisplayAction.h
PHG4LFHcalSteppingAction.cc
PHG4LFHcalSteppingAction.h
PHG4LFHcalSubsystem.cc
PHG4LFHcalSubsystem.h
PHG4ProjCrystalCalorimeterDetector.cc
PHG4ProjCrystalCalorimeterDetector.h
RawTowerBuilderByHitIndexBECAL.cc
RawTowerBuilderByHitIndexBECAL.h
RawTowerBuilderByHitIndexLHCal.cc
RawTowerBuilderByHitIndexLHCal.h
g4eicdirc
g4etof
g4jleic
g4lblvtx
g4lumi
g4mrich
g4rich
g4rp
g4trd
g4ttl
g4zdc
geant4
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHG4FPbScDetector.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4FPbScDetector.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4FPBSCDETECTOR_H
4
#define G4DETECTORS_PHG4FPBSCDETECTOR_H
5
6
#include "
g4main/PHG4Detector.h
"
7
8
#include <Geant4/G4Region.hh>
9
#include <Geant4/G4String.hh>
// for G4String
10
#include <Geant4/G4SystemOfUnits.hh>
11
#include <Geant4/G4Types.hh>
12
13
#include <cstddef>
// for size_t
14
#include <map>
15
#include <string>
// for string
16
17
class
G4Material
;
18
class
G4Box
;
19
class
G4LogicalVolume
;
20
class
G4UserSteppingAction
;
21
class
G4VPhysicalVolume
;
22
class
PHCompositeNode
;
23
class
PHG4Subsystem
;
24
25
class
PHG4FPbScDetector
:
public
PHG4Detector
26
{
27
public
:
28
PHG4FPbScDetector
(
PHG4Subsystem
* subsys,
PHCompositeNode
* Node,
const
std::string& nam);
29
30
virtual
~PHG4FPbScDetector
(
void
) {}
31
32
virtual
void
ConstructMe
(
G4LogicalVolume
*
world
);
33
34
virtual
G4UserSteppingAction
*
GetSteppingAction
()
35
{
36
if
(
_region
)
37
return
_region
->
GetRegionalSteppingAction
();
38
else
39
return
0;
40
}
41
42
bool
isInScintillator
(
G4VPhysicalVolume
*
volume
);
43
int
getScintillatorLayer
(
G4VPhysicalVolume
*
volume
);
44
// compute tower index
45
unsigned
int
computeIndex
(
unsigned
int
layer
,
G4double
x
,
G4double
y
,
G4double
z
,
G4double
& xcenter,
G4double
& ycenter,
G4double
& zcenter);
46
void
set_Place
(
G4double
x
,
G4double
y
,
G4double
z
)
47
{
48
x_position
= x *
cm
;
49
y_position
= y *
cm
;
50
z_position
= z *
cm
;
51
}
52
53
private
:
54
G4double
tower_cross_section
;
55
size_t
segments_per_column
,
segments_per_height
;
56
G4double
length
,
height
,
absorber_thickness
,
scintillator_thickness
;
57
unsigned
int
nlayers
;
//, segments_per_thickness;
58
G4double
x_position
,
y_position
,
z_position
;
59
G4double
layer_separation
;
60
61
G4Material
*
SetMaterial
(
G4String
);
62
63
G4Material
*
AbsorberMaterial
;
64
G4Material
*
ScintillatorMaterial
;
65
66
std::map<unsigned int, G4Box*>
absorber_solid_
;
67
std::map<unsigned int, G4LogicalVolume*>
absorber_logic_
;
68
std::map<unsigned int, G4VPhysicalVolume*>
absorber_physi_
;
69
70
std::map<unsigned int, G4Box*>
scintillator_solid_
;
71
std::map<unsigned int, G4LogicalVolume*>
scintillator_logic_
;
72
std::map<unsigned int, G4VPhysicalVolume*>
scintillator_physi_
;
73
74
G4Region
*
_region
;
75
};
76
77
#endif
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4eiccalos
PHG4FPbScDetector.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:47
using
1.8.2 with
ECCE GitHub integration