ATLAS Offline Software
Loading...
Searching...
No Matches
MdtCsmContainer.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_MDTCSMCONTAINER_H
6#define MUONRDO_MDTCSMCONTAINER_H
7
8
9#include <vector>
10#include <string>
11#include "MuonRDO/MdtCsm.h"
16
17
22 :public IdentifiableContainer<MdtCsm> {
23public:
25 MdtCsmContainer( unsigned int hashmax) ;
28
31
32 size_type digit_size() const ;
33
35 static unsigned int idToHash(unsigned int id) ;
36
37 // IdentifiableContainer is still a DataObject
38 // Put CLID here.
39 static const CLID& classID();
40
42 virtual const CLID& clID() const
43 {
44 return classID();
45 }
46
47private:
48
49 static const MdtCsmIdHash& hashFcn();
50
51};
52
54
55// Output stream.
56std::ostream& operator<<(std::ostream& lhs, const MdtCsmContainer& rhs);
57
58
59#endif // MUONRDO_MDTCSMCONTAINER_H
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< MdtCsm > MdtCsm_Cache
typename DataVectorBase< MdtAmtHit >::Base::size_type size_type
Definition DataVector.h:814
This container provides acces to the MDT RDOs.
IdentifiableContainer< MdtCsm > MyBase
static unsigned int idToHash(unsigned int id)
Convert identifier to idhash.
static const MdtCsmIdHash & hashFcn()
MdtCsm::size_type size_type
size_type digit_size() const
virtual const CLID & clID() const
return class ID
static const CLID & classID()
Hash function for Mdt module Identifier to be used in MdtDigitContainer (IdentifiableContainer)
STL class.
STL namespace.