ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonRDO
MuonRDO
MdtCsmContainer.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_MDTCSMCONTAINER_H
6
#define MUONRDO_MDTCSMCONTAINER_H
7
8
9
#include <vector>
10
#include <string>
11
#include "
MuonRDO/MdtCsm.h
"
12
#include "
MuonRDO/MdtCsmIdHash.h
"
13
#include "
MuonRDO/MdtCsm_Cache.h
"
14
#include "
AthenaKernel/CLASS_DEF.h
"
15
#include "
EventContainers/IdentifiableContainer.h
"
16
17
21
class
MdtCsmContainer
22
:
public
IdentifiableContainer
<MdtCsm> {
23
public
:
24
MdtCsmContainer
() ;
25
MdtCsmContainer
(
unsigned
int
hashmax) ;
26
MdtCsmContainer
(
MdtCsm_Cache
* cache );
27
~MdtCsmContainer
() ;
28
29
typedef
MdtCsm::size_type
size_type
;
30
typedef
IdentifiableContainer<MdtCsm>
MyBase
;
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
CLID
classID
();
40
42
virtual
const
CLID
&
clID
()
const override
;
43
44
private
:
45
46
static
const
MdtCsmIdHash
&
hashFcn
();
47
48
};
49
50
CLASS_DEF
(
MdtCsmContainer
,4187,0)
51
52
// Output stream.
53
std
::
ostream
& operator<<(
std
::
ostream
& lhs,
const
MdtCsmContainer
& rhs);
54
55
56
#endif
// MUONRDO_MDTCSMCONTAINER_H
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
MdtCsmIdHash.h
MdtCsm.h
MdtCsm_Cache.h
MdtCsm_Cache
EventContainers::IdentifiableCache< MdtCsm > MdtCsm_Cache
Definition
MdtCsm_Cache.h:10
DataVector< MdtAmtHit >::size_type
typename DataVectorBase< MdtAmtHit >::Base::size_type size_type
Definition
DataVector.h:814
MdtCsmContainer
This container provides acces to the MDT RDOs.
Definition
MdtCsmContainer.h:22
MdtCsmContainer::MyBase
IdentifiableContainer< MdtCsm > MyBase
Definition
MdtCsmContainer.h:30
MdtCsmContainer::idToHash
static unsigned int idToHash(unsigned int id)
Convert identifier to idhash.
Definition
MdtCsmContainer.cxx:59
MdtCsmContainer::hashFcn
static const MdtCsmIdHash & hashFcn()
Definition
MdtCsmContainer.cxx:66
MdtCsmContainer::MdtCsmContainer
MdtCsmContainer()
Definition
MdtCsmContainer.cxx:29
MdtCsmContainer::size_type
MdtCsm::size_type size_type
Definition
MdtCsmContainer.h:29
MdtCsmContainer::clID
virtual const CLID & clID() const override
return class ID
Definition
MdtCsmContainer.cxx:81
MdtCsmContainer::digit_size
size_type digit_size() const
Definition
MdtCsmContainer.cxx:90
MdtCsmContainer::~MdtCsmContainer
~MdtCsmContainer()
MdtCsmContainer::classID
static CLID classID()
Definition
MdtCsmContainer.cxx:75
MdtCsmIdHash
Hash function for Mdt module Identifier to be used in MdtDigitContainer (IdentifiableContainer).
Definition
MdtCsmIdHash.h:18
ostream
STL class.
const
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0