Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CaloTriggerInfov1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CaloTriggerInfov1.h
1
#ifndef TRIGGER_CALOTRIGGERINFOV1_H
2
#define TRIGGER_CALOTRIGGERINFOV1_H
3
4
#include "
CaloTriggerInfo.h
"
5
6
#include <iostream>
7
8
class
CaloTriggerInfov1
:
public
CaloTriggerInfo
9
{
10
public
:
11
CaloTriggerInfov1
() {}
12
~CaloTriggerInfov1
()
override
{}
13
14
void
identify
(std::ostream &
os
= std::cout)
const override
;
15
void
Reset
()
override
{}
16
int
isValid
()
const override
{
return
1; }
17
18
// EMCal 2x2
19
void
set_best_EMCal_2x2_E
(
const
float
E
)
override
{
m_EMCAL_2x2_BEST_E
=
E
; }
20
void
set_best_EMCal_2x2_eta
(
const
float
eta
)
override
{
m_EMCAL_2x2_BEST_ETA
=
eta
; }
21
void
set_best_EMCal_2x2_phi
(
const
float
phi
)
override
{
m_EMCAL_2x2_BEST_PHI
=
phi
; }
22
23
float
get_best_EMCal_2x2_E
()
const override
{
return
m_EMCAL_2x2_BEST_E
; }
24
float
get_best_EMCal_2x2_eta
()
const override
{
return
m_EMCAL_2x2_BEST_ETA
; }
25
float
get_best_EMCal_2x2_phi
()
const override
{
return
m_EMCAL_2x2_BEST_PHI
; }
26
27
// EMCal 4x4
28
void
set_best_EMCal_4x4_E
(
const
float
E
)
override
{
m_EMCAL_4x4_BEST_E
=
E
; }
29
void
set_best_EMCal_4x4_eta
(
const
float
eta
)
override
{
m_EMCAL_4x4_BEST_ETA
=
eta
; }
30
void
set_best_EMCal_4x4_phi
(
const
float
phi
)
override
{
m_EMCAL_4x4_BEST_PHI
=
phi
; }
31
32
float
get_best_EMCal_4x4_E
()
const override
{
return
m_EMCAL_4x4_BEST_E
; }
33
float
get_best_EMCal_4x4_eta
()
const override
{
return
m_EMCAL_4x4_BEST_ETA
; }
34
float
get_best_EMCal_4x4_phi
()
const override
{
return
m_EMCAL_4x4_BEST_PHI
; }
35
36
// 2nd best EMCal 4x4
37
void
set_best2_EMCal_4x4_E
(
const
float
E
)
override
{
m_EMCAL_4x4_BEST2_E
=
E
; }
38
void
set_best2_EMCal_4x4_eta
(
const
float
eta
)
override
{
m_EMCAL_4x4_BEST2_ETA
=
eta
; }
39
void
set_best2_EMCal_4x4_phi
(
const
float
phi
)
override
{
m_EMCAL_4x4_BEST2_PHI
=
phi
; }
40
41
float
get_best2_EMCal_4x4_E
()
const override
{
return
m_EMCAL_4x4_BEST2_E
; }
42
float
get_best2_EMCal_4x4_eta
()
const override
{
return
m_EMCAL_4x4_BEST2_ETA
; }
43
float
get_best2_EMCal_4x4_phi
()
const override
{
return
m_EMCAL_4x4_BEST2_PHI
; }
44
45
// FullCalo 0.2x0.2
46
void
set_best_FullCalo_0p2x0p2_E
(
const
float
E
)
override
{
m_FULLCALO_0p2x0p2_BEST_E
=
E
; }
47
void
set_best_FullCalo_0p2x0p2_eta
(
const
float
eta
)
override
{
m_FULLCALO_0p2x0p2_BEST_ETA
=
eta
; }
48
void
set_best_FullCalo_0p2x0p2_phi
(
const
float
phi
)
override
{
m_FULLCALO_0p2x0p2_BEST_PHI
=
phi
; }
49
50
float
get_best_FullCalo_0p2x0p2_E
()
const override
{
return
m_FULLCALO_0p2x0p2_BEST_E
; }
51
float
get_best_FullCalo_0p2x0p2_eta
()
const override
{
return
m_FULLCALO_0p2x0p2_BEST_ETA
; }
52
float
get_best_FullCalo_0p2x0p2_phi
()
const override
{
return
m_FULLCALO_0p2x0p2_BEST_PHI
; }
53
54
// FullCalo 0.4x0.4
55
void
set_best_FullCalo_0p4x0p4_E
(
const
float
E
)
override
{
m_FULLCALO_0p4x0p4_BEST_E
=
E
; }
56
void
set_best_FullCalo_0p4x0p4_eta
(
const
float
eta
)
override
{
m_FULLCALO_0p4x0p4_BEST_ETA
=
eta
; }
57
void
set_best_FullCalo_0p4x0p4_phi
(
const
float
phi
)
override
{
m_FULLCALO_0p4x0p4_BEST_PHI
=
phi
; }
58
59
float
get_best_FullCalo_0p4x0p4_E
()
const override
{
return
m_FULLCALO_0p4x0p4_BEST_E
; }
60
float
get_best_FullCalo_0p4x0p4_eta
()
const override
{
return
m_FULLCALO_0p4x0p4_BEST_ETA
; }
61
float
get_best_FullCalo_0p4x0p4_phi
()
const override
{
return
m_FULLCALO_0p4x0p4_BEST_PHI
; }
62
63
// FullCalo 0.6x0.6
64
void
set_best_FullCalo_0p6x0p6_E
(
const
float
E
)
override
{
m_FULLCALO_0p6x0p6_BEST_E
=
E
; }
65
void
set_best_FullCalo_0p6x0p6_eta
(
const
float
eta
)
override
{
m_FULLCALO_0p6x0p6_BEST_ETA
=
eta
; }
66
void
set_best_FullCalo_0p6x0p6_phi
(
const
float
phi
)
override
{
m_FULLCALO_0p6x0p6_BEST_PHI
=
phi
; }
67
68
float
get_best_FullCalo_0p6x0p6_E
()
const override
{
return
m_FULLCALO_0p6x0p6_BEST_E
; }
69
float
get_best_FullCalo_0p6x0p6_eta
()
const override
{
return
m_FULLCALO_0p6x0p6_BEST_ETA
; }
70
float
get_best_FullCalo_0p6x0p6_phi
()
const override
{
return
m_FULLCALO_0p6x0p6_BEST_PHI
; }
71
72
// FullCalo 0.8x0.8
73
void
set_best_FullCalo_0p8x0p8_E
(
const
float
E
)
override
{
m_FULLCALO_0p8x0p8_BEST_E
=
E
; }
74
void
set_best_FullCalo_0p8x0p8_eta
(
const
float
eta
)
override
{
m_FULLCALO_0p8x0p8_BEST_ETA
=
eta
; }
75
void
set_best_FullCalo_0p8x0p8_phi
(
const
float
phi
)
override
{
m_FULLCALO_0p8x0p8_BEST_PHI
=
phi
; }
76
77
float
get_best_FullCalo_0p8x0p8_E
()
const override
{
return
m_FULLCALO_0p8x0p8_BEST_E
; }
78
float
get_best_FullCalo_0p8x0p8_eta
()
const override
{
return
m_FULLCALO_0p8x0p8_BEST_ETA
; }
79
float
get_best_FullCalo_0p8x0p8_phi
()
const override
{
return
m_FULLCALO_0p8x0p8_BEST_PHI
; }
80
81
// FullCalo 1.0x1.0
82
void
set_best_FullCalo_1p0x1p0_E
(
const
float
E
)
override
{
m_FULLCALO_1p0x1p0_BEST_E
=
E
; }
83
void
set_best_FullCalo_1p0x1p0_eta
(
const
float
eta
)
override
{
m_FULLCALO_1p0x1p0_BEST_ETA
=
eta
; }
84
void
set_best_FullCalo_1p0x1p0_phi
(
const
float
phi
)
override
{
m_FULLCALO_1p0x1p0_BEST_PHI
=
phi
; }
85
86
float
get_best_FullCalo_1p0x1p0_E
()
const override
{
return
m_FULLCALO_1p0x1p0_BEST_E
; }
87
float
get_best_FullCalo_1p0x1p0_eta
()
const override
{
return
m_FULLCALO_1p0x1p0_BEST_ETA
; }
88
float
get_best_FullCalo_1p0x1p0_phi
()
const override
{
return
m_FULLCALO_1p0x1p0_BEST_PHI
; }
89
90
private
:
91
float
m_EMCAL_2x2_BEST_E
{0.};
92
float
m_EMCAL_2x2_BEST_ETA
{0.};
93
float
m_EMCAL_2x2_BEST_PHI
{0.};
94
95
float
m_EMCAL_4x4_BEST_E
{0.};
96
float
m_EMCAL_4x4_BEST_ETA
{0.};
97
float
m_EMCAL_4x4_BEST_PHI
{0.};
98
99
float
m_EMCAL_4x4_BEST2_E
{0.};
100
float
m_EMCAL_4x4_BEST2_ETA
{0.};
101
float
m_EMCAL_4x4_BEST2_PHI
{0.};
102
103
float
m_FULLCALO_0p2x0p2_BEST_E
{0.};
104
float
m_FULLCALO_0p2x0p2_BEST_ETA
{0.};
105
float
m_FULLCALO_0p2x0p2_BEST_PHI
{0.};
106
107
float
m_FULLCALO_0p4x0p4_BEST_E
{0.};
108
float
m_FULLCALO_0p4x0p4_BEST_ETA
{0.};
109
float
m_FULLCALO_0p4x0p4_BEST_PHI
{0.};
110
111
float
m_FULLCALO_0p6x0p6_BEST_E
{0.};
112
float
m_FULLCALO_0p6x0p6_BEST_ETA
{0.};
113
float
m_FULLCALO_0p6x0p6_BEST_PHI
{0.};
114
115
float
m_FULLCALO_0p8x0p8_BEST_E
{0.};
116
float
m_FULLCALO_0p8x0p8_BEST_ETA
{0.};
117
float
m_FULLCALO_0p8x0p8_BEST_PHI
{0.};
118
119
float
m_FULLCALO_1p0x1p0_BEST_E
{0.};
120
float
m_FULLCALO_1p0x1p0_BEST_ETA
{0.};
121
float
m_FULLCALO_1p0x1p0_BEST_PHI
{0.};
122
123
ClassDefOverride
(
CaloTriggerInfov1
, 3)
124
};
125
126
#endif
coresoftware
blob
master
offline
packages
trigger
CaloTriggerInfov1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:11
using
1.8.2 with
sPHENIX GitHub integration