ATLAS Offline Software
Loading...
Searching...
No Matches
gXETOB.cxx
Go to the documentation of this file.
1// Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2
4
6
7// default constructor
9{}
10
11// constructor with initial values
12TCS::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 )
17{}
18
19
20// copy constructor
21TCS::gXETOB::gXETOB(const TCS::gXETOB & gxe) = default;
22
23
24// destructor
25TCS::gXETOB::~gXETOB() = default;
26
29 return fg_heap.create(gxe);
30}
31
32void
34 return fg_heap.clear();
35}
36
37void TCS::gXETOB::print(std::ostream &o) const {
38 o << "gXE type: " << tobType() << ", signed Ex: " << Ex() << ", signed Ey: " << Ey() << ", Et: " << Et();
39}
BaseTOB(uint32_t roiWord, const std::string &tobType)
Definition BaseTOB.cxx:11
virtual void print(std::ostream &o) const
Definition gXETOB.cxx:37
int Ey() const
Definition gXETOB.h:31
inputTOBType_t tobType() const
Definition gXETOB.h:58
int m_Ex
Definition gXETOB.h:63
unsigned int m_Et
Definition gXETOB.h:65
unsigned int Et() const
Definition gXETOB.h:32
int m_Ey
Definition gXETOB.h:64
int Ex() const
Definition gXETOB.h:30
virtual ~gXETOB()
static gXETOB * createOnHeap(const gXETOB &gxe)
Definition gXETOB.cxx:28
static thread_local Heap< TCS::gXETOB > fg_heap
Definition gXETOB.h:74
static void clearHeap()
Definition gXETOB.cxx:33
inputTOBType_t m_tobType
Definition gXETOB.h:72
Extra patterns decribing particle interation process.