ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1Topo
L1TopoEvent
Root
gLJetTOB.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/gLJetTOB.h
"
4
#include <iostream>
5
6
thread_local
TCS::Heap<TCS::gLJetTOB>
TCS::gLJetTOB::fg_heap
(
"gLJet"
);
7
8
// constructors
9
// default constructor
10
TCS::gLJetTOB::gLJetTOB
(uint32_t
roiWord
, std::string_view
tobName
) :
11
BaseTOB
(
roiWord
,
tobName
)
12
{}
13
14
// constructor with initial values
15
TCS::gLJetTOB::gLJetTOB
(
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
,
m_EtDouble
(
Et
/10.)
21
,
m_etaDouble
(
eta
/40.)
22
,
m_phiDouble
(
phi
/20.)
23
{}
24
25
// copy constructor
26
TCS::gLJetTOB::gLJetTOB
(
const
gLJetTOB
&
jet
) =
default
;
27
28
TCS::gLJetTOB::~gLJetTOB
() =
default
;
29
30
TCS::gLJetTOB
*
31
TCS::gLJetTOB::createOnHeap
(
const
gLJetTOB
&
jet
) {
32
return
fg_heap
.create(
jet
);
33
}
34
35
void
36
TCS::gLJetTOB::clearHeap
() {
37
return
fg_heap
.clear();
38
}
39
40
void
41
TCS::gLJetTOB::print
(std::ostream &o)
const
{
42
o <<
"gLJet energy: "
<<
Et
() <<
", eta: "
<<
eta
() <<
", phi: "
<<
phi
();
43
}
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::gLJetTOB
Definition
gLJetTOB.h:18
TCS::gLJetTOB::m_EtDouble
double m_EtDouble
Definition
gLJetTOB.h:72
TCS::gLJetTOB::phi
unsigned phi() const
Definition
gLJetTOB.h:39
TCS::gLJetTOB::m_Et
unsigned int m_Et
Definition
gLJetTOB.h:68
TCS::gLJetTOB::Et
unsigned int Et() const
Definition
gLJetTOB.h:35
TCS::gLJetTOB::fg_heap
static Heap< TCS::gLJetTOB > fg_heap
Definition
gLJetTOB.h:78
TCS::gLJetTOB::~gLJetTOB
virtual ~gLJetTOB()
TCS::gLJetTOB::m_eta
int m_eta
Definition
gLJetTOB.h:69
TCS::gLJetTOB::print
virtual void print(std::ostream &o) const
Definition
gLJetTOB.cxx:41
TCS::gLJetTOB::eta
int eta() const
Definition
gLJetTOB.h:38
TCS::gLJetTOB::createOnHeap
static gLJetTOB * createOnHeap(const gLJetTOB &jet)
Definition
gLJetTOB.cxx:31
TCS::gLJetTOB::m_phiDouble
double m_phiDouble
Definition
gLJetTOB.h:74
TCS::gLJetTOB::gLJetTOB
gLJetTOB(uint32_t roiWord=0, std::string_view tobName="gLJetTOB")
Definition
gLJetTOB.cxx:10
TCS::gLJetTOB::clearHeap
static void clearHeap()
Definition
gLJetTOB.cxx:36
TCS::gLJetTOB::m_phi
unsigned m_phi
Definition
gLJetTOB.h:70
TCS::gLJetTOB::m_etaDouble
double m_etaDouble
Definition
gLJetTOB.h:73
gLJetTOB.h
jet
Definition
JetCalibTools_PlotJESFactors.cxx:23
Generated on
for ATLAS Offline Software by
1.17.0