ATLAS Offline Software
Trigger
TrigT1
L1Topo
L1TopoEvent
Root
MuonTOB.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/MuonTOB.h
"
4
5
thread_local
TCS::Heap<TCS::MuonTOB>
TCS::MuonTOB::fg_heap
(
"Muon"
);
6
7
TCS::MuonTOB::MuonTOB
(
uint32_t
roiWord
,
const
std::string& tobName) :
8
BaseTOB
(
roiWord
,tobName )
9
{}
10
11
// constructor with initial values
12
TCS::MuonTOB::MuonTOB
(
unsigned
int
et
,
unsigned
int
isolation,
int
eta,
unsigned
int
phi,
uint32_t
roiWord
,
const
std::string& tobName) :
13
BaseTOB
(
roiWord
,tobName )
14
, m_Et( sizeCheck(
et
, nBitsEt()) )
15
, m_isolation( sizeCheck( isolation, nBitsIsolation()) )
16
, m_eta( sizeCheck(eta, nBitsEta()) )
17
, m_phi( sizeCheck(phi, nBitsPhi()) )
18
{}
19
20
// copy constructor
21
TCS::MuonTOB::MuonTOB
(
const
TCS::MuonTOB
&
muon
) =
default
;
22
23
// destructor
24
TCS::MuonTOB::~MuonTOB
() =
default
;
25
26
27
TCS::MuonTOB
*
28
TCS::MuonTOB::createOnHeap
(
const
MuonTOB
&
muon
) {
29
return
fg_heap.create(
muon
);
30
}
31
32
void
33
TCS::MuonTOB::clearHeap
() {
34
return
fg_heap.clear();
35
}
36
37
void
TCS::MuonTOB::print
(std::ostream &o)
const
{
38
o <<
"muon energy: "
<< Et() <<
", eta: "
<< eta() <<
", phi: "
<< phi() <<
", bw2or3: "
<< bw2or3() <<
", innerCoin: "
<< innerCoin() <<
", goodMF: "
<< goodMF() <<
", charge: "
<<
charge
() <<
", is2cand: "
<< is2cand() <<
", isTGC: "
<< isTGC();
39
}
xAOD::muon
@ muon
Definition:
TrackingPrimitives.h:195
et
Extra patterns decribing particle interation process.
TCS::MuonTOB
Definition:
MuonTOB.h:14
TCS::MuonTOB::fg_heap
static thread_local Heap< TCS::MuonTOB > fg_heap
Definition:
MuonTOB.h:105
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
MuonTOB.h
TCS::Heap< TCS::MuonTOB >
xAOD::roiWord
roiWord
Definition:
TrigMissingET_v1.cxx:36
TCS::MuonTOB::clearHeap
static void clearHeap()
Definition:
MuonTOB.cxx:33
TCS::BaseTOB
Definition:
BaseTOB.h:12
TCS::MuonTOB::~MuonTOB
virtual ~MuonTOB()
TCS::MuonTOB::MuonTOB
MuonTOB(uint32_t roiWord=0, const std::string &tobName="MuonTOB")
Definition:
MuonTOB.cxx:7
charge
double charge(const T &p)
Definition:
AtlasPID.h:538
TCS::MuonTOB::createOnHeap
static MuonTOB * createOnHeap(const MuonTOB &cl)
Definition:
MuonTOB.cxx:28
TCS::MuonTOB::print
virtual void print(std::ostream &o) const
Definition:
MuonTOB.cxx:37
Generated on Thu Nov 7 2024 21:22:27 for ATLAS Offline Software by
1.8.18