ATLAS Offline Software
InnerDetector
InDetDetDescr
InDetReadoutGeometry
InDetReadoutGeometry
SiDetectorElementMap.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
#ifndef SiDetectorElementMap_h
7
#define SiDetectorElementMap_h
8
9
#include "
InDetReadoutGeometry/SiDetectorElement.h
"
10
11
#include "
InDetIdentifier/PixelID.h
"
12
#include "
StoreGate/StoreGateSvc.h
"
13
14
class
SiDetectorElementMap
{
15
public
:
16
SiDetectorElementMap
();
17
~SiDetectorElementMap
();
18
19
void
addEntry
(
const
IdentifierHash
,
const
InDetDD::SiDetectorElement
*);
20
const
InDetDD::SiDetectorElement
*
readEntry
(
const
IdentifierHash
)
const
;
21
22
private
:
23
std::map<const IdentifierHash , const InDetDD::SiDetectorElement* >
m_detElementMap
;
24
25
};
26
27
// Class PixelDetectorFactoryFastGeo
28
29
#include "
AthenaKernel/CLASS_DEF.h
"
30
CLASS_DEF
(
SiDetectorElementMap
, 73688 , 1 )
31
32
#endif
PixelID.h
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
SiDetectorElementMap::m_detElementMap
std::map< const IdentifierHash, const InDetDD::SiDetectorElement * > m_detElementMap
Definition:
SiDetectorElementMap.h:23
private
#define private
Definition:
DetDescrConditionsDict_dict_fixes.cxx:13
InDetDD::SiDetectorElement
Definition:
SiDetectorElement.h:109
SiDetectorElementMap::SiDetectorElementMap
SiDetectorElementMap()
Definition:
SiDetectorElementMap.cxx:9
SiDetectorElement.h
SiDetectorElementMap::addEntry
void addEntry(const IdentifierHash, const InDetDD::SiDetectorElement *)
Definition:
SiDetectorElementMap.cxx:19
SiDetectorElementMap
Definition:
SiDetectorElementMap.h:14
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:64
SiDetectorElementMap::readEntry
const InDetDD::SiDetectorElement * readEntry(const IdentifierHash) const
Definition:
SiDetectorElementMap.cxx:24
SiDetectorElementMap::~SiDetectorElementMap
~SiDetectorElementMap()
Definition:
SiDetectorElementMap.cxx:14
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition:
IdentifierHash.h:25
StoreGateSvc.h
CLASS_DEF.h
macros to associate a CLID to a type
Generated on Thu Nov 7 2024 21:26:01 for ATLAS Offline Software by
1.8.18