ATLAS Offline Software
Loading...
Searching...
No Matches
gTETOB.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
13 , m_sumEt( sumEt )
15{}
16
17
18// copy constructor
19TCS::gTETOB::gTETOB(const TCS::gTETOB & gte) = default;
20
21
22// destructor
23TCS::gTETOB::~gTETOB() = default;
24
27 return fg_heap.create(gte);
28}
29
30void
32 return fg_heap.clear();
33}
34
35void TCS::gTETOB::print(std::ostream &o) const {
36 o << "gTE type: " << tobType() << ", sumEt: " << sumEt();
37}
BaseTOB(uint32_t roiWord, const std::string &tobType)
Definition BaseTOB.cxx:11
unsigned int m_sumEt
Definition gTETOB.h:52
static gTETOB * createOnHeap(const gTETOB &gte)
Definition gTETOB.cxx:26
static void clearHeap()
Definition gTETOB.cxx:31
inputTOBType_t tobType() const
Definition gTETOB.h:48
virtual void print(std::ostream &o) const
Definition gTETOB.cxx:35
inputTOBType_t m_tobType
Definition gTETOB.h:56
virtual ~gTETOB()
static thread_local Heap< TCS::gTETOB > fg_heap
Definition gTETOB.h:58
unsigned int sumEt() const
Definition gTETOB.h:30