ATLAS Offline Software
Trigger
TrigT1
L1Topo
L1TopoEvent
Root
LateMuonTOB.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/LateMuonTOB.h
"
4
5
thread_local
TCS::Heap<TCS::LateMuonTOB>
TCS::LateMuonTOB::fg_heap
(
"LateMuon"
);
6
7
const
unsigned
int
TCS::LateMuonTOB::g_nBitsEt
= 13;
8
const
unsigned
int
TCS::LateMuonTOB::g_nBitsIsolation
= 5;
9
const
unsigned
int
TCS::LateMuonTOB::g_nBitsEta
= 9;
10
const
unsigned
int
TCS::LateMuonTOB::g_nBitsPhi
= 7;
11
12
// default constructor
13
TCS::LateMuonTOB::LateMuonTOB
(
uint32_t
roiWord
,
const
std::string& tobName) :
14
BaseTOB
(
roiWord
,tobName )
15
{}
16
17
// constructor with initial values
18
TCS::LateMuonTOB::LateMuonTOB
(
unsigned
int
et
,
unsigned
int
isolation,
int
eta,
unsigned
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::LateMuonTOB::LateMuonTOB
(
const
TCS::LateMuonTOB
&
muon
) =
default
;
28
29
TCS::LateMuonTOB::~LateMuonTOB
() =
default
;
30
31
TCS::LateMuonTOB
*
32
TCS::LateMuonTOB::createOnHeap
(
const
LateMuonTOB
&
cl
)
33
{
34
return
fg_heap.create(
cl
);
35
}
36
37
void
38
TCS::LateMuonTOB::clearHeap
() {
39
return
fg_heap.clear();
40
}
41
42
void
TCS::LateMuonTOB::print
(std::ostream &o)
const
{
43
o <<
"late muon energy: "
<< Et() <<
", eta: "
<< eta() <<
", phi: "
<< phi() <<
", bw2or3: "
<< bw2or3() <<
", innerCoin: "
<< innerCoin() <<
", goodMF: "
<< goodMF() <<
", charge: "
<<
charge
() <<
", is2cand: "
<< is2cand() <<
", isTGC: "
<< isTGC();
44
}
TCS::LateMuonTOB
Definition:
LateMuonTOB.h:13
TCS::LateMuonTOB::fg_heap
static thread_local Heap< TCS::LateMuonTOB > fg_heap
Definition:
LateMuonTOB.h:100
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::LateMuonTOB::clearHeap
static void clearHeap()
Definition:
LateMuonTOB.cxx:38
TCS::LateMuonTOB::~LateMuonTOB
virtual ~LateMuonTOB()
TCS::Heap< TCS::LateMuonTOB >
xAOD::roiWord
roiWord
Definition:
TrigMissingET_v1.cxx:36
TCS::BaseTOB
Definition:
BaseTOB.h:12
TCS::LateMuonTOB::createOnHeap
static LateMuonTOB * createOnHeap(const LateMuonTOB &cl)
Definition:
LateMuonTOB.cxx:32
charge
double charge(const T &p)
Definition:
AtlasPID.h:756
TCS::LateMuonTOB::LateMuonTOB
LateMuonTOB(uint32_t roiWord=0, const std::string &tobName="LateMuonTOB")
Definition:
LateMuonTOB.cxx:13
TCS::LateMuonTOB::print
virtual void print(std::ostream &o) const
Definition:
LateMuonTOB.cxx:42
TCS::LateMuonTOB::g_nBitsPhi
static const unsigned int g_nBitsPhi
Definition:
LateMuonTOB.h:82
TCS::LateMuonTOB::g_nBitsEt
static const unsigned int g_nBitsEt
Definition:
LateMuonTOB.h:79
TCS::LateMuonTOB::g_nBitsEta
static const unsigned int g_nBitsEta
Definition:
LateMuonTOB.h:81
LateMuonTOB.h
TCS::LateMuonTOB::g_nBitsIsolation
static const unsigned int g_nBitsIsolation
Definition:
LateMuonTOB.h:80
dq_make_web_display.cl
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
Definition:
dq_make_web_display.py:26
Generated on Sun Dec 22 2024 21:13:50 for ATLAS Offline Software by
1.8.18