ATLAS Offline Software
MuonSpectrometer
MuonRDO
src
NSW_PadTriggerDataContainer.cxx
Go to the documentation of this file.
1
#include "
MuonRDO/NSW_PadTriggerDataContainer.h
"
2
3
namespace
Muon
{
4
5
NSW_PadTriggerDataContainer::NSW_PadTriggerDataContainer
()
6
:
IdentifiableContainer
<
NSW_PadTriggerData
>(HASH_MAX) { }
7
8
NSW_PadTriggerDataContainer::NSW_PadTriggerDataContainer
(
unsigned
int
hashMax)
9
:
IdentifiableContainer
<
NSW_PadTriggerData
>(hashMax) { }
10
11
const
CLID
&
NSW_PadTriggerDataContainer::classID
() {
12
return
ClassID_traits<NSW_PadTriggerDataContainer>::ID
();
13
}
14
15
const
CLID
&
NSW_PadTriggerDataContainer::clID
()
const
{
16
return
classID
();
17
}
18
19
std::string
NSW_PadTriggerDataContainer::string
()
const
{
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
Generated on Thu Nov 7 2024 21:22:53 for ATLAS Offline Software by
1.8.18