ATLAS Offline Software
jXETOB.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/jXETOB.h"
4 
5 thread_local TCS::Heap<TCS::jXETOB> TCS::jXETOB::fg_heap("jXETOB");
6 
7 // default constructor
8 TCS::jXETOB::jXETOB() : BaseTOB(0,"jXETOB")
9 {}
10 
11 // constructor with initial values
12 TCS::jXETOB::jXETOB(int ex, int ey, unsigned int et, inputTOBType_t tobType) : BaseTOB(0,"jXETOB")
13  , m_Ex( ex )
14  , m_Ey( ey )
15  , m_Et( et )
16  , m_tobType( tobType )
17 {}
18 
19 
20 // copy constructor
21 TCS::jXETOB::jXETOB(const TCS::jXETOB & jxe) = default;
22 
23 
24 // destructor
25 TCS::jXETOB::~jXETOB() = default;
26 
29  return fg_heap.create(jxe);
30 }
31 
32 void
34  return fg_heap.clear();
35 }
36 
37 void TCS::jXETOB::print(std::ostream &o) const {
38  o << "jXE type: " << tobType() << ", signed Ex: " << Ex() << ", signed Ey: " << Ey() << ", Et: " << Et();
39 }
et
Extra patterns decribing particle interation process.
TCS::Heap< TCS::jXETOB >
TCS::jXETOB::clearHeap
static void clearHeap()
Definition: jXETOB.cxx:33
jXETOB.h
TCS::BaseTOB
Definition: BaseTOB.h:12
TCS::jXETOB::createOnHeap
static jXETOB * createOnHeap(const jXETOB &jxe)
Definition: jXETOB.cxx:28
TCS::jXETOB::~jXETOB
virtual ~jXETOB()
TCS::jXETOB::jXETOB
jXETOB()
Definition: jXETOB.cxx:8
TCS::inputTOBType_t
inputTOBType_t
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Types.h:10
TCS::jXETOB::fg_heap
static thread_local Heap< TCS::jXETOB > fg_heap
Definition: jXETOB.h:74
TCS::jXETOB::print
virtual void print(std::ostream &o) const
Definition: jXETOB.cxx:37
TCS::jXETOB
Definition: jXETOB.h:13