ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonRDO
src
TgcL1RdoContainer.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/TgcL1RdoContainer.h
"
11
#include "
EventContainers/SelectAllObject.h
"
12
13
// Default constructor.
14
TgcL1RdoContainer::TgcL1RdoContainer
()
15
:
IdentifiableContainer
<
TgcL1Rdo
>(
hashFcn
().
max
())
16
{
17
}
18
19
// Default constructor.
20
TgcL1RdoContainer::TgcL1RdoContainer
(
unsigned
int
hashmax)
21
:
IdentifiableContainer
<
TgcL1Rdo
>(hashmax)
22
{
23
}
24
25
TgcL1RdoContainer::TgcL1RdoContainer
(
TgcL1Rdo_Cache
* cache)
26
:
IdentifiableContainer
<
TgcL1Rdo
>(cache)
27
{
28
}
29
30
31
// Destructor.
32
TgcL1RdoContainer::~TgcL1RdoContainer
()
33
=
default
;
34
36
unsigned
int
37
TgcL1RdoContainer::idToHash
(
unsigned
int
id
)
38
{
39
return
(
hashFcn
()(
id
));
40
}
41
42
// Class ID
43
CLID
TgcL1RdoContainer::classID
()
44
{
45
return
ClassID_traits<TgcL1RdoContainer>::ID
();
46
}
47
48
const
CLID
&
TgcL1RdoContainer::clID
()
const
49
{
50
static
const
CLID
cid =
classID
();
51
return
cid;
52
}
53
54
const
TgcL1RdoIdHash
&
55
TgcL1RdoContainer::hashFcn
()
56
{
57
static
const
TgcL1RdoIdHash
hashFcn
;
58
return
(
hashFcn
);
59
}
60
61
void
TgcL1RdoContainer::push_back
(
TgcL1RawData
*
/*rawData*/
)
62
{
63
// Kept for consistency
64
}
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
TgcL1RdoContainer.h
TgcL1Rdo_Cache
EventContainers::IdentifiableCache< TgcL1Rdo > TgcL1Rdo_Cache
Definition
TgcL1Rdo_Cache.h:10
max
#define max(a, b)
Definition
cfImp.cxx:41
TgcL1RawData
An unit object of TGC SROD output.
Definition
TgcL1RawData.h:21
TgcL1RdoContainer::~TgcL1RdoContainer
~TgcL1RdoContainer()
TgcL1RdoContainer::TgcL1RdoContainer
TgcL1RdoContainer()
Definition
TgcL1RdoContainer.cxx:14
TgcL1RdoContainer::idToHash
static unsigned int idToHash(unsigned int id)
Convert identifier to idhash.
Definition
TgcL1RdoContainer.cxx:37
TgcL1RdoContainer::classID
static CLID classID()
Definition
TgcL1RdoContainer.cxx:43
TgcL1RdoContainer::hashFcn
static const TgcL1RdoIdHash & hashFcn()
Definition
TgcL1RdoContainer.cxx:55
TgcL1RdoContainer::clID
virtual const CLID & clID() const override
return class ID
Definition
TgcL1RdoContainer.cxx:48
TgcL1RdoContainer::push_back
void push_back(TgcL1RawData *rawData)
Definition
TgcL1RdoContainer.cxx:61
TgcL1RdoIdHash
Definition
TgcL1RdoIdHash.h:18
TgcL1Rdo
Definition
TgcL1Rdo.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