ATLAS Offline Software
Loading...
Searching...
No Matches
SpacePointCollection.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
6// SpacePointCollection.cxx
7// Implementation file for class SpacePointCollection
9// (c) ATLAS Detector software
11// Version 1.0 14/10/2003 Veronique Boisvert
13
15#include "GaudiKernel/MsgStream.h"
16// Constructor with parameters:
21
22// Constructor with parameters:
24 DataVector< Trk::SpacePoint >( spc ),
25 m_idHash(),
26 m_id()
27{
28 // added this ctor as a temporary hack for HLT
29 // it should never be called.
31}
32
33// Destructor:
35
40
45
50
51std::string SpacePointCollection::type() const
52{
53 return "SpacePointCollection";
54}
55
56MsgStream& operator << ( MsgStream& sl, const SpacePointCollection& coll) {
57 sl << "SpacePointCollection: "
58 << "identify()="<< coll.identify()
59 << ", SP=[";
62 for (;it!=itEnd;++it) { sl<< (**it)<<", ";}
63 sl <<" ]"<<std::endl;
64 return sl;
65}
66
68std::ostream& operator << ( std::ostream& sl, const SpacePointCollection& coll) {
69 sl << "SpacePointCollection: "
70 << "identify()="<< coll.identify()
71 << ", SP=[";
74 for (;it!=itEnd;++it) { sl<< (**it)<<", ";}
75 sl <<" ]"<<std::endl;
76 return sl;
77}
MsgStream & operator<<(MsgStream &sl, const SpacePointCollection &coll)
Overload of << operator for MsgStream for debug output.
DataModel_detail::const_iterator< DataVector > const_iterator
Definition DataVector.h:838
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
This is a "hash" representation of an Identifier.
virtual Identifier identify() const override final
virtual ~SpacePointCollection()
SpacePointCollection()=delete
void setIdentifier(Identifier id)
SpacePointCollection(const IdentifierHash idHash)
virtual IdentifierHash identifyHash() const override final
virtual std::string type() const
const IdentifierHash m_idHash
Ensure that the ATLAS eigen extensions are properly loaded.