File indexing completed on 2024-04-06 12:03:17
0001 #ifndef L1TRIGGERSCALEREAD_H
0002 #define L1TRIGGERSCALEREAD_H
0003
0004 #include "TestBase.h"
0005 #include "CoralBase/TimeStamp.h"
0006 #include "CondFormats/RunInfo/interface/L1TriggerScaler.h"
0007
0008 class L1TriggerScalerRead : virtual public TestBase {
0009 public:
0010 L1TriggerScalerRead(const std::string& connectionString, const std::string& user, const std::string& pass);
0011
0012 ~L1TriggerScalerRead() override;
0013 void run() override;
0014
0015 void dropTable(const std::string& table);
0016
0017 std::vector<L1TriggerScaler::Lumi> readData(const int r_number);
0018
0019 private:
0020 std::string m_tableToDrop;
0021
0022
0023 std::string m_connectionString;
0024 std::string m_user;
0025 std::string m_pass;
0026 };
0027
0028 #endif