StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
l2Algorithm.h
1 //
2 // l2 algorithms
3 //
4 
5 #ifndef l2Algorithm_h
6 #define l2Algorithm_h
7 
8 #define L2_EMC_CALIB_ALGO 22
9 #define L2_EMC_HIENE_ALGO 25
10 #define L2_EMC_PED_ALGO 15
11 #define L2_BTOW_GAMMA_ALGO 17
12 #define L2_ETOW_GAMMA_ALGO 19
13 #define L2_SPIN_SLOW 23
14 #define L2_SPIN_FAST 24
15 #define L2_EMC_JET_ALGO 12
16 #define L2_EMC_JET_HIGH_ALGO 13
17 #define L2_EMC_UPSILON_ALGO 11
18 #define L2_BTOW_W_ALGO 16
19 #define L2_EMULATE_HARDWARE 20
20 
21 #define BTOW_CRATES 30
22 #define ETOW_CRATES 6
23 
24 #if 0
25 //#include "emul_l0.h" //re-added for using old TCU in 500GeV
26 #include "L2EmcDb.h"
27 #include "L2EmcGeom.h"
28 #include "L2pedAlgo09.h"
29 #include "L2btowCalAlgo09.h"
30 #include "L2etowCalAlgo09.h"
31 #include "L2bemcGamma2009.h"
32 #include "L2eemcGamma2009.h"
33 #include "L2Upsilon2009.h"
34 #include "L2jetAlgo2009.h"
35 #include "L2hienAlgo09.h"
36 #include "L2wBemc2009.h"
37 #include "L2emulL0_2009.h"//added for using old TCU in 500GeV run.
38 #endif
39 
40 //define offsets for writing to L2Result:
41 #define L2RESULTS_2009_OFFSET_EMC_CHECK 1
42 #define L2RESULTS_2009_OFFSET_EMC_PED 2
43 #define L2RESULTS_2009_OFFSET_BGAMMA 3
44 #define L2RESULTS_2009_OFFSET_EGAMMA 6
45 #define L2RESULTS_2009_OFFSET_DIJET 9
46 #define L2RESULTS_2009_OFFSET_UPSILON 17
47 #define L2RESULTS_2009_OFFSET_BEMCW 20
48 #define L2RESULTS_2009_OFFSET_DIJET_HIGH 25
49 //#define L2RESULTS_2009_OFFSET_BHIEN 42
50 #define L2RESULTS_2009_C2_OFFSET_BHIEN 0 //this writes to the start of the C2 array.
51 #define L2RESULTS_2009_OFFSET_EHIEN 0
52 #define L2RESULTS_2009_OFFSET_BTOW_CAL 0
53 #define L2RESULTS_2009_OFFSET_ETOW_CAL 0
54 
55 
56 
57 
58 //#define L2RESULTS_2008_OFFSET_EMC_CHECK 1
59 
60 
61 #endif
62