ATLAS Offline Software
Loading...
Searching...
No Matches
RpcPadContainer.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 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>
13#include "MuonRDO/RpcPad.h"
17
21
23 :public IdentifiableContainer<RpcPad> {
24
25public:
26 RpcPadContainer(unsigned int hashmax) ;
28
29 ~RpcPadContainer()=default;
30
33
35 //unsigned int idToHash(unsigned int id) const;
36
37 // Insert a pad
39
40 size_type pad_size() const ;
41
42 // IdentifiableContainer is still a DataObject
43 // Put CLID here.
44 static const CLID& classID();
45
47 virtual const CLID& clID() const {
48 return classID();
49 }
50
51};
52
54
55// Output stream.
56std::ostream& operator<<(std::ostream& lhs, const RpcPadContainer& rhs);
57
58#endif
59
60
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
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
EventContainers::IdentifiableCache< RpcPad > RpcPad_Cache
typename DataVectorBase< RpcCoinMatrix >::Base::size_type size_type
Definition DataVector.h:814
Use IdentifiableContainer with RpcPad.
RpcPad::size_type size_type
IdentifiableContainer< RpcPad > MyBase
RpcPadContainer(unsigned int hashmax)
void push_back(RpcCoinMatrix *cm)
Convert identifier to idhash.
virtual const CLID & clID() const
return class ID
size_type pad_size() const
~RpcPadContainer()=default
static const CLID & classID()
STL class.
STL namespace.