ATLAS Offline Software
jTauTOBArray.cxx
Go to the documentation of this file.
1 // Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
2 
4 #include "L1TopoEvent/TOBArray.h"
6 
7 TCS::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 
21 void
22 TCS::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 
TCS::jTauTOBArray::asTOBArray
TOBArray asTOBArray() const
Definition: jTauTOBArray.cxx:14
TCS::DataArrayImpl< jTauTOB >::const_iterator
data_t::const_iterator const_iterator
Definition: DataArrayImpl.h:18
m_data
std::vector< T > m_data
Definition: TrackTruthMatchingBaseAlg.cxx:660
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
TCS::jTauTOBArray::print
virtual void print(std::ostream &) const
Definition: jTauTOBArray.cxx:22
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
TCS::TOBArray::push_back
void push_back(const CompositeTOB &tob)
Definition: TOBArray.cxx:24
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
TCS::DataArrayImpl
Definition: DataArrayImpl.h:13
TCS::InputTOBArray
Definition: InputTOBArray.h:15
TCS::jTauTOBArray::jTauTOBArray
jTauTOBArray(const std::string &name, unsigned int reserve)
Definition: jTauTOBArray.cxx:7
TCS::jTauTOB
Definition: jTauTOB.h:16
TOBArray.h
TCS::TOBArray
Definition: TOBArray.h:24
TCS::GenericTOB
Definition: GenericTOB.h:35
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
GenericTOB.h
jTauTOBArray.h