ATLAS Offline Software
Loading...
Searching...
No Matches
TgcL1RdoContainer.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 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"
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*/
24 : public IdentifiableContainer<TgcL1Rdo>
25{
26public:
28 TgcL1RdoContainer(unsigned int hashmax);
30
32
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 const CLID& classID();
43
45 virtual const CLID& clID() const {return classID();}
46
47private:
48
49 static const TgcL1RdoIdHash& hashFcn();
50
51};
52
53CLASS_DEF(TgcL1RdoContainer,1210394432,0)
54
55#endif
56
57
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
uint32_t CLID
The Class ID type.
This class is a general container which can hold objects of accessed by an IdentifierHash For more in...
IdentifiableContainerMT< T > IdentifiableContainer
EventContainers::IdentifiableCache< TgcL1Rdo > TgcL1Rdo_Cache
An unit object of TGC SROD output.
static const CLID & classID()
static unsigned int idToHash(unsigned int id)
Convert identifier to idhash.
virtual const CLID & clID() const
return class ID
IdentifiableContainer< TgcL1Rdo > MyBase
static const TgcL1RdoIdHash & hashFcn()
void push_back(TgcL1RawData *rawData)