#include <AGDDDetectorStore.h>
Definition at line 18 of file AGDDDetectorStore.h.
 
◆ AGDDDetectorStore()
      
        
          | AGDDDetectorStore::AGDDDetectorStore | ( |  | ) |  | 
      
 
 
◆ GetDetector()
◆ GetDetectorByID() [1/2]
Definition at line 67 of file AGDDDetectorStore.cxx.
   70     detectorList::const_iterator 
it=theDetectors.begin();
 
   71     for (;
it!=theDetectors.end();++
it)
 
   74         if (
dt==
det->DetectorID()) 
return det;
 
 
 
 
◆ GetDetectorByID() [2/2]
template<class T > 
      
        
          | T * AGDDDetectorStore::GetDetectorByID | ( | const std::string & | id | ) | const | 
      
 
Definition at line 91 of file AGDDDetectorStore.cxx.
   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);
 
 
 
 
◆ GetDetectorList() [1/2]
◆ GetDetectorList() [2/2]
◆ GetDetectorsByType() [1/2]
template<class T > 
      
        
          | std::vector< T * > AGDDDetectorStore::GetDetectorsByType | 
      
 
Definition at line 79 of file AGDDDetectorStore.cxx.
   83     detectorList::const_iterator 
it=theDetectors.begin();
 
   84     for (;
it!=theDetectors.end();++
it)
 
   86         T* 
det=
dynamic_cast<T*
>((*it).second);
 
 
 
 
◆ GetDetectorsByType() [2/2]
      
        
          | std::vector< AGDDDetector * > AGDDDetectorStore::GetDetectorsByType | ( | const std::string & | dt | ) | const | 
      
 
Definition at line 54 of file AGDDDetectorStore.cxx.
   58     detectorList::const_iterator 
it=theDetectors.begin();
 
   59     for (;
it!=theDetectors.end();++
it)
 
 
 
 
◆ GetTechnology()
◆ PrintAllDetectors()
      
        
          | void AGDDDetectorStore::PrintAllDetectors | ( |  | ) |  | 
      
 
Definition at line 34 of file AGDDDetectorStore.cxx.
   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
 
 
 
 
◆ RegisterDetector()
      
        
          | void AGDDDetectorStore::RegisterDetector | ( | AGDDDetector * | s | ) |  | 
      
 
Definition at line 17 of file AGDDDetectorStore.cxx.
   19     std::string 
n=
s->GetName();
 
   21         std::cout<<
" Detector "<<
n<<
" already in store "<<std::endl;
 
 
 
 
◆ RegisterTechnology()
Definition at line 26 of file AGDDDetectorStore.cxx.
   28     std::string 
n=
s->GetName();
 
   30         std::cout<<
" Technology "<<
n<<
" already in store "<<std::endl;
 
 
 
 
◆ m_the_detectors
◆ m_the_technologies
The documentation for this class was generated from the following files: