ATLAS Offline Software
DetectorDescription
GeoModel
GeoAdaptors
src
GeoTRTUncompressedHit.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
6
#include "
GeoAdaptors/GeoTRTUncompressedHit.h
"
7
#include "
StoreGate/StoreGateSvc.h
"
8
#include "GaudiKernel/ServiceHandle.h"
9
10
11
const
InDetDD::TRT_DetectorManager
*
GeoTRTUncompressedHit::init
()
12
{
13
ServiceHandle<StoreGateSvc>
detStore
(
"DetectorStore"
,
"GeoSiHit"
);
14
const
InDetDD::TRT_DetectorManager
*
mgr
=
nullptr
;
15
if
(
detStore
->retrieve(
mgr
,
"TRT"
).isFailure()) {
16
std::abort();
17
}
18
return
mgr
;
19
}
20
21
22
const
InDetDD::TRT_DetectorManager
*
GeoTRTUncompressedHit::mgr
()
const
23
{
24
const
InDetDD::TRT_DetectorManager
*
const
mgr
=
init
();
25
return
mgr
;
26
}
GeoTRTUncompressedHit.h
GeoTRTUncompressedHit::mgr
const InDetDD::TRT_DetectorManager * mgr() const
Definition:
GeoTRTUncompressedHit.cxx:22
python.PyKernel.detStore
detStore
Definition:
PyKernel.py:41
GeoTRTUncompressedHit::init
static const InDetDD::TRT_DetectorManager * init()
Definition:
GeoTRTUncompressedHit.cxx:11
InDetDD::TRT_DetectorManager
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
Definition:
TRT_DetectorManager.h:69
StoreGateSvc.h
ServiceHandle< StoreGateSvc >
Generated on Sun Dec 22 2024 21:10:51 for ATLAS Offline Software by
1.8.18