ATLAS Offline Software
jLJetTOB.cxx
Go to the documentation of this file.
1 // Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2 
3 #include "L1TopoEvent/jLJetTOB.h"
4 
6 
7 // constructors
8 // default constructor
9 TCS::jLJetTOB::jLJetTOB(uint32_t roiWord, const std::string& tobName) :
10  BaseTOB( roiWord,tobName )
11 {}
12 
13 // constructor with initial values
14 TCS::jLJetTOB::jLJetTOB(unsigned int Et, int eta, unsigned phi, uint32_t roiWord, const std::string& tobName) :
15  BaseTOB( roiWord,tobName )
16  , m_Et(Et)
17  , m_eta(eta)
18  , m_phi(phi)
19 {}
20 
21 // copy constructor
22 TCS::jLJetTOB::jLJetTOB(const jLJetTOB & jet) = default;
23 
24 TCS::jLJetTOB::~jLJetTOB() = default;
25 
28  return fg_heap.create(jet);
29 }
30 
31 void
33  return fg_heap.clear();
34 }
35 
36 void
37 TCS::jLJetTOB::print(std::ostream &o) const {
38  o << "jLargeJet energy: " << Et() << ", eta: " << eta() << ", phi: " << phi();
39 }
TCS::jLJetTOB::~jLJetTOB
virtual ~jLJetTOB()
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
TCS::jLJetTOB::jLJetTOB
jLJetTOB(uint32_t roiWord=0, const std::string &tobName="jLJetTOB")
Definition: jLJetTOB.cxx:9
TCS::jLJetTOB::clearHeap
static void clearHeap()
Definition: jLJetTOB.cxx:32
TCS::jLJetTOB::fg_heap
static thread_local Heap< TCS::jLJetTOB > fg_heap
Definition: jLJetTOB.h:73
TCS::Heap< TCS::jLJetTOB >
xAOD::roiWord
roiWord
Definition: TrigMissingET_v1.cxx:36
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
TCS::jLJetTOB
Definition: jLJetTOB.h:16
TCS::BaseTOB
Definition: BaseTOB.h:12
TCS::jLJetTOB::print
virtual void print(std::ostream &o) const
Definition: jLJetTOB.cxx:37
jLJetTOB.h
TCS::jLJetTOB::createOnHeap
static jLJetTOB * createOnHeap(const jLJetTOB &jet)
Definition: jLJetTOB.cxx:27