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
CaloTriggerSim.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CaloTriggerSim.h
1
#ifndef TRIGGER_CALOTRIGGERSIM_H
2
#define TRIGGER_CALOTRIGGERSIM_H
3
4
//===========================================================
8
//===========================================================
9
10
// sPHENIX includes
11
#include <
fun4all/SubsysReco.h
>
12
13
// standard includes
14
#include <string>
15
#include <vector>
16
17
// forward declarations
18
class
PHCompositeNode
;
19
26
class
CaloTriggerSim
:
public
SubsysReco
27
{
28
public
:
29
CaloTriggerSim
(
const
std::string &
name
=
"CaloTriggerSim"
);
30
~CaloTriggerSim
()
override
{}
31
32
int
InitRun
(
PHCompositeNode
*topNode)
override
;
33
int
process_event
(
PHCompositeNode
*topNode)
override
;
34
35
void
set_truncation
(
const
int
emulate_truncation) {
m_EmulateTruncationFlag
= emulate_truncation; }
36
double
truncate_8bit
(
const
double
raw_E)
const
;
37
38
private
:
39
int
CreateNode
(
PHCompositeNode
*topNode);
40
void
FillNode
(
PHCompositeNode
*topNode);
41
42
int
m_EmulateTruncationFlag
;
43
44
int
m_EMCAL_1x1_NETA
;
45
int
m_EMCAL_1x1_NPHI
;
46
47
int
m_EMCAL_2x2_NETA
;
48
int
m_EMCAL_2x2_NPHI
;
49
50
int
m_EMCAL_4x4_NETA
;
51
int
m_EMCAL_4x4_NPHI
;
52
53
float
m_EMCAL_2x2_BEST_E
;
54
float
m_EMCAL_2x2_BEST_PHI
;
55
float
m_EMCAL_2x2_BEST_ETA
;
56
57
float
m_EMCAL_4x4_BEST_E
;
58
float
m_EMCAL_4x4_BEST_PHI
;
59
float
m_EMCAL_4x4_BEST_ETA
;
60
61
float
m_EMCAL_4x4_BEST2_E
;
62
float
m_EMCAL_4x4_BEST2_PHI
;
63
float
m_EMCAL_4x4_BEST2_ETA
;
64
65
// needed since phi ranges are potentially different in EMCal vs. HCal
66
float
m_FULLCALO_PHI_START
;
67
float
m_FULLCALO_PHI_END
;
68
69
// full calo (based on 0.1x0.1 HCal towers) limits and maps
70
int
m_FULLCALO_0p1x0p1_NETA
;
71
int
m_FULLCALO_0p1x0p1_NPHI
;
72
73
int
m_FULLCALO_0p2x0p2_NETA
;
74
int
m_FULLCALO_0p2x0p2_NPHI
;
75
76
int
m_FULLCALO_0p4x0p4_NETA
;
77
int
m_FULLCALO_0p4x0p4_NPHI
;
78
79
int
m_FULLCALO_0p6x0p6_NETA
;
80
int
m_FULLCALO_0p6x0p6_NPHI
;
81
82
int
m_FULLCALO_0p8x0p8_NETA
;
83
int
m_FULLCALO_0p8x0p8_NPHI
;
84
85
int
m_FULLCALO_1p0x1p0_NETA
;
86
int
m_FULLCALO_1p0x1p0_NPHI
;
87
88
// highest full calo window energies
89
float
m_FULLCALO_0p2x0p2_BEST_E
;
90
float
m_FULLCALO_0p2x0p2_BEST_PHI
;
91
float
m_FULLCALO_0p2x0p2_BEST_ETA
;
92
93
float
m_FULLCALO_0p4x0p4_BEST_E
;
94
float
m_FULLCALO_0p4x0p4_BEST_PHI
;
95
float
m_FULLCALO_0p4x0p4_BEST_ETA
;
96
97
float
m_FULLCALO_0p6x0p6_BEST_E
;
98
float
m_FULLCALO_0p6x0p6_BEST_PHI
;
99
float
m_FULLCALO_0p6x0p6_BEST_ETA
;
100
101
float
m_FULLCALO_0p8x0p8_BEST_E
;
102
float
m_FULLCALO_0p8x0p8_BEST_PHI
;
103
float
m_FULLCALO_0p8x0p8_BEST_ETA
;
104
105
float
m_FULLCALO_1p0x1p0_BEST_E
;
106
float
m_FULLCALO_1p0x1p0_BEST_PHI
;
107
float
m_FULLCALO_1p0x1p0_BEST_ETA
;
108
109
std::vector<std::vector<double> >
m_EMCAL_1x1_MAP
;
110
std::vector<std::vector<double> >
m_EMCAL_2x2_MAP
;
111
std::vector<std::vector<double> >
m_EMCAL_4x4_MAP
;
112
std::vector<std::vector<double> >
m_FULLCALO_0p1x0p1_MAP
;
113
std::vector<std::vector<double> >
m_FULLCALO_0p2x0p2_MAP
;
114
std::vector<std::vector<double> >
m_FULLCALO_0p4x0p4_MAP
;
115
std::vector<std::vector<double> >
m_FULLCALO_0p6x0p6_MAP
;
116
std::vector<std::vector<double> >
m_FULLCALO_0p8x0p8_MAP
;
117
std::vector<std::vector<double> >
m_FULLCALO_1p0x1p0_MAP
;
118
};
119
120
#endif // TRIGGER_CALOTRIGGERSIM_H
coresoftware
blob
master
offline
packages
trigger
CaloTriggerSim.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:39
using
1.8.2 with
ECCE GitHub integration