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
g4eval
g4gdml
g4histos
g4intt
InttDeadMap.cc
InttDeadMap.h
InttDeadMapLinkDef.h
InttDeadMapv1.cc
InttDeadMapv1.h
InttDeadMapv1LinkDef.h
PHG4InttDeadMapLoader.cc
PHG4InttDeadMapLoader.h
PHG4InttDefs.h
PHG4InttDetector.cc
PHG4InttDetector.h
PHG4InttDigitizer.cc
PHG4InttDigitizer.h
PHG4InttDisplayAction.cc
PHG4InttDisplayAction.h
PHG4InttFPHXParameterisation.cc
PHG4InttFPHXParameterisation.h
PHG4InttHitReco.cc
PHG4InttHitReco.h
PHG4InttSteppingAction.cc
PHG4InttSteppingAction.h
PHG4InttSubsystem.cc
PHG4InttSubsystem.h
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
PHG4InttDetector.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4InttDetector.h
1
// Tell emacs that this is a C++ source
2
// This file is really -*- C++ -*-.
3
#ifndef G4INTT_PHG4INTTDETECTOR_H
4
#define G4INTT_PHG4INTTDETECTOR_H
5
6
#include <
g4main/PHG4Detector.h
>
7
8
#include <map>
9
#include <set>
10
#include <string>
// for string
11
#include <tuple>
12
#include <utility>
// for pair
13
#include <vector>
14
15
class
G4LogicalVolume
;
16
class
G4VPhysicalVolume
;
17
class
PHCompositeNode
;
18
class
PHG4InttDisplayAction
;
19
class
PHG4Subsystem
;
20
class
PHParametersContainer
;
21
22
class
PHG4InttDetector
:
public
PHG4Detector
23
{
24
public
:
26
PHG4InttDetector
(
PHG4Subsystem
*subsys,
PHCompositeNode
*Node,
PHParametersContainer
*
parameters
,
const
std::string &dnam,
const
std::pair<std::vector<std::pair<int, int>>::const_iterator, std::vector<std::pair<int, int>>::const_iterator> &layer_b_e);
27
29
~PHG4InttDetector
()
override
{}
31
void
ConstructMe
(
G4LogicalVolume
*
world
)
override
;
32
34
35
int
IsInIntt
(
G4VPhysicalVolume
*)
const
;
37
38
void
SuperDetector
(
const
std::string &
name
)
39
{
40
m_SuperDetector
=
name
;
41
}
42
const
std::string
SuperDetector
()
const
43
{
44
return
m_SuperDetector
;
45
}
46
void
Detector
(
const
std::string &
name
)
47
{
48
m_DetectorType
=
name
;
49
}
50
const
std::string
Detector
()
const
51
{
52
return
m_DetectorType
;
53
}
54
55
std::map<G4VPhysicalVolume *, std::tuple<int, int, int, int>>::const_iterator
get_ActiveVolumeTuple
(
G4VPhysicalVolume
*physvol)
const
;
56
std::map<G4LogicalVolume *, std::tuple<int, int>>::const_iterator
get_PassiveVolumeTuple
(
G4LogicalVolume
*logvol)
const
;
57
58
private
:
59
void
AddGeometryNode
();
60
int
ConstructIntt
(
G4LogicalVolume
*sandwich);
61
62
PHG4InttDisplayAction
*
m_DisplayAction
;
63
PHParametersContainer
*
m_ParamsContainer
;
64
65
std::string
m_DetectorType
;
66
std::string
m_SuperDetector
;
67
68
int
m_IsSupportActive
;
69
int
m_IsEndcapActive
;
70
71
double
m_PosZ
[8][2];
72
double
m_SensorRadius
[8];
73
double
m_StripOffsetX
[8];
74
75
std::set<G4LogicalVolume *>
m_ActiveLogVols
;
76
std::map<int, int>
m_IsActiveMap
;
77
std::map<int, int>
m_IsAbsorberActiveMap
;
78
std::pair<std::vector<std::pair<int, int>>::const_iterator, std::vector<std::pair<int, int>>::const_iterator>
m_LayerBeginEndIteratorPair
;
79
std::map<G4VPhysicalVolume *, std::tuple<int, int, int, int>>
m_ActiveVolumeTuple
;
80
std::map<G4LogicalVolume *, std::tuple<int, int>>
m_PassiveVolumeTuple
;
81
};
82
83
#endif
coresoftware
blob
master
simulation
g4simulation
g4intt
PHG4InttDetector.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:43
using
1.8.2 with
ECCE GitHub integration