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