ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSpectrometer
MuonRDO
src
STGC_RawDataContainer.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MuonRDO/STGC_RawDataContainer.h
"
6
#include <iostream>
7
8
Muon::STGC_RawDataContainer::STGC_RawDataContainer
()
9
:
IdentifiableContainer
<
STGC_RawDataCollection
>(nullptr)
10
{
11
}
12
13
Muon::STGC_RawDataContainer::STGC_RawDataContainer
(
unsigned
int
hashmax)
14
:
IdentifiableContainer
<
STGC_RawDataCollection
>(hashmax)
15
{
16
}
17
18
Muon::STGC_RawDataContainer::STGC_RawDataContainer
(
STGC_RawDataCollection_Cache
* cache)
19
:
IdentifiableContainer
<
STGC_RawDataCollection
>(cache)
20
{
21
}
22
23
24
// Destructor.
25
Muon::STGC_RawDataContainer::~STGC_RawDataContainer
() =
default
;
26
27
const
CLID
&
Muon::STGC_RawDataContainer::classID
()
28
{
29
return
ClassID_traits<STGC_RawDataContainer>::ID
();
30
}
31
32
33
// Output stream.
34
std::ostream&
operator<<
(std::ostream& lhs,
const
Muon::STGC_RawDataContainer
& rhs) {
35
lhs <<
"STGC_RawDataContainer has "
<< rhs.
size
() <<
" collections:"
<< std::endl;
36
for
(
const
auto
*col : rhs ){
37
lhs <<
"Collection with hash ["
<<col->identifyHash()<<
"] : "
<< std::endl;
38
for
(
const
auto
*rdo : *col ){
39
lhs << *rdo;
40
}
41
}
42
return
lhs;
43
}
44
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
IdentifiableContainer
IdentifiableContainerMT< T > IdentifiableContainer
Definition
IdentifiableContainer.h:11
STGC_RawDataCollection_Cache
EventContainers::IdentifiableCache< Muon::STGC_RawDataCollection > STGC_RawDataCollection_Cache
Definition
STGC_RawDataCollection_Cache.h:10
STGC_RawDataContainer.h
IdentifiableContainerMT::size
size_t size() const
Duplicate of fullSize for backwards compatability.
Definition
IdentifiableContainerMT.h:207
Muon::STGC_RawDataCollection
Definition
STGC_RawDataCollection.h:18
Muon::STGC_RawDataContainer
Definition
STGC_RawDataContainer.h:18
Muon::STGC_RawDataContainer::classID
static const CLID & classID()
Definition
STGC_RawDataContainer.cxx:27
Muon::STGC_RawDataContainer::STGC_RawDataContainer
STGC_RawDataContainer()
Definition
STGC_RawDataContainer.cxx:8
Muon::STGC_RawDataContainer::~STGC_RawDataContainer
~STGC_RawDataContainer()
Muon::operator<<
std::ostream & operator<<(std::ostream &ostr, const Muon::HedgehogBoard &board)
Definition
HedgehogBoard.cxx:11
ClassID_traits::ID
static CLID ID()
Definition
Control/AthenaKernel/AthenaKernel/ClassID_traits.h:44
Generated on
for ATLAS Offline Software by
1.14.0