ATLAS Offline Software
Loading...
Searching...
No Matches
CscRawDataContainer.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONRDO_CSCRDOCONAINTER_H
6#define MUONRDO_CSCRDOCONAINTER_H
7
8
9
15
22 : public IdentifiableContainer<CscRawDataCollection>
23{
24public:
26 CscRawDataContainer(unsigned int hashmax);
28
30
32
34 void push_back(CscRawData* rawData);
35
37 static unsigned int idToHash(unsigned int id) ;
38
40 static const CLID& classID();
41
43 virtual const CLID& clID() const {return classID();}
44
45private:
46
47 static const CscRawDataCollectionIdHash& hashFcn();
48
49};
50
52
53#endif
54
55
56
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
EventContainers::IdentifiableCache< CscRawDataCollection > CscRawDataCollection_Cache
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
Hash function for CSC Raw Data Collection.
This container provides access to collections of CSC RDOs and a mechanism for recording them.
IdentifiableContainer< CscRawDataCollection > MyBase
static const CLID & classID()
class ID
static unsigned int idToHash(unsigned int id)
Convert identifier to idhash.
void push_back(CscRawData *rawData)
Insert a RDO.
static const CscRawDataCollectionIdHash & hashFcn()
Convert identifier to idhash.
virtual ~CscRawDataContainer()
virtual const CLID & clID() const
return class ID
Class to hold the electronic output for a single CSC readout channel: n sampling ADC data + the addre...
Definition CscRawData.h:21