ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonRDO
MuonRDO
TgcRdoContainer.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONRDO_TGCRDOCONAINTER_H
6
#define MUONRDO_TGCRDOCONAINTER_H
7
8
9
10
#include "
MuonRDO/TgcRdo.h
"
11
#include "
MuonRDO/TgcRdoIdHash.h
"
12
#include "
MuonRDO/TgcRdo_Cache.h
"
13
#include "
AthenaKernel/CLASS_DEF.h
"
14
#include "
EventContainers/IdentifiableContainer.h
"
15
16
/*
17
This container provides access to TGC RDOs and provides
18
a mechanism for recording them.
19
20
@author Tadashi Maeno
21
based on RpcPadContainer by Ketevi A. Assamagan
22
*/
23
class
TgcRdoContainer
24
:
public
IdentifiableContainer
<TgcRdo>
25
{
26
public
:
27
TgcRdoContainer
();
28
TgcRdoContainer
(
unsigned
int
hashmax);
29
TgcRdoContainer
(
TgcRdo_Cache
* cache);
30
31
~TgcRdoContainer
();
32
33
typedef
IdentifiableContainer<TgcRdo>
MyBase
;
34
36
static
unsigned
int
idToHash
(
unsigned
int
id
) ;
37
38
// Insert a RDO
39
void
push_back
(
TgcRawData
* rawData);
40
41
// class ID
42
static
CLID
classID
();
43
45
virtual
const
CLID
&
clID
()
const override
;
46
47
private
:
48
49
static
const
TgcRdoIdHash
&
hashFcn
();
50
51
};
52
53
CLASS_DEF
(
TgcRdoContainer
,4186,0)
54
55
#endif
56
57
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
IdentifiableContainer.h
This class is a general container which can hold objects of accessed by an IdentifierHash For more in...
IdentifiableContainer
IdentifiableContainerMT< T > IdentifiableContainer
Definition
IdentifiableContainer.h:11
TgcRdoIdHash.h
TgcRdo.h
TgcRdo_Cache.h
TgcRdo_Cache
EventContainers::IdentifiableCache< TgcRdo > TgcRdo_Cache
Definition
TgcRdo_Cache.h:10
TgcRawData
An unit object of TGC ROD output.
Definition
TgcRawData.h:23
TgcRdoContainer
Definition
TgcRdoContainer.h:25
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::MyBase
IdentifiableContainer< TgcRdo > MyBase
Definition
TgcRdoContainer.h:33
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
Generated on
for ATLAS Offline Software by
1.17.0