/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/lcio/src/cpp/src/IMPL/LCRunHeaderImpl.cc

Go to the documentation of this file.
00001 #include "IMPL/LCRunHeaderImpl.h"
00002 
00003 using namespace EVENT ;
00004 
00005 namespace IMPL{
00006 
00007 
00008   LCRunHeaderImpl::LCRunHeaderImpl() :
00009     _runNumber(0){ 
00010   }
00011   
00012   LCRunHeaderImpl::~LCRunHeaderImpl() { } 
00013   
00014   int LCRunHeaderImpl::getRunNumber() const { return _runNumber ; }
00015   const std::string & LCRunHeaderImpl::getDetectorName() const  { return _detectorName ; }
00016   const std::string & LCRunHeaderImpl::getDescription() const {  return _description ; }
00017   const std::vector<std::string> * LCRunHeaderImpl::getActiveSubdetectors() const { return &_activeSubdetectors ;}
00018 
00019   void LCRunHeaderImpl::setRunNumber( int rn) { 
00020     checkAccess("LCRunHeaderImpl::setRunNumber") ;
00021     _runNumber  = rn  ; 
00022   }
00023   void LCRunHeaderImpl::setDetectorName(const std::string& dn) { 
00024     checkAccess("LCRunHeaderImpl::setDetectorName") ;
00025     _detectorName = dn ; 
00026   }
00027   void LCRunHeaderImpl::setDescription(const std::string& dsc) { 
00028     checkAccess("LCRunHeaderImpl::setDescription") ;
00029     _description = dsc ;
00030   }
00031   void LCRunHeaderImpl::addActiveSubdetector(const std::string&  adn) { 
00032     //    checkAccess("LCRunHeaderImpl::setDescription") ;
00033     // allow to add aubdetectors in read only mode ...
00034     _activeSubdetectors.push_back( adn ) ;
00035   }
00036 
00037 
00038   void LCRunHeaderImpl::setReadOnly( bool readOnly ) {
00039 //     _params.setReadOnly( readOnly ) ;
00040     AccessChecked::setReadOnly( readOnly ) ;
00041   }
00042 
00043 } // namespace 

Generated on Mon Jan 7 13:15:21 2013 for MicromegasFramework by  doxygen 1.4.7