ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
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
PixelID.h
This is an Identifier helper class for the Pixel subdetector.
SiDetectorElement.h
StoreGateSvc.h
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
InDetDD::SiDetectorElement
Class to hold geometrical description of a silicon detector element.
Definition
SiDetectorElement.h:109
SiDetectorElementMap
Definition
SiDetectorElementMap.h:14
SiDetectorElementMap::~SiDetectorElementMap
~SiDetectorElementMap()
Definition
SiDetectorElementMap.cxx:14
SiDetectorElementMap::SiDetectorElementMap
SiDetectorElementMap()
Definition
SiDetectorElementMap.cxx:9
SiDetectorElementMap::m_detElementMap
std::map< const IdentifierHash, const InDetDD::SiDetectorElement * > m_detElementMap
Definition
SiDetectorElementMap.h:23
SiDetectorElementMap::addEntry
void addEntry(const IdentifierHash, const InDetDD::SiDetectorElement *)
Definition
SiDetectorElementMap.cxx:19
SiDetectorElementMap::readEntry
const InDetDD::SiDetectorElement * readEntry(const IdentifierHash) const
Definition
SiDetectorElementMap.cxx:24
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0