ATLAS Offline Software
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 
13 #include "AthenaKernel/CLASS_DEF.h"
15 
22  : public IdentifiableContainer<CscRawDataCollection>
23 {
24 public:
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 
45 private:
46 
47  static const CscRawDataCollectionIdHash& hashFcn();
48 
49 };
50 
52 
53 #endif
54 
55 
56 
CscRawDataContainer::clID
virtual const CLID & clID() const
return class ID
Definition: CscRawDataContainer.h:43
CscRawDataContainer::~CscRawDataContainer
virtual ~CscRawDataContainer()
CscRawDataContainer::hashFcn
static const CscRawDataCollectionIdHash & hashFcn()
Convert identifier to idhash.
Definition: CscRawDataContainer.cxx:37
CscRawDataContainer::idToHash
static unsigned int idToHash(unsigned int id)
Convert identifier to idhash.
Definition: CscRawDataContainer.cxx:30
CscRawDataContainer::push_back
void push_back(CscRawData *rawData)
Insert a RDO.
Definition: CscRawDataContainer.cxx:52
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
CscRawDataCollection.h
CscRawDataCollectionIdHash.h
CscRawDataContainer::classID
static const CLID & classID()
class ID
Definition: CscRawDataContainer.cxx:45
CscRawDataContainer::MyBase
IdentifiableContainer< CscRawDataCollection > MyBase
Definition: CscRawDataContainer.h:31
CscRawData
Class to hold the electronic output for a single CSC readout channel: n sampling ADC data + the addre...
Definition: CscRawData.h:21
CscRawDataCollectionIdHash
Hash function for CSC Raw Data Collection.
Definition: CscRawDataCollectionIdHash.h:17
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:64
CscRawDataContainer
This container provides access to collections of CSC RDOs and a mechanism for recording them.
Definition: CscRawDataContainer.h:23
IdentifiableContainerMT
Definition: IdentifiableContainerMT.h:30
CLASS_DEF.h
macros to associate a CLID to a type
CscRawDataContainer::CscRawDataContainer
CscRawDataContainer()
Definition: CscRawDataContainer.cxx:9
EventContainers::IdentifiableCache
Definition: IdentifiableCache.h:29
CscRawDataCollection_Cache.h
IdentifiableContainer.h
This class is a general container which can hold objects of accessed by an IdentifierHash For more in...