StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
rtsCndTrigger.h
1 #ifndef _RTSCNDTRIGGER_H_
2 #define _RTSCNDTRIGGER_H_
3 
4 #include "rtsDbConstants.h"
5 
7 {
9  int idx_rn;
10  int idx_trigger;
12 
13  char name[DB_MAX_STR_LEN];
14 
15  // From TriggerData struct
16  int offlineBit;
17  int desiredTrgCmd; // these are subject to a later consistency check.
18  int desiredDaqCmd;
19  int desiredPre;
20  int desiredPost;
21 
22  float expected_L0_fraction; // fraction of ZDC's
23  float desired_L0_rate;
24  float expected_L1_fraction;
25  float desired_L1_rate;
26  float expected_L2_fraction;
27  float desired_L2_rate;
28  float expected_L3_fraction;
29  float desired_L3_rate;
30 
31 /* int TW_suggestion; // Suggestion for the PW... not guarenteed to be followed. */
32  int dataStream; // 0 is default physics stream
33 /* int copyToAllStreams; // write twice or only once... */
34 /* int neverCopyStreams; // never copy to other streams... */
35  int tokenZero; // satisfied by token 0?
36  int calibration; // calibration trigger?
37  // End TriggerData struct
38 
39  // from Trigger struct
40  unsigned int detectorLiveOnBits;
41  unsigned int detectorLiveOffBits;
42  unsigned int detectorRequest;
43 
44  // from TcdSetup struct
45  int tcdId;
46  int millisec;
47 
48  // Versions...
49  int trgNameVersion;
50  int trgVersion;
51  int threshVersion;
52  int psVersion;
53 
54  // l1/l2/l3
55  int l0ps;
56  float eff_ps;
57 
58  int l1_id;
59  int l1_special_processing;
60  float l1ps;
61 
62  int l2_id;
63  int l2_special_processing;
64  float l2ps;
65 
66  int l3_id;
67  int l3_special_processing;
68  float l3ps;
69 };
70 
71 #endif