ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonRDO
MuonRDO
TgcL1RdoContainer.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_TGCL1RDOCONAINTER_H
6
#define MUONRDO_TGCL1RDOCONAINTER_H
7
8
9
10
#include "
MuonRDO/TgcL1Rdo.h
"
11
#include "
MuonRDO/TgcL1RdoIdHash.h
"
12
#include "
MuonRDO/TgcL1Rdo_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
TgcL1RdoContainer
24
:
public
IdentifiableContainer
<TgcL1Rdo>
25
{
26
public
:
27
TgcL1RdoContainer
();
28
TgcL1RdoContainer
(
unsigned
int
hashmax);
29
TgcL1RdoContainer
(
TgcL1Rdo_Cache
* cache);
30
31
~TgcL1RdoContainer
();
32
33
typedef
IdentifiableContainer<TgcL1Rdo>
MyBase
;
34
36
static
unsigned
int
idToHash
(
unsigned
int
id
) ;
37
38
// Insert a RDO
39
void
push_back
(
TgcL1RawData
* rawData);
40
41
// class ID
42
static
CLID
classID
();
43
45
virtual
const
CLID
&
clID
()
const override
;
46
47
private
:
48
49
static
const
TgcL1RdoIdHash
&
hashFcn
();
50
51
};
52
53
CLASS_DEF
(
TgcL1RdoContainer
,1210394432,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
TgcL1RdoIdHash.h
TgcL1Rdo.h
TgcL1Rdo_Cache.h
TgcL1Rdo_Cache
EventContainers::IdentifiableCache< TgcL1Rdo > TgcL1Rdo_Cache
Definition
TgcL1Rdo_Cache.h:10
TgcL1RawData
An unit object of TGC SROD output.
Definition
TgcL1RawData.h:21
TgcL1RdoContainer
Definition
TgcL1RdoContainer.h:25
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::MyBase
IdentifiableContainer< TgcL1Rdo > MyBase
Definition
TgcL1RdoContainer.h:33
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
Generated on
for ATLAS Offline Software by
1.17.0