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