Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:17

0001 #ifndef L1TRIGGERSCALER_HANDLER_H
0002 #define L1TRIGGERSCALER_HANDLER_H
0003 
0004 #include <string>
0005 #include "CondCore/PopCon/interface/PopConSourceHandler.h"
0006 #include "CondFormats/RunInfo/interface/L1TriggerScaler.h"
0007 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h"
0008 
0009 class L1TriggerScalerHandler : public popcon::PopConSourceHandler<L1TriggerScaler> {
0010 public:
0011   void getNewObjects() override;
0012   std::string id() const override { return m_name; }
0013   ~L1TriggerScalerHandler() override;
0014   L1TriggerScalerHandler(const edm::ParameterSet& pset);
0015 
0016 private:
0017   std::string m_name;
0018   unsigned long long m_since;
0019 
0020   // for reading from omds
0021 
0022   std::string m_connectionString;
0023 
0024   std::string m_authpath;
0025   std::string m_host;
0026   std::string m_sid;
0027   std::string m_user;
0028   std::string m_pass;
0029   int m_port;
0030 };
0031 
0032 #endif