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