ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1Topo
L1TopoEvent
Root
MetTOB.cxx
Go to the documentation of this file.
1
// Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2
3
#include "
L1TopoEvent/MetTOB.h
"
4
5
thread_local
TCS::Heap<TCS::MetTOB>
TCS::MetTOB::fg_heap
(
"Met"
);
6
7
const
unsigned
int
TCS::MetTOB::g_nBitsEx
= 15;
8
const
unsigned
int
TCS::MetTOB::g_nBitsEy
= 15;
9
const
unsigned
int
TCS::MetTOB::g_nBitsEt
= 15;
10
11
// default constructor
12
TCS::MetTOB::MetTOB
() :
BaseTOB
(0,
"MetTOB"
)
13
{}
14
15
// constructor with initial values
16
TCS::MetTOB::MetTOB
(
int
ex,
int
ey,
unsigned
int
et
) :
BaseTOB
(0,
"MetTOB"
)
17
,
m_Ex
( ex )
18
,
m_Ey
( ey )
19
,
m_Et
(
et
)
20
{}
21
22
// constructor with initial values
23
TCS::MetTOB::MetTOB
(
const
MetTOB
&
met
) :
BaseTOB
(0,
"MetTOB"
)
24
,
m_Ex
(
met
.
m_Ex
)
25
,
m_Ey
(
met
.
m_Ey
)
26
,
m_Et
(
met
.
m_Et
)
27
{}
28
29
// destructor
30
TCS::MetTOB::~MetTOB
() =
default
;
31
32
TCS::MetTOB
*
33
TCS::MetTOB::createOnHeap
(
const
MetTOB
& cl) {
34
return
fg_heap
.create(cl);
35
}
36
37
void
38
TCS::MetTOB::clearHeap
() {
39
return
fg_heap
.clear();
40
}
41
42
void
TCS::MetTOB::print
(std::ostream &o)
const
{
43
o <<
"MET signed Ex: "
<<
Ex
() <<
", signed Ey: "
<<
Ey
() <<
", sum Et: "
<<
Et
();
44
}
MetTOB.h
TCS::BaseTOB::BaseTOB
BaseTOB(uint32_t roiWord, const std::string_view tobType)
Definition
BaseTOB.cxx:11
TCS::Heap
Definition
Heap.h:13
TCS::MetTOB
Definition
MetTOB.h:13
TCS::MetTOB::g_nBitsEt
static const unsigned int g_nBitsEt
Definition
MetTOB.h:63
TCS::MetTOB::print
virtual void print(std::ostream &o) const
Definition
MetTOB.cxx:42
TCS::MetTOB::g_nBitsEx
static const unsigned int g_nBitsEx
Definition
MetTOB.h:61
TCS::MetTOB::m_Ex
int m_Ex
Definition
MetTOB.h:65
TCS::MetTOB::Et
unsigned int Et() const
Definition
MetTOB.h:36
TCS::MetTOB::Ex
int Ex() const
Definition
MetTOB.h:34
TCS::MetTOB::m_Et
unsigned int m_Et
Definition
MetTOB.h:67
TCS::MetTOB::fg_heap
static Heap< TCS::MetTOB > fg_heap
Definition
MetTOB.h:73
TCS::MetTOB::Ey
int Ey() const
Definition
MetTOB.h:35
TCS::MetTOB::clearHeap
static void clearHeap()
Definition
MetTOB.cxx:38
TCS::MetTOB::g_nBitsEy
static const unsigned int g_nBitsEy
Definition
MetTOB.h:62
TCS::MetTOB::createOnHeap
static MetTOB * createOnHeap(const MetTOB &cl)
Definition
MetTOB.cxx:33
TCS::MetTOB::~MetTOB
virtual ~MetTOB()
TCS::MetTOB::m_Ey
int m_Ey
Definition
MetTOB.h:66
TCS::MetTOB::MetTOB
MetTOB()
Definition
MetTOB.cxx:12
met
Definition
IMETSignificance.h:24
et
Extra patterns decribing particle interation process.
Generated on
for ATLAS Offline Software by
1.17.0