ATLAS Offline Software
Trigger
TrigT1
L1Topo
L1TopoEvent
Root
MuonNextBCTOB.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/MuonNextBCTOB.h
"
4
5
thread_local
TCS::Heap<TCS::MuonNextBCTOB>
TCS::MuonNextBCTOB::fg_heap
(
"MuonNextBC"
);
6
7
const
unsigned
int
TCS::MuonNextBCTOB::g_nBitsEt
= 8;
8
const
unsigned
int
TCS::MuonNextBCTOB::g_nBitsIsolation
= 5;
9
const
unsigned
int
TCS::MuonNextBCTOB::g_nBitsEta
= 6;
10
const
unsigned
int
TCS::MuonNextBCTOB::g_nBitsPhi
= 6;
11
12
// default constructor
13
TCS::MuonNextBCTOB::MuonNextBCTOB
(
uint32_t
roiWord
,
const
std::string& tobName) :
14
BaseTOB
(
roiWord
,tobName )
15
{}
16
17
// constructor with initial values
18
TCS::MuonNextBCTOB::MuonNextBCTOB
(
unsigned
int
et
,
unsigned
int
isolation,
int
eta,
int
phi,
uint32_t
roiWord
,
const
std::string& tobName) :
19
BaseTOB
(
roiWord
,tobName )
20
, m_Et( sizeCheck(
et
, nBitsEt()) )
21
, m_isolation( sizeCheck( isolation, nBitsIsolation()) )
22
, m_eta( sizeCheck(eta, nBitsEta()) )
23
, m_phi( sizeCheck(phi, nBitsPhi()) )
24
{}
25
26
// copy constructor
27
TCS::MuonNextBCTOB::MuonNextBCTOB
(
const
TCS::MuonNextBCTOB
&
muon
) =
default
;
28
29
// destructor
30
TCS::MuonNextBCTOB::~MuonNextBCTOB
() =
default
;
31
32
TCS::MuonNextBCTOB
*
33
TCS::MuonNextBCTOB::createOnHeap
(
const
MuonNextBCTOB
&
cl
) {
34
return
fg_heap.create(
cl
);
35
}
36
37
void
38
TCS::MuonNextBCTOB::clearHeap
() {
39
return
fg_heap.clear();
40
}
41
42
void
TCS::MuonNextBCTOB::print
(std::ostream &o)
const
{
43
o <<
"cluster energy: "
<< Et() <<
", eta: "
<< eta() <<
", phi: "
<< phi();
44
}
TCS::MuonNextBCTOB::createOnHeap
static MuonNextBCTOB * createOnHeap(const MuonNextBCTOB &cl)
Definition:
MuonNextBCTOB.cxx:33
xAOD::muon
@ muon
Definition:
TrackingPrimitives.h:195
et
Extra patterns decribing particle interation process.
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
TCS::Heap< TCS::MuonNextBCTOB >
xAOD::roiWord
roiWord
Definition:
TrigMissingET_v1.cxx:36
TCS::MuonNextBCTOB::MuonNextBCTOB
MuonNextBCTOB(uint32_t roiWord=0, const std::string &tobName="MuonNextBCTOB")
Definition:
MuonNextBCTOB.cxx:13
TCS::BaseTOB
Definition:
BaseTOB.h:12
MuonNextBCTOB.h
TCS::MuonNextBCTOB
Definition:
MuonNextBCTOB.h:13
TCS::MuonNextBCTOB::fg_heap
static thread_local Heap< TCS::MuonNextBCTOB > fg_heap
Definition:
MuonNextBCTOB.h:78
TCS::MuonNextBCTOB::clearHeap
static void clearHeap()
Definition:
MuonNextBCTOB.cxx:38
TCS::MuonNextBCTOB::g_nBitsPhi
static const unsigned int g_nBitsPhi
Definition:
MuonNextBCTOB.h:67
TCS::MuonNextBCTOB::g_nBitsEt
static const unsigned int g_nBitsEt
Definition:
MuonNextBCTOB.h:64
TCS::MuonNextBCTOB::g_nBitsIsolation
static const unsigned int g_nBitsIsolation
Definition:
MuonNextBCTOB.h:65
TCS::MuonNextBCTOB::print
virtual void print(std::ostream &o) const
Definition:
MuonNextBCTOB.cxx:42
TCS::MuonNextBCTOB::g_nBitsEta
static const unsigned int g_nBitsEta
Definition:
MuonNextBCTOB.h:66
dq_make_web_display.cl
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
Definition:
dq_make_web_display.py:26
TCS::MuonNextBCTOB::~MuonNextBCTOB
virtual ~MuonNextBCTOB()
Generated on Thu Nov 7 2024 21:22:09 for ATLAS Offline Software by
1.8.18