ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonRDO
MuonRDO
RpcPadContainer.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 MUONDIGITCONTAINER_RPCPADCONAINTER_H
6
#define MUONDIGITCONTAINER_RPCPADCONAINTER_H
7
8
9
10
#include <vector>
11
#include <string>
12
#include "
MuonRDO/RpcCoinMatrix.h
"
13
#include "
MuonRDO/RpcPad.h
"
14
#include "
MuonRDO/RpcPad_Cache.h
"
15
#include "
AthenaKernel/CLASS_DEF.h
"
16
#include "
EventContainers/IdentifiableContainer.h
"
17
21
22
class
RpcPadContainer
23
:
public
IdentifiableContainer
<RpcPad> {
24
25
public
:
26
RpcPadContainer
(
unsigned
int
hashmax) ;
27
RpcPadContainer
(
RpcPad_Cache
* cache) ;
28
29
~RpcPadContainer
()=
default
;
30
31
typedef
RpcPad::size_type
size_type
;
32
typedef
IdentifiableContainer<RpcPad>
MyBase
;
33
35
//unsigned int idToHash(unsigned int id) const;
36
37
// Insert a pad
38
void
push_back
(
RpcCoinMatrix
*
cm
);
39
40
size_type
pad_size
()
const
;
41
42
// IdentifiableContainer is still a DataObject
43
// Put CLID here.
44
static
CLID
classID
();
45
47
virtual
const
CLID
&
clID
()
const override
;
48
49
};
50
51
CLASS_DEF
(
RpcPadContainer
,4190,0)
52
53
// Output stream.
54
std
::
ostream
& operator<<(
std
::
ostream
& lhs,
const
RpcPadContainer
& rhs);
55
56
#endif
57
58
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
RpcPadContainer
Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Current Athena::TPCnvVers::Current Athena::TPCnvVers::Current RpcPadContainer
Definition
MuonEventAthenaPoolTPCnv.cxx:156
RpcCoinMatrix.h
RpcPad.h
RpcPad_Cache.h
RpcPad_Cache
EventContainers::IdentifiableCache< RpcPad > RpcPad_Cache
Definition
RpcPad_Cache.h:10
cm
const double cm
Definition
Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/FCAL_ChannelMap.cxx:25
DataVector< RpcCoinMatrix >::size_type
typename DataVectorBase< RpcCoinMatrix >::Base::size_type size_type
Definition
DataVector.h:814
RpcCoinMatrix
Definition
RpcCoinMatrix.h:20
RpcPadContainer
Use IdentifiableContainer with RpcPad.
Definition
RpcPadContainer.h:23
RpcPadContainer::size_type
RpcPad::size_type size_type
Definition
RpcPadContainer.h:31
RpcPadContainer::clID
virtual const CLID & clID() const override
return class ID
Definition
RpcPadContainer.cxx:34
RpcPadContainer::MyBase
IdentifiableContainer< RpcPad > MyBase
Definition
RpcPadContainer.h:32
RpcPadContainer::RpcPadContainer
RpcPadContainer(unsigned int hashmax)
Definition
RpcPadContainer.cxx:16
RpcPadContainer::push_back
void push_back(RpcCoinMatrix *cm)
Convert identifier to idhash.
Definition
RpcPadContainer.cxx:43
RpcPadContainer::pad_size
size_type pad_size() const
Definition
RpcPadContainer.cxx:50
RpcPadContainer::~RpcPadContainer
~RpcPadContainer()=default
RpcPadContainer::classID
static CLID classID()
Definition
RpcPadContainer.cxx:28
ostream
STL class.
const
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0