ATLAS Offline Software
MuonSpectrometer
MuonRDO
src
TgcRdoContainer.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/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
const
CLID
&
TgcRdoContainer::classID
()
44
{
45
return
ClassID_traits<TgcRdoContainer>::ID
();
46
}
47
48
const
TgcRdoIdHash
&
49
TgcRdoContainer::hashFcn
()
50
{
51
static
const
TgcRdoIdHash
hashFcn
;
52
return
(
hashFcn
);
53
}
54
55
56
// Insert a RawData
57
void
TgcRdoContainer::push_back
(
TgcRawData
*
/*rawData*/
)
58
{
59
}
TgcRdoContainer::~TgcRdoContainer
~TgcRdoContainer()
max
#define max(a, b)
Definition:
cfImp.cxx:41
TgcRdoContainer::classID
static const CLID & classID()
Definition:
TgcRdoContainer.cxx:43
ClassID_traits::ID
static const CLID & ID()
the CLID of T
Definition:
Control/AthenaKernel/AthenaKernel/ClassID_traits.h:50
TgcRdoIdHash
Definition:
TgcRdoIdHash.h:18
TgcRdoContainer.h
CLID
uint32_t CLID
The Class ID type.
Definition:
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
TgcRdoContainer::push_back
void push_back(TgcRawData *rawData)
Definition:
TgcRdoContainer.cxx:57
TgcRdoContainer::TgcRdoContainer
TgcRdoContainer()
Definition:
TgcRdoContainer.cxx:14
TgcRawData
An unit object of TGC ROD output.
Definition:
TgcRawData.h:23
TgcRdoContainer::hashFcn
static const TgcRdoIdHash & hashFcn()
Definition:
TgcRdoContainer.cxx:49
TgcRdo
Definition:
TgcRdo.h:22
IdentifiableContainerMT
Definition:
IdentifiableContainerMT.h:30
SelectAllObject.h
StoreGateSvc.h
TgcRdoContainer::idToHash
static unsigned int idToHash(unsigned int id)
Convert identifier to idhash.
Definition:
TgcRdoContainer.cxx:37
EventContainers::IdentifiableCache
Definition:
IdentifiableCache.h:29
Generated on Sun Jun 30 2024 21:28:30 for ATLAS Offline Software by
1.8.18