|
ATLAS Offline Software
|
Go to the documentation of this file.
17 if (
m_svc.retrieve().isFailure()) {
23 for (
const auto& vl_iter: vl)
47 for (
unsigned int i=0;
i<ps.size();
i++)
52 if (
dp->ID.detectorType !=
"Micromegas")
continue;
53 std::string_view dad=
dp->ID.detectorAddress;
57 if (
dtype==
'3') dctype=
'S';
58 if (dctype!=
type)
continue;
59 int deta=
myatoi(dad.substr(5,1));
60 if (deta!=ieta)
continue;
61 int dphi=
myatoi(dad.substr(12,1));
62 if (dphi!=iphi)
continue;
63 int dlayer=
myatoi(dad.substr(7,1));
64 if (dlayer!=
layer)
continue;
66 if (dside!=
side)
continue;
72 if (!
mm) std::cout<<
" could not find a positioned Micromegas!!!! "<<std::endl;
83 for (
unsigned int i=0;
i<ps.size();
i++)
88 if (
dp->ID.detectorType !=
"Micromegas")
continue;
89 std::string_view dad=
dp->ID.detectorAddress;
93 if (
dtype==
'3') dctype=
'S';
94 if (dctype!=
type)
continue;
95 int deta=
myatoi(dad.substr(5,1));
96 if (deta!=ieta)
continue;
97 int dphi=
myatoi(dad.substr(12,1));
98 if (dphi!=iphi)
continue;
99 int dlayer=
myatoi(dad.substr(7,1));
100 if (dlayer!=
layer)
continue;
102 if (dside!=
side)
continue;
108 if (!
mm) std::cout<<
" could not find a positioned Micromegas!!!! "<<std::endl;
128 return m_svc->getController();
A pointer together with a movable lock.
MMDetectorDescription * Get_MMDetectorType(const std::string &type)
ServiceHandle< IAGDDtoGeoSvc > m_svc
std::map< std::string, AGDDDetector * > detectorList
IAGDDtoGeoSvc::LockedController Get_Controller()
MicromegasMap m_MicromegasList
int myatoi(std::string_view str)
MMDetectorDescription * Get_MMDetector(char type, int ieta, int iphi, int layer=1, char side='A')
AGDDPositionedDetector Get_MMPositionedDetector(char type, int ieta, int iphi, int layer=1, char side='A')
MMDetectorDescription * Get_MMDetectorSubType(const std::string &type)
MicromegasMapSubType m_MicromegasListSubType
std::pair< MMDetectorDescription *, AGDDDetectorPositioner * > AGDDPositionedDetector