ATLAS Offline Software
NSW_PadTriggerDataContainer.cxx
Go to the documentation of this file.
2 
3 namespace Muon {
4 
7 
10 
13 }
14 
16  return classID();
17 }
18 
20  std::stringstream sstream{};
21  sstream << "Number of collections: " << numberOfCollections() << ". Contains collections: " << std::endl;
22  for (const NSW_PadTriggerData* collection : *this) {
23  sstream << collection->string() << std::endl;
24  }
25  return sstream.str();
26 }
27 
28 std::ostream& operator<<(std::ostream& stream, const NSW_PadTriggerDataContainer& rhs) {
29  return stream << rhs.string();
30 }
31 
32 MsgStream& operator<<(MsgStream& stream, const NSW_PadTriggerDataContainer& rhs) {
33  return stream << rhs.string();
34 }
35 } // namespace Muon
NSW_PadTriggerDataContainer.h
Muon::NSW_PadTriggerDataContainer::string
std::string string() const
Definition: NSW_PadTriggerDataContainer.cxx:19
Muon::NSW_PadTriggerDataContainer
Definition: NSW_PadTriggerDataContainer.h:15
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:45
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
ClassID_traits::ID
static const CLID & ID()
the CLID of T
Definition: Control/AthenaKernel/AthenaKernel/ClassID_traits.h:50
IdentifiableContainerMT::numberOfCollections
virtual size_t numberOfCollections() const override final
return number of collections
Definition: IdentifiableContainerMT.h:216
Muon::NSW_PadTriggerData
Definition: NSW_PadTriggerData.h:12
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
Muon::NSW_PadTriggerDataContainer::NSW_PadTriggerDataContainer
NSW_PadTriggerDataContainer()
Definition: NSW_PadTriggerDataContainer.cxx:5
Muon::NSW_PadTriggerData::string
std::string string() const
Definition: NSW_PadTriggerData.cxx:82
Muon::NSW_PadTriggerDataContainer::classID
static const CLID & classID()
Definition: NSW_PadTriggerDataContainer.cxx:11
Muon::operator<<
std::ostream & operator<<(std::ostream &ostr, const Muon::HedgehogBoard &board)
Definition: HedgehogBoard.cxx:11
Muon::NSW_PadTriggerDataContainer::clID
const CLID & clID() const override
Definition: NSW_PadTriggerDataContainer.cxx:15
IdentifiableContainerMT
Definition: IdentifiableContainerMT.h:30