Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2026-04-04 08:16:06

0001 #ifndef ONLMONDATABASE_RUNDBODBC_H
0002 #define ONLMONDATABASE_RUNDBODBC_H
0003 
0004 #include <array>
0005 #include <set>
0006 #include <vector>
0007 #include <string>
0008 
0009 class RunDBodbc
0010 {
0011  public:
0012   RunDBodbc() {}
0013   virtual ~RunDBodbc() {}
0014   //  void Dump(const int nrows = 0) const;
0015   void identify() const;
0016   std::string RunType(const int runno = 0) const;
0017   void Verbosity(const int i) { verbosity = i; }
0018   int GetRunNumbers(std::set<int> &result, const std::string &type, const int nruns, const int lastrunexclusive) const;
0019   int GetScaledowns(std::vector<int> &result, const int runno) const;
0020   int GetTriggerNames(std::array<std::string,64> &trignames, const int runno) const;
0021 
0022  private:
0023   int verbosity = 0;
0024   std::string dbname = "daq";
0025   std::string dbowner = "phnxrc";
0026   std::string dbpasswd = "";
0027 };
0028 
0029 #endif