00001 #ifndef L1TRIGGERSCALER_HANDLER_H 00002 #define L1TRIGGERSCALER_HANDLER_H 00003 00004 #include <string> 00005 #include "CondCore/PopCon/interface/PopConSourceHandler.h" 00006 #include "CondFormats/RunInfo/interface/L1TriggerScaler.h" 00007 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h" 00008 00009 class L1TriggerScalerHandler : public popcon::PopConSourceHandler<L1TriggerScaler>{ 00010 public: 00011 void getNewObjects(); 00012 std::string id() const { return m_name;} 00013 ~L1TriggerScalerHandler(); 00014 L1TriggerScalerHandler(const edm::ParameterSet& pset); 00015 private: 00016 std::string m_name; 00017 unsigned long long m_since; 00018 00019 // for reading from omds 00020 00021 std::string m_connectionString; 00022 00023 std::string m_authpath; 00024 std::string m_host; 00025 std::string m_sid; 00026 std::string m_user; 00027 std::string m_pass; 00028 int m_port; 00029 }; 00030 00031 #endif