ATLAS Offline Software
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
IdentifiableContainerMT::size
size_t size() const
Duplicate of fullSize for backwards compatability.
Definition:
IdentifiableContainerMT.h:206
Muon::STGC_RawDataContainer
Definition:
STGC_RawDataContainer.h:18
Muon::STGC_RawDataContainer::STGC_RawDataContainer
STGC_RawDataContainer()
Definition:
STGC_RawDataContainer.cxx:8
Muon::STGC_RawDataContainer::classID
static const CLID & classID()
Definition:
STGC_RawDataContainer.cxx:27
STGC_RawDataContainer.h
ClassID_traits::ID
static const CLID & ID()
the CLID of T
Definition:
Control/AthenaKernel/AthenaKernel/ClassID_traits.h:50
Muon::STGC_RawDataContainer::~STGC_RawDataContainer
~STGC_RawDataContainer()
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
Muon::STGC_RawDataCollection
Definition:
STGC_RawDataCollection.h:18
IdentifiableContainerMT
Definition:
IdentifiableContainerMT.h:30
EventContainers::IdentifiableCache
Definition:
IdentifiableCache.h:29
Generated on Sun Dec 22 2024 21:18:30 for ATLAS Offline Software by
1.8.18