ATLAS Offline Software
MuonSpectrometer
MuonRDO
src
MM_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/MM_RawDataContainer.h
"
6
#include <iostream>
7
#include "
EventContainers/SelectAllObject.h
"
8
9
Muon::MM_RawDataContainer::MM_RawDataContainer
()
10
:
IdentifiableContainer
<
MM_RawDataCollection
>(nullptr)
11
{
12
}
13
14
Muon::MM_RawDataContainer::MM_RawDataContainer
(
unsigned
int
hashmax)
15
:
IdentifiableContainer
<
MM_RawDataCollection
>(hashmax)
16
{
17
}
18
19
Muon::MM_RawDataContainer::MM_RawDataContainer
(
MM_RawDataCollection_Cache
* cache)
20
:
IdentifiableContainer
<
MM_RawDataCollection
>(cache)
21
{
22
}
23
24
// Destructor.
25
Muon::MM_RawDataContainer::~MM_RawDataContainer
() =
default
;
26
27
const
CLID
&
Muon::MM_RawDataContainer::classID
()
28
{
29
return
ClassID_traits<MM_RawDataContainer>::ID
();
30
}
31
32
33
// Output stream.
34
std::ostream&
operator<<
(std::ostream& lhs,
const
Muon::MM_RawDataContainer
& rhs) {
35
lhs <<
"MM_RawDataContainer has "
<< rhs.
size
() <<
" collections:"
<< std::endl;
36
for
(
const
auto
*
col
: rhs ){
37
lhs <<
"Collection with hash ["
<<
col
->identifierHash()<<
"] : "
<< std::endl;
38
for
(
const
auto
*rdo : *
col
){
39
lhs << *rdo;
40
}
41
}
42
return
lhs;
43
}
44
Muon::MM_RawDataContainer::~MM_RawDataContainer
virtual ~MM_RawDataContainer()
IdentifiableContainerMT::size
size_t size() const
Duplicate of fullSize for backwards compatability.
Definition:
IdentifiableContainerMT.h:206
Muon::MM_RawDataContainer::MM_RawDataContainer
MM_RawDataContainer()
Definition:
MM_RawDataContainer.cxx:9
Muon::MM_RawDataCollection
Definition:
MM_RawDataCollection.h:15
Muon::MM_RawDataContainer::classID
static const CLID & classID()
class ID
Definition:
MM_RawDataContainer.cxx:27
Muon::MM_RawDataContainer
Definition:
MM_RawDataContainer.h:18
ClassID_traits::ID
static const CLID & ID()
the CLID of T
Definition:
Control/AthenaKernel/AthenaKernel/ClassID_traits.h:50
CLID
uint32_t CLID
The Class ID type.
Definition:
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
query_example.col
col
Definition:
query_example.py:7
Muon::operator<<
std::ostream & operator<<(std::ostream &ostr, const Muon::HedgehogBoard &board)
Definition:
HedgehogBoard.cxx:11
MM_RawDataContainer.h
IdentifiableContainerMT
Definition:
IdentifiableContainerMT.h:30
SelectAllObject.h
EventContainers::IdentifiableCache
Definition:
IdentifiableCache.h:29
Generated on Sun Dec 22 2024 21:14:35 for ATLAS Offline Software by
1.8.18