StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
daqDB.hh
1 #ifndef DAQDB_HH
2 #define DAQDB_HH
3 
4 inline int getCondtionsDbPort(int run)
5 {
6  if(run <= 4171012) { // 2003 or prior...
7  return 3402;
8  }
9 
10  if (run <= 5201019) { // 2004 or prior...
11  return 3403;
12  }
13 
14  return 3501;
15 }
16 
17 
18 
19 // DAQMAN files....
20 #define FILE_daqCnd "/data/dbSpool/daqCndDb"
21 #define FILE_daqCndTw "/data/dbSpool/daqCndTw"
22 #define FILE_daqCndEndRun "/data/dbSpool/daqCndEndRun"
23 
24 // scalers....
25 #define FILE_l1_counter "/data/dbSpool/l1counterDb"
26 #define FILE_l2_counter "/data/dbSpool/l2counterDb"
27 #define FILE_l3_1_counter "/data/dbSpool/l3_1_counterDb"
28 #define FILE_l3_2_counter "/data/dbSpool/l3_2_counterDb"
29 #define FILE_l3_3_counter "/data/dbSpool/l3_3_counterDb"
30 #define FILE_scaler "/data/dbSpool/scalerDb"
31 
32 // Buffbox files....
33 #define FILE_daqEventTag "/a/dbSpool/daqEventTagDb"
34 #define FILE_daqRunTag "/a/dbSpool/daqRunTagDb"
35 #define FILE_daqFileTag "/a/dbSpool/daqTagFilesDb"
36 #define FILE_daqFileTagUpdate "/a/dbSpool/daqTagFilesUpdateDb"
37 #define FILE_daqhpssUpdate "/a/dbSpool/hpssUpdateDb"
38 
39 #endif