ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1Topo
L1TopoEvent
Root
jEmTOB.cxx
Go to the documentation of this file.
1
// Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3
#include "
L1TopoEvent/jEmTOB.h
"
4
#include <iostream>
5
6
thread_local
TCS::Heap<TCS::jEmTOB>
TCS::jEmTOB::fg_heap
(
"jEm"
);
7
8
// constructors
9
// default constructor
10
TCS::jEmTOB::jEmTOB
(uint32_t
roiWord
, std::string_view
tobName
) :
11
BaseTOB
(
roiWord
,
tobName
)
12
{}
13
14
// constructor with initial values
15
TCS::jEmTOB::jEmTOB
(
unsigned
int
Et
,
int
eta
,
unsigned
phi
, uint32_t
roiWord
, std::string_view
tobName
) :
16
BaseTOB
(
roiWord
,
tobName
)
17
,
m_Et
(
Et
)
18
,
m_eta
(
eta
)
19
,
m_phi
(
phi
)
20
{}
21
22
// copy constructor
23
TCS::jEmTOB::jEmTOB
(
const
jEmTOB
&
jet
) =
default
;
24
25
TCS::jEmTOB::~jEmTOB
() =
default
;
26
27
TCS::jEmTOB
*
28
TCS::jEmTOB::createOnHeap
(
const
jEmTOB
&
jet
) {
29
return
fg_heap
.create(
jet
);
30
}
31
32
void
33
TCS::jEmTOB::clearHeap
() {
34
return
fg_heap
.clear();
35
}
36
37
void
38
TCS::jEmTOB::print
(std::ostream &o)
const
{
39
o <<
"jEm jet energy: "
<<
Et
() <<
", eta: "
<<
eta
() <<
", phi: "
<<
phi
();
40
}
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
TCS::BaseTOB::tobName
const std::string & tobName() const
Definition
BaseTOB.h:24
TCS::BaseTOB::roiWord
uint32_t roiWord() const
Definition
BaseTOB.h:22
TCS::BaseTOB::BaseTOB
BaseTOB(uint32_t roiWord, const std::string_view tobType)
Definition
BaseTOB.cxx:11
TCS::Heap
Definition
Heap.h:13
TCS::jEmTOB
Definition
jEmTOB.h:16
TCS::jEmTOB::jEmTOB
jEmTOB(uint32_t roiWord=0, std::string_view tobName="jEm")
Definition
jEmTOB.cxx:10
TCS::jEmTOB::Et
unsigned int Et() const
Definition
jEmTOB.h:32
TCS::jEmTOB::fg_heap
static Heap< TCS::jEmTOB > fg_heap
Definition
jEmTOB.h:84
TCS::jEmTOB::phi
unsigned phi() const
Definition
jEmTOB.h:34
TCS::jEmTOB::m_phi
unsigned m_phi
Definition
jEmTOB.h:70
TCS::jEmTOB::m_eta
int m_eta
Definition
jEmTOB.h:69
TCS::jEmTOB::eta
int eta() const
Definition
jEmTOB.h:33
TCS::jEmTOB::createOnHeap
static jEmTOB * createOnHeap(const jEmTOB &cluster)
Definition
jEmTOB.cxx:28
TCS::jEmTOB::clearHeap
static void clearHeap()
Definition
jEmTOB.cxx:33
TCS::jEmTOB::print
virtual void print(std::ostream &o) const
Definition
jEmTOB.cxx:38
TCS::jEmTOB::~jEmTOB
virtual ~jEmTOB()
TCS::jEmTOB::m_Et
unsigned int m_Et
Definition
jEmTOB.h:68
jEmTOB.h
jet
Definition
JetCalibTools_PlotJESFactors.cxx:23
Generated on
for ATLAS Offline Software by
1.17.0