ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1Topo
L1TopoEvent
L1TopoEvent
jJetTOB.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2
3
#ifndef JJETTOB_H
4
#define JJETTOB_H
5
6
7
#include "
L1TopoEvent/BaseTOB.h
"
8
#include "
L1TopoEvent/Heap.h
"
9
#include <iosfwd>
10
11
12
namespace
TCS
{
13
14
class
GenericTOB
;
15
16
class
jJetTOB
:
public
BaseTOB
{
17
public
:
18
19
// default constructor
20
jJetTOB
(uint32_t
roiWord
= 0, std::string_view
tobName
=
"jJetTOB"
);
21
22
// copy constructor
23
jJetTOB
(
const
jJetTOB
&
jet
);
24
25
// constructor with initial values
26
jJetTOB
(
unsigned
int
Et
,
int
eta
,
unsigned
phi
, uint32_t
roiWord
= 0, std::string_view
tobName
=
"jJetTOB"
);
27
28
// destructor
29
virtual
~jJetTOB
();
30
31
// accessors
32
unsigned
int
Et
()
const
{
return
m_Et
; }
33
int
eta
()
const
{
return
m_eta
; }
34
unsigned
phi
()
const
{
return
m_phi
; }
35
36
double
EtDouble
()
const
{
return
m_EtDouble
; }
37
double
etaDouble
()
const
{
return
m_etaDouble
; }
38
double
phiDouble
()
const
{
return
m_phiDouble
; }
39
40
// setters
41
void
setEt
(
int
et
) {
m_Et
=
et
; }
42
void
setEta
(
int
eta
) {
m_eta
=
eta
; }
43
void
setPhi
(
int
phi
) {
m_phi
=
phi
; }
44
45
void
setEtDouble
(
double
et
) {
m_EtDouble
=
et
; }
46
void
setEtaDouble
(
double
eta
) {
m_etaDouble
=
eta
; }
47
void
setPhiDouble
(
double
phi
) {
m_phiDouble
=
phi
; }
48
49
inputTOBType_t
tobType
()
const
{
return
JET
; }
50
51
static
jJetTOB
*
createOnHeap
(
const
jJetTOB
&
jet
);
52
static
void
clearHeap
();
53
54
static
const
Heap<TCS::jJetTOB>
&
heap
() {
return
fg_heap
; }
55
56
private
:
57
58
static
const
unsigned
int
g_nBitsEt
;
59
static
const
unsigned
int
g_nBitsIsolation
;
60
static
const
unsigned
int
g_nBitsEta
;
61
static
const
unsigned
int
g_nBitsPhi
;
62
63
unsigned
int
m_Et
{ 0 };
64
int
m_eta
{ 0 };
65
unsigned
m_phi
{ 0 };
66
67
double
m_EtDouble
{ 0 };
68
double
m_etaDouble
{ 0 };
69
double
m_phiDouble
{ 0 };
70
71
virtual
void
print
(std::ostream &o)
const
;
72
73
static
thread_local
Heap<TCS::jJetTOB>
fg_heap
;
74
};
75
76
}
77
78
#endif
BaseTOB.h
Heap.h
TCS::BaseTOB::tobName
const std::string & tobName() const
Definition
BaseTOB.h:24
TCS::BaseTOB::roiWord
uint32_t roiWord() const
Definition
BaseTOB.h:22
TCS::BaseTOB::BaseTOB
BaseTOB(uint32_t roiWord, const std::string_view tobType)
Definition
BaseTOB.cxx:11
TCS::GenericTOB
Definition
GenericTOB.h:35
TCS::Heap
Definition
Heap.h:13
TCS::jJetTOB
Definition
jJetTOB.h:16
TCS::jJetTOB::createOnHeap
static jJetTOB * createOnHeap(const jJetTOB &jet)
Definition
jJetTOB.cxx:28
TCS::jJetTOB::g_nBitsPhi
static const unsigned int g_nBitsPhi
Definition
jJetTOB.h:61
TCS::jJetTOB::g_nBitsEt
static const unsigned int g_nBitsEt
Definition
jJetTOB.h:58
TCS::jJetTOB::setPhiDouble
void setPhiDouble(double phi)
Definition
jJetTOB.h:47
TCS::jJetTOB::jJetTOB
jJetTOB(const jJetTOB &jet)
TCS::jJetTOB::m_etaDouble
double m_etaDouble
Definition
jJetTOB.h:68
TCS::jJetTOB::EtDouble
double EtDouble() const
Definition
jJetTOB.h:36
TCS::jJetTOB::heap
static const Heap< TCS::jJetTOB > & heap()
Definition
jJetTOB.h:54
TCS::jJetTOB::setEtDouble
void setEtDouble(double et)
Definition
jJetTOB.h:45
TCS::jJetTOB::m_Et
unsigned int m_Et
Definition
jJetTOB.h:63
TCS::jJetTOB::g_nBitsEta
static const unsigned int g_nBitsEta
Definition
jJetTOB.h:60
TCS::jJetTOB::m_phiDouble
double m_phiDouble
Definition
jJetTOB.h:69
TCS::jJetTOB::g_nBitsIsolation
static const unsigned int g_nBitsIsolation
Definition
jJetTOB.h:59
TCS::jJetTOB::setEtaDouble
void setEtaDouble(double eta)
Definition
jJetTOB.h:46
TCS::jJetTOB::tobType
inputTOBType_t tobType() const
Definition
jJetTOB.h:49
TCS::jJetTOB::clearHeap
static void clearHeap()
Definition
jJetTOB.cxx:33
TCS::jJetTOB::~jJetTOB
virtual ~jJetTOB()
TCS::jJetTOB::phi
unsigned phi() const
Definition
jJetTOB.h:34
TCS::jJetTOB::fg_heap
static Heap< TCS::jJetTOB > fg_heap
Definition
jJetTOB.h:73
TCS::jJetTOB::etaDouble
double etaDouble() const
Definition
jJetTOB.h:37
TCS::jJetTOB::Et
unsigned int Et() const
Definition
jJetTOB.h:32
TCS::jJetTOB::print
virtual void print(std::ostream &o) const
Definition
jJetTOB.cxx:38
TCS::jJetTOB::phiDouble
double phiDouble() const
Definition
jJetTOB.h:38
TCS::jJetTOB::eta
int eta() const
Definition
jJetTOB.h:33
TCS::jJetTOB::m_eta
int m_eta
Definition
jJetTOB.h:64
TCS::jJetTOB::setEta
void setEta(int eta)
Definition
jJetTOB.h:42
TCS::jJetTOB::setPhi
void setPhi(int phi)
Definition
jJetTOB.h:43
TCS::jJetTOB::m_EtDouble
double m_EtDouble
Definition
jJetTOB.h:67
TCS::jJetTOB::m_phi
unsigned m_phi
Definition
jJetTOB.h:65
TCS::jJetTOB::setEt
void setEt(int et)
Definition
jJetTOB.h:41
TCS::jJetTOB::jJetTOB
jJetTOB(uint32_t roiWord=0, std::string_view tobName="jJetTOB")
Definition
jJetTOB.cxx:10
TCS
Definition
AnomalyDetectionBDT.h:18
TCS::inputTOBType_t
inputTOBType_t
Definition
Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Types.h:10
TCS::JET
@ JET
Definition
Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Types.h:12
jet
Definition
JetCalibTools_PlotJESFactors.cxx:23
et
Extra patterns decribing particle interation process.
Generated on
for ATLAS Offline Software by
1.17.0