ATLAS Offline Software
TgcL1RdoContainer.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "GaudiKernel/Bootstrap.h"
6 #include "GaudiKernel/ISvcLocator.h"
7 #include "GaudiKernel/IMessageSvc.h"
9 
12 
13 // Default constructor.
15  : IdentifiableContainer<TgcL1Rdo>(hashFcn().max())
16 {
17 }
18 
19 // Default constructor.
21  : IdentifiableContainer<TgcL1Rdo>(hashmax)
22 {
23 }
24 
27 {
28 }
29 
30 
31 // Destructor.
33 = default;
34 
36 unsigned int
37 TgcL1RdoContainer::idToHash(unsigned int id)
38 {
39  return (hashFcn()(id));
40 }
41 
42 // Class ID
44 {
46 }
47 
48 const TgcL1RdoIdHash&
50 {
51  static const TgcL1RdoIdHash hashFcn;
52  return(hashFcn);
53 }
54 
56 {
57  // Kept for consistency
58 }
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
TgcL1RdoContainer.h
TgcL1RdoContainer::idToHash
static unsigned int idToHash(unsigned int id)
Convert identifier to idhash.
Definition: TgcL1RdoContainer.cxx:37
ClassID_traits::ID
static const CLID & ID()
the CLID of T
Definition: Control/AthenaKernel/AthenaKernel/ClassID_traits.h:50
TgcL1RdoContainer::classID
static const CLID & classID()
Definition: TgcL1RdoContainer.cxx:43
TgcL1RdoContainer::hashFcn
static const TgcL1RdoIdHash & hashFcn()
Definition: TgcL1RdoContainer.cxx:49
TgcL1RawData
An unit object of TGC SROD output.
Definition: TgcL1RawData.h:21
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
TgcL1RdoContainer::~TgcL1RdoContainer
~TgcL1RdoContainer()
TgcL1RdoContainer::TgcL1RdoContainer
TgcL1RdoContainer()
Definition: TgcL1RdoContainer.cxx:14
TgcL1RdoIdHash
Definition: TgcL1RdoIdHash.h:18
IdentifiableContainerMT
Definition: IdentifiableContainerMT.h:30
TgcL1RdoContainer::push_back
void push_back(TgcL1RawData *rawData)
Definition: TgcL1RdoContainer.cxx:55
SelectAllObject.h
StoreGateSvc.h
EventContainers::IdentifiableCache
Definition: IdentifiableCache.h:29
TgcL1Rdo
Definition: TgcL1Rdo.h:22