ATLAS Offline Software
TRT_DriftCircleCollection.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 #include "GaudiKernel/MsgStream.h"
7 #include <ostream>
8 #include <sstream>
9 
10 namespace InDet
11 {
12 
13  MsgStream& operator << ( MsgStream& sl, const TRT_DriftCircleCollection& coll)
14  {
15  std::ostringstream out;
16  out<<coll;
17  sl<<out.str();
18  return sl;
19  }
20 
21  std::ostream& operator << ( std::ostream& sl, const TRT_DriftCircleCollection& coll)
22  {
23  sl << "TRT_DriftCircleCollection: "
24  << "identify()="<< coll.identify()
25  << ", PRD=[";
26  TRT_DriftCircleCollection::const_iterator it = coll.begin();
27  TRT_DriftCircleCollection::const_iterator itEnd = coll.end();
28  for (;it!=itEnd;++it) sl<< (**it)<<", ";
29  sl <<" ]"<<std::endl;
30  return sl;
31  }
32 
33 }//end of ns
InDet::operator<<
MsgStream & operator<<(MsgStream &, const GNNTrackReaderTool &)
InDet
DUMMY Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
skel.it
it
Definition: skel.GENtoEVGEN.py:423
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
InDet::TRT_DriftCircleCollection
Trk::PrepRawDataCollection< TRT_DriftCircle > TRT_DriftCircleCollection
Definition: TRT_DriftCircleCollection.h:26
TRT_DriftCircleCollection.h