19 std::string
n=
s->GetName();
21 std::cout<<
" Detector "<<
n<<
" already in store "<<std::endl;
28 std::string
n=
s->GetName();
30 std::cout<<
" Technology "<<
n<<
" already in store "<<std::endl;
38 std::cout<<
"AGDDDetectorStore::PrintAllDetector"<<std::endl
39 <<
"[key] \t name \t subType \t tech"<<std::endl;
41 std::cout<<
"["<<
it->first<<
"] :"
42 <<
" "<<
it->second->GetName()
43 <<
" "<<
it->second->subType()
44 <<
" "<<
it->second->tech
58 detectorList::const_iterator
it=theDetectors.begin();
59 for (;
it!=theDetectors.end();++
it)
70 detectorList::const_iterator
it=theDetectors.begin();
71 for (;
it!=theDetectors.end();++
it)
74 if (
dt==
det->DetectorID())
return det;
83 detectorList::const_iterator
it=theDetectors.begin();
84 for (;
it!=theDetectors.end();++
it)
86 T*
det=
dynamic_cast<T*
>((*it).second);
94 detectorList::const_iterator
it=theDetectors.begin();
95 for (;
it!=theDetectors.end();++
it)
97 if (
id==(*it).second->DetectorID())
99 T*
det=
dynamic_cast<T*
>((*it).second);