ATLAS Offline Software
Loading...
Searching...
No Matches
jTauTOBArray.cxx
Go to the documentation of this file.
1// Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
2
6
7TCS::jTauTOBArray::jTauTOBArray(const std::string & name, unsigned int reserve) :
9 DataArrayImpl<jTauTOB>(reserve)
10{}
11
12
15 TOBArray tobarray(name());
16 for(const jTauTOB * jet : m_data)
17 tobarray.push_back( GenericTOB(*jet));
18 return tobarray;
19}
20
21void
22TCS::jTauTOBArray::print(std::ostream &o) const {
23 o << name() << std::endl;
24 for(const_iterator tob = begin(); tob != end(); ++tob)
25 o << **tob << std::endl;
26}
27
data_t::const_iterator const_iterator
DataArrayImpl(unsigned int reserve=0)
const std::string & name() const
Definition DataArray.h:20
InputTOBArray(const std::string &name)
void push_back(const CompositeTOB &tob)
Definition TOBArray.cxx:24
TOBArray asTOBArray() const
jTauTOBArray(const std::string &name, unsigned int reserve)
virtual void print(std::ostream &) const