ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonRDO
src
TgcRdoContainer.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "GaudiKernel/Bootstrap.h"
6
#include "GaudiKernel/ISvcLocator.h"
7
#include "GaudiKernel/IMessageSvc.h"
8
#include "
StoreGate/StoreGateSvc.h
"
9
10
#include "
MuonRDO/TgcRdoContainer.h
"
11
#include "
EventContainers/SelectAllObject.h
"
12
13
// Default constructor.
14
TgcRdoContainer::TgcRdoContainer
()
15
:
IdentifiableContainer
<
TgcRdo
>(
hashFcn
().
max
())
16
{
17
}
18
19
// Default constructor.
20
TgcRdoContainer::TgcRdoContainer
(
unsigned
int
hashmax)
21
:
IdentifiableContainer
<
TgcRdo
>(hashmax)
22
{
23
}
24
25
TgcRdoContainer::TgcRdoContainer
(
TgcRdo_Cache
* cache)
26
:
IdentifiableContainer
<
TgcRdo
>(cache)
27
{
28
}
29
30
31
// Destructor.
32
TgcRdoContainer::~TgcRdoContainer
()
33
=
default
;
34
36
unsigned
int
37
TgcRdoContainer::idToHash
(
unsigned
int
id
)
38
{
39
return
(
hashFcn
()(
id
));
40
}
41
42
// Class ID
43
CLID
TgcRdoContainer::classID
()
44
{
45
return
ClassID_traits<TgcRdoContainer>::ID
();
46
}
47
48
const
CLID
&
TgcRdoContainer::clID
()
const
49
{
50
static
const
CLID
cid =
classID
();
51
return
cid;
52
}
53
54
const
TgcRdoIdHash
&
55
TgcRdoContainer::hashFcn
()
56
{
57
static
const
TgcRdoIdHash
hashFcn
;
58
return
(
hashFcn
);
59
}
60
61
62
// Insert a RawData
63
void
TgcRdoContainer::push_back
(
TgcRawData
*
/*rawData*/
)
64
{
65
}
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
SelectAllObject.h
StoreGateSvc.h
TgcRdoContainer.h
TgcRdo_Cache
EventContainers::IdentifiableCache< TgcRdo > TgcRdo_Cache
Definition
TgcRdo_Cache.h:10
max
#define max(a, b)
Definition
cfImp.cxx:41
TgcRawData
An unit object of TGC ROD output.
Definition
TgcRawData.h:23
TgcRdoContainer::~TgcRdoContainer
~TgcRdoContainer()
TgcRdoContainer::push_back
void push_back(TgcRawData *rawData)
Definition
TgcRdoContainer.cxx:63
TgcRdoContainer::clID
virtual const CLID & clID() const override
return class ID
Definition
TgcRdoContainer.cxx:48
TgcRdoContainer::classID
static CLID classID()
Definition
TgcRdoContainer.cxx:43
TgcRdoContainer::hashFcn
static const TgcRdoIdHash & hashFcn()
Definition
TgcRdoContainer.cxx:55
TgcRdoContainer::idToHash
static unsigned int idToHash(unsigned int id)
Convert identifier to idhash.
Definition
TgcRdoContainer.cxx:37
TgcRdoContainer::TgcRdoContainer
TgcRdoContainer()
Definition
TgcRdoContainer.cxx:14
TgcRdoIdHash
Definition
TgcRdoIdHash.h:18
TgcRdo
Definition
TgcRdo.h:22
ClassID_traits::ID
static constexpr CLID ID()
Definition
Control/AthenaKernel/AthenaKernel/ClassID_traits.h:44
Generated on
for ATLAS Offline Software by
1.17.0