Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:20:56

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