CMS 3D CMS Logo

L1TriggerScalerHandler.h

Go to the documentation of this file.
00001 #ifndef L1TRIGGERSCALER_HANDLER_H
00002 #define L1TRIGGERSCALER_HANDLER_H
00003 
00004 #include <vector>
00005 #include <string>
00006 #include <iostream>
00007 #include <typeinfo>
00008 
00009 #include "CondCore/PopCon/interface/PopConSourceHandler.h"
00010 #include "CondFormats/RunInfo/interface/L1TriggerScaler.h"
00011 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h"
00012 
00013 
00014 #include "CondCore/DBCommon/interface/SessionConfiguration.h"
00015 #include "CondCore/DBCommon/interface/ConnectionConfiguration.h"
00016 #include "CondCore/DBCommon/interface/CoralTransaction.h"
00017 #include "CondCore/DBCommon/interface/DBSession.h"
00018 #include "CondCore/DBCommon/interface/Connection.h"
00019 #include "RelationalAccess/ISession.h"
00020 #include "RelationalAccess/ITransaction.h"
00021 #include "RelationalAccess/ISchema.h"
00022 #include "RelationalAccess/ITable.h"
00023 #include "RelationalAccess/ITableDataEditor.h"
00024 #include "RelationalAccess/TableDescription.h"
00025 #include "RelationalAccess/IQuery.h"
00026 #include "RelationalAccess/ICursor.h"
00027 #include "CoralBase/AttributeList.h"
00028 #include "CoralBase/Attribute.h"
00029 #include "CoralBase/AttributeSpecification.h"
00030 
00031 
00032 
00033 
00034 
00035 using namespace std;
00036 
00037 
00038 
00039   class L1TriggerScalerHandler : public popcon::PopConSourceHandler<L1TriggerScaler>{
00040   public:
00041     void getNewObjects();
00042     std::string id() const { return m_name;}
00043     ~L1TriggerScalerHandler();
00044     L1TriggerScalerHandler(const edm::ParameterSet& pset); 
00045  
00046     
00047   private:
00048     std::string m_name;
00049     unsigned long long m_since;
00050     
00051     // for reading from omds 
00052   
00053     std::string  m_connectionString;
00054  
00055     std::string m_authpath;
00056     std::string m_host;
00057     std::string m_sid;
00058     std::string m_user;
00059     std::string m_pass;
00060     int m_port;
00061 };
00062 
00063 #endif 

Generated on Tue Jun 9 17:26:56 2009 for CMSSW by  doxygen 1.5.4