StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
rtsConditions.h
1 #ifndef _RTSCONDITIONS_H_
2 #define _RTSCONDITIONS_H_
3 
4 /* RTS conditions database definitions */
5 /* JML: 3/2/01 */
6 
7 #include "rtsDbConstants.h"
8 #include "rtsCndTasks.h"
9 #include "rtsCndTrgDictEntry.h"
10 #include "rtsCndTrigger.h"
11 #include "rtsCndLxUserFloat.h"
12 #include "rtsCndLxUserInt.h"
13 #include "rtsCndL1Rescale.h"
14 #include "rtsCndPwCondition.h"
15 #include "rtsCndPwLink.h"
16 #include "rtsCndTwLink.h"
17 #include "rtsCndDataStreamNames.h"
18 #include "rtsCndDaqDetSetup.h"
19 #include "rtsCndDaqSubdet.h"
20 #include "rtsCndEndRun.h"
21 #include "rtsHash.h"
22 #include "rtsCndRun.h"
23 #include "rtsCndTcdSetup.h"
24 
26 {
27  rtsCndTasks nodes[DB_MAX_NODES]; // SUBSYS_TASKS
28 
29  rtsCndRun run; // GLB_SETUP
30 
31  rtsCndTrgDictEntry dict[DB_MAX_DICT_ENTRIES]; // TRG_DICT
32 
33  rtsCndTrigger triggers[DB_TRIGGERS_MAX]; // TRG_SETUP.triggers
34  rtsCndLxUserFloat lxFloats[15*DB_TRIGGERS_MAX]; // TRG_SETUP.triggers.lx.userFloat
35  rtsCndLxUserInt lxInts[15*DB_TRIGGERS_MAX]; // TRG_SETUP.triggers.lx.userInt
36 
37  rtsCndPwCondition pwc[DB_PW_COND_MAX]; // TRG_SETUP.triggers.L0conditions
38  rtsCndDataStreamNames dataStreamNames[16]; // TRG_SETUP.dataStreamNames
39 
40  rtsCndDaqDetSetup dets[DB_MAX_DETECTORS]; // DAQ_SETUP.detectors
41  rtsCndDaqSubdet subdets[DB_MAX_SUBDET]; // DAQ_RUN.detectors.subdet
42 
43  rtsCndEndRun end; // End of run
44 
45  // Hashes....
46  rtsHash threshHash;
47  rtsHash trgNameHash;
48  rtsHash trgHash;
49  rtsHash psHash;
50  rtsHash twHash;
51 
52  rtsCndTcdSetup tcd[DB_MAX_DETECTORS];
53  //------------------------------------
54  // separate tables
55  //------------------------------------
56  //rtsCndL1Rescale rescale[DB_TRIGGERS_MAX*DB_TW_MAX]; // TRG_SETUP.triggers.l1.eventTW...
57  //rtsCndPwLink pw[DB_PW_MAX]; // TRG_SETUP.pwl
58  //rtsCndTwLink tw[DB_TW_MAX]; // TRG_SETUP.twl
59 };
60 
61 #endif
Definition: rtsHash.h:6