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