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
HcalRawTowerBuilder.cc
HcalRawTowerBuilder.h
RawTowerBuilder.cc
RawTowerBuilder.h
RawTowerBuilderByHitIndex.cc
RawTowerBuilderByHitIndex.h
RawTowerDigitizer.cc
RawTowerDigitizer.h
g4centrality
g4decayer
g4detectors
g4epd
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
RawTowerBuilderByHitIndex.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file RawTowerBuilderByHitIndex.h
1
#ifndef G4CALO__RAWTOWERBUILDERBYHITINDEX_H
2
#define G4CALO__RAWTOWERBUILDERBYHITINDEX_H
3
4
#include <calobase/RawTowerDefs.h>
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <map>
9
#include <string>
10
11
class
PHCompositeNode
;
12
class
RawTowerContainer
;
13
class
RawTowerGeomContainer
;
14
20
class
RawTowerBuilderByHitIndex
:
public
SubsysReco
21
{
22
public
:
23
RawTowerBuilderByHitIndex
(
const
std::string &
name
=
"RawTowerBuilderByHitIndex"
);
24
~RawTowerBuilderByHitIndex
()
override
{}
25
26
int
InitRun
(
PHCompositeNode
*topNode)
override
;
27
28
int
process_event
(
PHCompositeNode
*topNode)
override
;
29
30
int
End
(
PHCompositeNode
*topNode)
override
;
31
34
void
Detector
(
const
std::string &
d
);
35
38
void
GeometryTableFile
(
const
std::string &
d
)
39
{
40
m_MappingTowerFile
=
d
;
41
}
42
46
void
EminCut
(
const
double
e
) {
m_Emin
=
e
; }
47
51
std::string
52
get_sim_tower_node_prefix
()
const
53
{
54
return
m_SimTowerNodePrefix
;
55
}
56
60
void
61
set_sim_tower_node_prefix
(
const
std::string &simTowerNodePrefix)
62
{
63
m_SimTowerNodePrefix
= simTowerNodePrefix;
64
}
65
66
private
:
71
void
CreateNodes
(
PHCompositeNode
*topNode);
72
75
bool
ReadGeometryFromTable
();
76
77
RawTowerContainer
*
m_Towers
;
78
RawTowerGeomContainer
*
m_Geoms
;
79
80
std::string
m_Detector
;
81
std::string
m_SimTowerNodePrefix
;
82
83
std::string
m_MappingTowerFile
;
84
85
RawTowerDefs::CalorimeterId
m_CaloId
;
86
87
double
m_GlobalPlaceInX
;
88
double
m_GlobalPlaceInY
;
89
double
m_GlobalPlaceInZ
;
90
91
double
m_RotInX
;
92
double
m_RotInY
;
93
double
m_RotInZ
;
94
95
double
m_Emin
;
96
97
std::map<std::string, double>
m_GlobalParameterMap
;
98
};
99
100
#endif
coresoftware
blob
master
simulation
g4simulation
g4calo
RawTowerBuilderByHitIndex.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:40
using
1.8.2 with
ECCE GitHub integration