ATLAS Offline Software
Global/GlobalSimulation/src/IO/jJetTOBArray.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "jJetTOBArray.h"
7 
8 #include <ostream>
9 
10 namespace GlobalSim {
11 
12  jJetTOBArray::jJetTOBArray(const std::string & name,
13  unsigned int reserve) :
14  TCS::InputTOBArray(name),
15  TCS::DataArrayImpl<TCS::jJetTOB>(reserve)
16  {}
17 
18 
19  void
20  jJetTOBArray::print(std::ostream &o) const {
21  o << name() << std::endl;
22  for(const_iterator tob = begin(); tob != end(); ++tob)
23  o << **tob << std::endl;
24  }
25 
26 }
TCS::DataArrayImpl< TCS::jJetTOB >::const_iterator
data_t::const_iterator const_iterator
Definition: DataArrayImpl.h:18
GlobalSim::jJetTOBArray::print
virtual void print(std::ostream &) const
Definition: Global/GlobalSimulation/src/IO/jJetTOBArray.cxx:20
jJetTOBArray.h
GlobalSim::jJetTOBArray::jJetTOBArray
jJetTOBArray(const std::string &name, unsigned int reserve)
Definition: Global/GlobalSimulation/src/IO/jJetTOBArray.cxx:12
TCS::DataArray::name
const std::string & name() const
Definition: DataArray.h:20
TCS::DataArrayImpl< TCS::jJetTOB >::end
iterator end()
Definition: DataArrayImpl.h:43
GlobalSim
AlgTool to obtain a GlobalSim::cTAUTOBArray This class uses ReadHandls to jFex and eFex Tau Rois If t...
Definition: dump.h:8
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
GenericTOB.h
TCS::DataArrayImpl< TCS::jJetTOB >::begin
iterator begin()
Definition: DataArrayImpl.h:40
TCS
Definition: Global/GlobalSimulation/src/IO/Decision.h:18