ATLAS Offline Software
Global/GlobalSimulation/src/IO/eEmTOBArray.cxx
Go to the documentation of this file.
1 // Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 #include "eEmTOBArray.h"
5 
6 #include "L1TopoEvent/eEmTOB.h"
7 
8 #include <ostream>
9 
10 namespace GlobalSim {
11  eEmTOBArray::eEmTOBArray(const std::string & name, unsigned int reserve) :
12  InputTOBArray(name),
13  DataArrayImpl<TCS::eEmTOB>(reserve)
14  {}
15 
16  void
17  eEmTOBArray::print(std::ostream &o) const {
18  o << name() << '\n';
19  for(const_iterator tob = begin(); tob != end(); ++tob)
20  o << **tob << '\n';
21  }
22 }
23 
TCS::DataArrayImpl< TCS::eEmTOB >::const_iterator
data_t::const_iterator const_iterator
Definition: DataArrayImpl.h:18
TCS::DataArray::name
const std::string & name() const
Definition: DataArray.h:20
TCS::DataArrayImpl< TCS::eEmTOB >::end
iterator end()
Definition: DataArrayImpl.h:43
GlobalSim::eEmTOBArray::eEmTOBArray
eEmTOBArray(const std::string &name, unsigned int reserve)
Definition: Global/GlobalSimulation/src/IO/eEmTOBArray.cxx:11
GlobalSim
AlgTool to obtain a selection of eFex RoIs read in from the event store.
Definition: dump.h:8
GlobalSim::eEmTOBArray::print
virtual void print(std::ostream &) const
Definition: Global/GlobalSimulation/src/IO/eEmTOBArray.cxx:17
eEmTOBArray.h
eEmTOB.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
GenericTOB.h
TCS::DataArrayImpl< TCS::eEmTOB >::begin
iterator begin()
Definition: DataArrayImpl.h:40
TCS
Definition: Global/GlobalSimulation/src/IO/Decision.h:18