ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1Topo
L1TopoEvent
Root
JetTOB.cxx
Go to the documentation of this file.
1
// Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3
#include "
L1TopoEvent/JetTOB.h
"
4
#include <iostream>
5
6
thread_local
TCS::Heap<TCS::JetTOB>
TCS::JetTOB::fg_heap
(
"Jet"
);
7
8
// constructors
9
// default constructor
10
TCS::JetTOB::JetTOB
(uint32_t
roiWord
, std::string_view
tobName
) :
11
BaseTOB
(
roiWord
,
tobName
)
12
{}
13
14
// constructor with initial values
15
TCS::JetTOB::JetTOB
(
unsigned
int
Et1
,
unsigned
int
Et2
,
int
eta
,
int
phi
, uint32_t
roiWord
, std::string_view
tobName
) :
16
BaseTOB
(
roiWord
,
tobName
)
17
,
m_Et1
(
Et1
)
18
,
m_Et2
(
Et2
)
19
,
m_eta
(
eta
)
20
,
m_phi
(
phi
)
21
,
m_Et1Double
(
Et1
)
22
,
m_Et2Double
(
Et2
)
23
,
m_etaDouble
(
eta
/10.)
24
,
m_phiDouble
(
phi
/10.)
25
{}
26
27
// copy constructor
28
TCS::JetTOB::JetTOB
(
const
JetTOB
&
jet
) =
default
;
29
30
TCS::JetTOB::~JetTOB
() =
default
;
31
32
TCS::JetTOB
*
33
TCS::JetTOB::createOnHeap
(
const
JetTOB
&
jet
) {
34
return
fg_heap
.create(
jet
);
35
}
36
37
void
38
TCS::JetTOB::clearHeap
() {
39
return
fg_heap
.clear();
40
}
41
42
void
43
TCS::JetTOB::print
(std::ostream &o)
const
{
44
o <<
"jet energy wide window: "
<<
Et1
() <<
", narrow window: "
<<
Et2
() <<
", eta: "
<<
eta
() <<
", phi: "
<<
phi
();
45
}
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
JetTOB.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::Heap
Definition
Heap.h:13
TCS::JetTOB
Definition
JetTOB.h:18
TCS::JetTOB::m_phi
int m_phi
Definition
JetTOB.h:83
TCS::JetTOB::m_eta
int m_eta
Definition
JetTOB.h:82
TCS::JetTOB::createOnHeap
static JetTOB * createOnHeap(const JetTOB &jet)
Definition
JetTOB.cxx:33
TCS::JetTOB::m_Et1
unsigned int m_Et1
Definition
JetTOB.h:80
TCS::JetTOB::m_Et2Double
double m_Et2Double
Definition
JetTOB.h:86
TCS::JetTOB::fg_heap
static Heap< TCS::JetTOB > fg_heap
Definition
JetTOB.h:92
TCS::JetTOB::clearHeap
static void clearHeap()
Definition
JetTOB.cxx:38
TCS::JetTOB::m_Et2
unsigned int m_Et2
Definition
JetTOB.h:81
TCS::JetTOB::eta
int eta() const
Definition
JetTOB.h:44
TCS::JetTOB::Et1
unsigned int Et1() const
Definition
JetTOB.h:40
TCS::JetTOB::print
virtual void print(std::ostream &o) const
Definition
JetTOB.cxx:43
TCS::JetTOB::m_phiDouble
double m_phiDouble
Definition
JetTOB.h:88
TCS::JetTOB::JetTOB
JetTOB(uint32_t roiWord=0, std::string_view tobName="JetTOB")
Definition
JetTOB.cxx:10
TCS::JetTOB::Et2
unsigned int Et2() const
Definition
JetTOB.h:42
TCS::JetTOB::phi
int phi() const
Definition
JetTOB.h:45
TCS::JetTOB::~JetTOB
virtual ~JetTOB()
TCS::JetTOB::m_etaDouble
double m_etaDouble
Definition
JetTOB.h:87
TCS::JetTOB::m_Et1Double
double m_Et1Double
Definition
JetTOB.h:85
jet
Definition
JetCalibTools_PlotJESFactors.cxx:23
Generated on
for ATLAS Offline Software by
1.17.0