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
blob
master
calibrations
generators
offline
simulation
g4simulation
EICPhysicsList
g4bbc
g4calo
g4centrality
g4decayer
g4detectors
g4epd
PHG4EPDDetector.cc
PHG4EPDDetector.h
PHG4EPDDisplayAction.cc
PHG4EPDDisplayAction.h
PHG4EPDSteppingAction.cc
PHG4EPDSteppingAction.h
PHG4EPDSubsystem.cc
PHG4EPDSubsystem.h
g4eval
g4gdml
g4histos
g4intt
g4jets
g4main
g4micromegas
g4mvtx
g4tpc
g4trackfastsim
g4vertex
tpcresponse
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
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
PHG4EPDDetector.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4EPDDetector.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
/* vim: set sw=2 ft=cpp: */
4
5
#ifndef G4EPD_PHG4EPDDETECTOR_H
6
#define G4EPD_PHG4EPDDETECTOR_H
7
8
#include <
g4main/PHG4Detector.h
>
9
10
#include <cstdint>
11
#include <map>
12
#include <set>
13
#include <string>
14
15
class
G4ExtrudedSolid
;
16
class
G4LogicalVolume
;
17
class
G4VPhysicalVolume
;
18
class
PHCompositeNode
;
19
class
PHG4EPDDisplayAction
;
20
class
PHG4Subsystem
;
21
class
PHParameters
;
22
23
class
PHG4EPDDetector
:
public
PHG4Detector
24
{
25
public
:
26
PHG4EPDDetector
(
PHG4Subsystem
* subsys,
27
PHCompositeNode
* node,
28
PHParameters
*
parameters
,
29
std::string
const
&
name
);
30
31
void
ConstructMe
(
G4LogicalVolume
*
world
)
override
;
32
33
int
IsInDetector
(
G4VPhysicalVolume
*)
const
;
34
35
uint32_t
module_id_for
(int32_t index, int32_t slice, int32_t side);
36
uint32_t
module_id_for
(
G4VPhysicalVolume
*
volume
);
37
38
void
SuperDetector
(std::string
const
& name) {
superdetector
=
name
; }
39
const
std::string
SuperDetector
()
const
{
return
superdetector
; }
40
41
PHG4EPDDisplayAction
*
GetDisplayAction
() {
return
m_DisplayAction
; }
42
43
private
:
44
G4ExtrudedSolid
*
construct_block
(int32_t index);
45
46
PHG4EPDDisplayAction
*
m_DisplayAction
=
nullptr
;
47
PHParameters
*
m_Params
=
nullptr
;
48
49
int
m_ActiveFlag
= 0;
50
int
m_SupportActiveFlag
= 0;
51
52
std::set<G4LogicalVolume*>
m_SupportLogVolSet
;
53
std::set<G4LogicalVolume*>
m_ActiveLogVolSet
;
54
55
std::map<G4VPhysicalVolume*, uint32_t>
m_volumes
;
56
57
std::string
superdetector
;
58
};
59
60
#endif
/* G4EPD_PHG4EPDETECTOR_H */
coresoftware
blob
master
simulation
g4simulation
g4epd
PHG4EPDDetector.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:42
using
1.8.2 with
ECCE GitHub integration