CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CondTools/RunInfo/interface/L1TriggerScalerRead.h

Go to the documentation of this file.
00001 #ifndef L1TRIGGERSCALEREAD_H
00002 #define L1TRIGGERSCALEREAD_H
00003 
00004 
00005 #include "TestBase.h"
00006 #include "CoralBase/TimeStamp.h"
00007 #include "CondFormats/RunInfo/interface/L1TriggerScaler.h"
00008 
00009 
00010 
00011 class L1TriggerScalerRead : virtual public TestBase
00012 {
00013 public:
00014   L1TriggerScalerRead(
00015          const std::string& connectionString,
00016          const std::string& user,
00017          const std::string& pass);
00018               
00019    virtual ~L1TriggerScalerRead();
00020    void run();
00021 
00022    void dropTable(const std::string & table );
00023    
00024    std::vector<L1TriggerScaler::Lumi>  readData(const int r_number );
00025  
00026 private:
00027   std::string m_tableToDrop;  
00028   //  std::string m_tableToRead;
00029   // std::string m_columnToRead;
00030   std::string m_connectionString;
00031   std::string m_user;
00032   std::string m_pass;
00033 };
00034 
00035 #endif