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