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