ATLAS Offline Software
Loading...
Searching...
No Matches
MMDetectorHelper.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 MMDetectorHelper_H
6#define MMDetectorHelper_H
7
11#include "GaudiKernel/ServiceHandle.h"
12#include <map>
13#include <string>
14
17
18typedef std::map<std::string,MMDetectorDescription*> MicromegasMap;
19typedef std::map<std::string,MMDetectorDescription*> MicromegasMapSubType;
20typedef std::map<std::string,MMDetectorDescription*>::const_iterator MicromegasIterator;
21
22typedef std::pair<MMDetectorDescription*,AGDDDetectorPositioner*> AGDDPositionedDetector;
23
25public:
29
32 MMDetectorDescription* Get_MMDetector(char type,int ieta,int iphi,int layer=1,char side='A');
33 AGDDPositionedDetector Get_MMPositionedDetector(char type,int ieta,int iphi,int layer=1,char side='A');
34
36
37private:
40 ServiceHandle<IAGDDtoGeoSvc> m_svc {"AGDDtoGeoSvc", "MMDetectorHelper"};
41};
42
43#endif
std::map< std::string, MMDetectorDescription * > MicromegasMap
std::pair< MMDetectorDescription *, AGDDDetectorPositioner * > AGDDPositionedDetector
std::map< std::string, MMDetectorDescription * > MicromegasMapSubType
std::map< std::string, MMDetectorDescription * >::const_iterator MicromegasIterator
CxxUtils::LockedPointer< AGDDController > LockedController
MMDetectorDescription * Get_MMDetectorType(const std::string &type)
AGDDPositionedDetector Get_MMPositionedDetector(char type, int ieta, int iphi, int layer=1, char side='A')
ServiceHandle< IAGDDtoGeoSvc > m_svc
MicromegasIterator MM_end()
MMDetectorDescription * Get_MMDetectorSubType(const std::string &type)
IAGDDtoGeoSvc::LockedController Get_Controller()
MicromegasMap m_MicromegasList
MMDetectorDescription * Get_MMDetector(char type, int ieta, int iphi, int layer=1, char side='A')
MicromegasMapSubType m_MicromegasListSubType
MicromegasIterator MM_begin()