ATLAS Offline Software
Trigger
TrigT1
L1Topo
L1TopoEvent
Root
JetTOB.cxx
Go to the documentation of this file.
1
// Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
2
3
#include "
L1TopoEvent/JetTOB.h
"
4
5
thread_local
TCS::Heap<TCS::JetTOB>
TCS::JetTOB::fg_heap
(
"Jet"
);
6
7
// constructors
8
// default constructor
9
TCS::JetTOB::JetTOB
(
uint32_t
roiWord
,
const
std::string& tobName) :
10
BaseTOB
(
roiWord
,tobName )
11
{}
12
13
// constructor with initial values
14
TCS::JetTOB::JetTOB
(
unsigned
int
Et1,
unsigned
int
Et2,
int
eta,
int
phi,
uint32_t
roiWord
,
const
std::string& tobName) :
15
BaseTOB
(
roiWord
,tobName )
16
, m_Et1(Et1)
17
, m_Et2(Et2)
18
, m_eta(eta)
19
, m_phi(phi)
20
, m_Et1Double(Et1)
21
, m_Et2Double(Et2)
22
, m_etaDouble(eta/10.)
23
, m_phiDouble(phi/10.)
24
{}
25
26
// copy constructor
27
TCS::JetTOB::JetTOB
(
const
JetTOB
&
jet
) =
default
;
28
29
TCS::JetTOB::~JetTOB
() =
default
;
30
31
TCS::JetTOB
*
32
TCS::JetTOB::createOnHeap
(
const
JetTOB
&
jet
) {
33
return
fg_heap.create(
jet
);
34
}
35
36
void
37
TCS::JetTOB::clearHeap
() {
38
return
fg_heap.clear();
39
}
40
41
void
42
TCS::JetTOB::print
(std::ostream &o)
const
{
43
o <<
"jet energy wide window: "
<< Et1() <<
", narrow window: "
<< Et2() <<
", eta: "
<< eta() <<
", phi: "
<< phi();
44
}
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
TCS::Heap< TCS::JetTOB >
TCS::JetTOB::JetTOB
JetTOB(uint32_t roiWord=0, const std::string &tobName="JetTOB")
Definition:
JetTOB.cxx:9
xAOD::roiWord
roiWord
Definition:
TrigMissingET_v1.cxx:36
jet
Definition:
JetCalibTools_PlotJESFactors.cxx:23
TCS::BaseTOB
Definition:
BaseTOB.h:12
TCS::JetTOB::createOnHeap
static JetTOB * createOnHeap(const JetTOB &jet)
Definition:
JetTOB.cxx:32
TCS::JetTOB::fg_heap
static thread_local Heap< TCS::JetTOB > fg_heap
Definition:
JetTOB.h:92
TCS::JetTOB::clearHeap
static void clearHeap()
Definition:
JetTOB.cxx:37
TCS::JetTOB::print
virtual void print(std::ostream &o) const
Definition:
JetTOB.cxx:42
TCS::JetTOB
Definition:
JetTOB.h:18
JetTOB.h
TCS::JetTOB::~JetTOB
virtual ~JetTOB()
Generated on Sun Dec 22 2024 21:12:37 for ATLAS Offline Software by
1.8.18