ATLAS Offline Software
Trigger
TrigT1
L1Topo
L1TopoEvent
Root
gLJetTOB.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/gLJetTOB.h
"
4
5
thread_local
TCS::Heap<TCS::gLJetTOB>
TCS::gLJetTOB::fg_heap
(
"gLJet"
);
6
7
// constructors
8
// default constructor
9
TCS::gLJetTOB::gLJetTOB
(
uint32_t
roiWord
,
const
std::string& tobName) :
10
BaseTOB
(
roiWord
,tobName )
11
{}
12
13
// constructor with initial values
14
TCS::gLJetTOB::gLJetTOB
(
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
, m_EtDouble(Et/10.)
20
, m_etaDouble(eta/40.)
21
, m_phiDouble(phi/20.)
22
{}
23
24
// copy constructor
25
TCS::gLJetTOB::gLJetTOB
(
const
gLJetTOB
&
jet
) =
default
;
26
27
TCS::gLJetTOB::~gLJetTOB
() =
default
;
28
29
TCS::gLJetTOB
*
30
TCS::gLJetTOB::createOnHeap
(
const
gLJetTOB
&
jet
) {
31
return
fg_heap.create(
jet
);
32
}
33
34
void
35
TCS::gLJetTOB::clearHeap
() {
36
return
fg_heap.clear();
37
}
38
39
void
40
TCS::gLJetTOB::print
(std::ostream &o)
const
{
41
o <<
"gLJet energy: "
<< Et() <<
", eta: "
<< eta() <<
", phi: "
<< phi();
42
}
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
TCS::gLJetTOB::createOnHeap
static gLJetTOB * createOnHeap(const gLJetTOB &jet)
Definition:
gLJetTOB.cxx:30
TCS::Heap< TCS::gLJetTOB >
TCS::gLJetTOB::~gLJetTOB
virtual ~gLJetTOB()
xAOD::roiWord
roiWord
Definition:
TrigMissingET_v1.cxx:36
TCS::gLJetTOB::gLJetTOB
gLJetTOB(uint32_t roiWord=0, const std::string &tobName="gLJetTOB")
Definition:
gLJetTOB.cxx:9
jet
Definition:
JetCalibTools_PlotJESFactors.cxx:23
TCS::gLJetTOB::fg_heap
static thread_local Heap< TCS::gLJetTOB > fg_heap
Definition:
gLJetTOB.h:78
TCS::gLJetTOB::clearHeap
static void clearHeap()
Definition:
gLJetTOB.cxx:35
TCS::BaseTOB
Definition:
BaseTOB.h:12
TCS::gLJetTOB::print
virtual void print(std::ostream &o) const
Definition:
gLJetTOB.cxx:40
TCS::gLJetTOB
Definition:
gLJetTOB.h:18
gLJetTOB.h
Generated on Thu Nov 7 2024 21:15:54 for ATLAS Offline Software by
1.8.18