ATLAS Offline Software
sTGCDetectorHelper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef sTGCDetectorHelper_H
6 #define sTGCDetectorHelper_H
7 
11 #include "GaudiKernel/ServiceHandle.h"
12 #include <map>
13 #include <string>
14 
17 
18 typedef std::map<std::string,sTGCDetectorDescription*> sTGCMap;
19 typedef std::map<std::string,sTGCDetectorDescription*> sTGCMapSubType;
20 typedef std::map<std::string,sTGCDetectorDescription*>::const_iterator sTGCIterator;
21 
22 typedef std::pair<sTGCDetectorDescription*,AGDDDetectorPositioner*> AGDDPositionedDetector;
23 
25 public:
27  sTGCIterator sTGC_begin() {return m_sTGCList.begin();}
28  sTGCIterator sTGC_end() {return m_sTGCList.end();}
29 
30  sTGCDetectorDescription* Get_sTGCDetector(char type,int ieta,int iphi,int layer=1,char side='A');
35  AGDDPositionedDetector Get_sTGCPositionedDetector(char type,int ieta,int iphi,int layer=1,char side='A');
37 
38 
39 private:
42  ServiceHandle<IAGDDtoGeoSvc> m_svc {"AGDDtoGeoSvc", "MMDetectorHelper"};
43 };
44 
45 #endif
sTGCDetectorHelper::sTGC_end
sTGCIterator sTGC_end()
Definition: sTGCDetectorHelper.h:28
sTGCDetectorHelper::Get_sTGCPositionedDetector
AGDDPositionedDetector Get_sTGCPositionedDetector(char type, int ieta, int iphi, int layer=1, char side='A')
Definition: sTGCDetectorHelper.cxx:70
CxxUtils::LockedPointer
A pointer together with a movable lock.
Definition: LockedPointer.h:35
sTGCDetectorHelper::m_sTGCListSubType
sTGCMapSubType m_sTGCListSubType
Definition: sTGCDetectorHelper.h:41
AGDDDetectorPositioner
Definition: AGDDDetectorPositioner.h:39
sTGCDetectorHelper::sTGC_begin
sTGCIterator sTGC_begin()
Definition: sTGCDetectorHelper.h:27
sTGCDetectorHelper::Get_Controller
IAGDDtoGeoSvc::LockedController Get_Controller()
Definition: sTGCDetectorHelper.cxx:135
sTGCDetectorHelper::Get_sTGCDetectorSubType
sTGCDetectorDescription * Get_sTGCDetectorSubType(const std::string &type)
Definition: sTGCDetectorHelper.cxx:113
sTGCMapSubType
std::map< std::string, sTGCDetectorDescription * > sTGCMapSubType
Definition: sTGCDetectorHelper.h:19
sTGCDetectorHelper::m_svc
ServiceHandle< IAGDDtoGeoSvc > m_svc
Definition: sTGCDetectorHelper.h:42
sTGCDetectorHelper::Get_sTGCDetectorType
sTGCDetectorDescription * Get_sTGCDetectorType(const std::string &type)
Definition: sTGCDetectorHelper.cxx:107
sTGCIterator
std::map< std::string, sTGCDetectorDescription * >::const_iterator sTGCIterator
Definition: sTGCDetectorHelper.h:20
sTGCDetectorDescription
Definition: sTGCDetectorDescription.h:51
TRT::Hit::side
@ side
Definition: HitInfo.h:83
GeoPrimitives.h
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
sTGCMap
std::map< std::string, sTGCDetectorDescription * > sTGCMap
Definition: sTGCDetectorHelper.h:16
AGDDPositionedDetector
std::pair< sTGCDetectorDescription *, AGDDDetectorPositioner * > AGDDPositionedDetector
Definition: sTGCDetectorHelper.h:22
IAGDD2GeoSvc.h
sTGCDetectorHelper::sTGCDetectorHelper
sTGCDetectorHelper()
Definition: sTGCDetectorHelper.cxx:16
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
sTGCDetectorHelper::m_sTGCList
sTGCMap m_sTGCList
Definition: sTGCDetectorHelper.h:40
sTGCDetectorHelper
Definition: sTGCDetectorHelper.h:24
sTGCDetectorHelper::Get_sTGCDetector
sTGCDetectorDescription * Get_sTGCDetector(char type, int ieta, int iphi, int layer=1, char side='A')
Definition: sTGCDetectorHelper.cxx:35
AGDDPositionedDetector
std::pair< MMDetectorDescription *, AGDDDetectorPositioner * > AGDDPositionedDetector
Definition: MMDetectorHelper.h:22
ServiceHandle< IAGDDtoGeoSvc >