CMS 3D CMS Logo

CSCOnlineDB.h
Go to the documentation of this file.
1 #ifndef GUARD_condbon_H
2 #define GUARD_condbon_H
3 
4 #include <cstdlib>
5 #include <iostream>
6 #include <sstream>
8 #include <string>
9 #include <ctime>
10 #include <cstdlib>
11 #include <cstdio>
13 
14 #include <vector>
15 #include <map>
16 
17 class condbon {
18 private:
19  oracle::occi::Environment *env;
20  oracle::occi::Connection *con;
21  oracle::occi::Statement *stmt, *stmt1;
22 
23 public:
27  condbon() noexcept(false);
31  ~condbon() noexcept(false);
32  /* time should be given in format like "Fri May 26 16:55:51 2006" */
33  void cdbon_write(CSCobject *obj, std::string obj_name, int record, int global_run, std::string time);
34  void cdbon_last_record(std::string obj_name, int *record);
35  void cdbon_read_rec(std::string obj_name, int record, CSCobject *obj);
36 
37 }; // end of class condbon
38 #endif
condbon::cdbon_write
void cdbon_write(CSCobject *obj, std::string obj_name, int record, int global_run, std::string time)
Definition: CSCOnlineDB.cc:25
funct::false
false
Definition: Factorize.h:29
condbon::cdbon_read_rec
void cdbon_read_rec(std::string obj_name, int record, CSCobject *obj)
Definition: CSCOnlineDB.cc:266
condbon
Definition: CSCOnlineDB.h:17
CSCobject.h
CSCobject
Definition: CSCobject.h:7
GlobalPosition_Frontier_DevDB_cff.record
record
Definition: GlobalPosition_Frontier_DevDB_cff.py:10
condbon::env
oracle::occi::Environment * env
Definition: CSCOnlineDB.h:19
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
std
Definition: JetResolutionObject.h:76
condbon::stmt1
oracle::occi::Statement * stmt1
Definition: CSCOnlineDB.h:21
condbon::stmt
oracle::occi::Statement * stmt
Definition: CSCOnlineDB.h:21
Oracle.h
ntuplemaker.time
time
Definition: ntuplemaker.py:310
condbon::cdbon_last_record
void cdbon_last_record(std::string obj_name, int *record)
Definition: CSCOnlineDB.cc:246
condbon::condbon
condbon() noexcept(false)
Definition: CSCOnlineDB.cc:6
condbon::con
oracle::occi::Connection * con
Definition: CSCOnlineDB.h:20