00001 #ifndef _RTSCNDTRIGGER_H_
00002 #define _RTSCNDTRIGGER_H_
00003
00004 #include "rtsDbConstants.h"
00005
00006 struct rtsCndTrigger
00007 {
00009 int idx_rn;
00010 int idx_trigger;
00012
00013 char name[DB_MAX_STR_LEN];
00014
00015
00016 int offlineBit;
00017 int desiredTrgCmd;
00018 int desiredDaqCmd;
00019 int desiredPre;
00020 int desiredPost;
00021
00022 float expected_L0_fraction;
00023 float desired_L0_rate;
00024 float expected_L1_fraction;
00025 float desired_L1_rate;
00026 float expected_L2_fraction;
00027 float desired_L2_rate;
00028 float expected_L3_fraction;
00029 float desired_L3_rate;
00030
00031
00032 int dataStream;
00033
00034
00035 int tokenZero;
00036 int calibration;
00037
00038
00039
00040 unsigned int detectorLiveOnBits;
00041 unsigned int detectorLiveOffBits;
00042 unsigned int detectorRequest;
00043
00044
00045 int tcdId;
00046 int millisec;
00047
00048
00049 int trgNameVersion;
00050 int trgVersion;
00051 int threshVersion;
00052 int psVersion;
00053
00054
00055 int l0ps;
00056 float eff_ps;
00057
00058 int l1_id;
00059 int l1_special_processing;
00060 float l1ps;
00061
00062 int l2_id;
00063 int l2_special_processing;
00064 float l2ps;
00065
00066 int l3_id;
00067 int l3_special_processing;
00068 float l3ps;
00069 };
00070
00071 #endif