ATLAS Offline Software
MuonSpectrometer
MuonRDO
src
TgcL1RdoContainer.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 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
const
CLID
&
TgcL1RdoContainer::classID
()
44
{
45
return
ClassID_traits<TgcL1RdoContainer>::ID
();
46
}
47
48
const
TgcL1RdoIdHash
&
49
TgcL1RdoContainer::hashFcn
()
50
{
51
static
const
TgcL1RdoIdHash
hashFcn
;
52
return
(
hashFcn
);
53
}
54
55
void
TgcL1RdoContainer::push_back
(
TgcL1RawData
*
/*rawData*/
)
56
{
57
// Kept for consistency
58
}
max
#define max(a, b)
Definition:
cfImp.cxx:41
TgcL1RdoContainer.h
TgcL1RdoContainer::idToHash
static unsigned int idToHash(unsigned int id)
Convert identifier to idhash.
Definition:
TgcL1RdoContainer.cxx:37
ClassID_traits::ID
static const CLID & ID()
the CLID of T
Definition:
Control/AthenaKernel/AthenaKernel/ClassID_traits.h:50
TgcL1RdoContainer::classID
static const CLID & classID()
Definition:
TgcL1RdoContainer.cxx:43
TgcL1RdoContainer::hashFcn
static const TgcL1RdoIdHash & hashFcn()
Definition:
TgcL1RdoContainer.cxx:49
TgcL1RawData
An unit object of TGC SROD output.
Definition:
TgcL1RawData.h:21
CLID
uint32_t CLID
The Class ID type.
Definition:
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
TgcL1RdoContainer::~TgcL1RdoContainer
~TgcL1RdoContainer()
TgcL1RdoContainer::TgcL1RdoContainer
TgcL1RdoContainer()
Definition:
TgcL1RdoContainer.cxx:14
TgcL1RdoIdHash
Definition:
TgcL1RdoIdHash.h:18
IdentifiableContainerMT
Definition:
IdentifiableContainerMT.h:30
TgcL1RdoContainer::push_back
void push_back(TgcL1RawData *rawData)
Definition:
TgcL1RdoContainer.cxx:55
SelectAllObject.h
StoreGateSvc.h
EventContainers::IdentifiableCache
Definition:
IdentifiableCache.h:29
TgcL1Rdo
Definition:
TgcL1Rdo.h:22
Generated on Thu Nov 7 2024 21:27:42 for ATLAS Offline Software by
1.8.18