ATLAS Offline Software
Trigger
TrigT1
L1Topo
L1TopoEvent
Root
cTauTOB.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/cTauTOB.h
"
4
5
thread_local
TCS::Heap<TCS::cTauTOB>
TCS::cTauTOB::fg_heap
(
"cTau"
);
6
7
const
unsigned
int
TCS::cTauTOB::g_nBitsEt
= 13;
8
const
unsigned
int
TCS::cTauTOB::g_nBitsEta
= 9;
9
const
unsigned
int
TCS::cTauTOB::g_nBitsPhi
= 7;
10
11
// default constructor
12
TCS::cTauTOB::cTauTOB
(
uint32_t
roiWord
,
const
std::string& tobName) :
13
BaseTOB
(
roiWord
,tobName )
14
{}
15
16
// constructor with initial values
17
TCS::cTauTOB::cTauTOB
(
unsigned
int
et
,
int
eta,
unsigned
int
phi,
inputTOBType_t
tobType,
uint32_t
roiWord
,
const
std::string& tobName) :
18
BaseTOB
(
roiWord
,tobName )
19
, m_Et(
et
)
//sizeCheck(et, nBitsEt()) )
20
, m_eta( eta )
//sizeCheck(eta, nBitsEta()) )
21
, m_phi( phi )
//sizeCheck(phi, nBitsPhi()) )
22
, m_tobType( tobType )
23
{}
24
25
// copy constructor
26
TCS::cTauTOB::cTauTOB
(
const
TCS::cTauTOB
&
ctau
) =
default
;
27
28
// destructor
29
TCS::cTauTOB::~cTauTOB
() =
default
;
30
31
32
TCS::cTauTOB
*
33
TCS::cTauTOB::createOnHeap
(
const
cTauTOB
&
ctau
) {
34
return
fg_heap.create(
ctau
);
35
}
36
37
void
38
TCS::cTauTOB::clearHeap
() {
39
return
fg_heap.clear();
40
}
41
42
void
TCS::cTauTOB::print
(std::ostream &o)
const
{
43
o <<
"cTau energy: "
<< Et() <<
", eta: "
<< eta() <<
", phi: "
<< phi();
44
}
TCS::cTauTOB::g_nBitsEta
static const unsigned int g_nBitsEta
Definition:
cTauTOB.h:74
et
Extra patterns decribing particle interation process.
TCS::cTauTOB::cTauTOB
cTauTOB(uint32_t roiWord=0, const std::string &tobName="cTauTOB")
Definition:
cTauTOB.cxx:12
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
TCS::cTauTOB::g_nBitsPhi
static const unsigned int g_nBitsPhi
Definition:
cTauTOB.h:75
TCS::Heap< TCS::cTauTOB >
TCS::cTauTOB::clearHeap
static void clearHeap()
Definition:
cTauTOB.cxx:38
xAOD::roiWord
roiWord
Definition:
TrigMissingET_v1.cxx:36
TCS::cTauTOB::g_nBitsEt
static const unsigned int g_nBitsEt
Definition:
cTauTOB.h:72
cTauTOB.h
TCS::BaseTOB
Definition:
BaseTOB.h:12
TCS::cTauTOB::print
virtual void print(std::ostream &o) const
Definition:
cTauTOB.cxx:42
PowhegPythia8EvtGen_H2a4X_ctauY.ctau
int ctau
Definition:
PowhegPythia8EvtGen_H2a4X_ctauY.py:28
TCS::inputTOBType_t
inputTOBType_t
Definition:
Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Types.h:10
TCS::cTauTOB::~cTauTOB
virtual ~cTauTOB()
TCS::cTauTOB
Definition:
cTauTOB.h:13
TCS::cTauTOB::fg_heap
static thread_local Heap< TCS::cTauTOB > fg_heap
Definition:
cTauTOB.h:92
TCS::cTauTOB::createOnHeap
static cTauTOB * createOnHeap(const cTauTOB &ctau)
Definition:
cTauTOB.cxx:33
Generated on Thu Nov 7 2024 21:13:00 for ATLAS Offline Software by
1.8.18