StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFmsConstant.h
1 #ifndef STROOT_STFMSUTIL_STFMSCONSTANT_H_
2 #define STROOT_STFMSUTIL_STFMSCONSTANT_H_
3 
4 #include "StFmsUtil/StFmsDbConfig.h"
5 #define GetPar(name,dtype) \
6 ((StFmsDbConfig::Instance()).getParameter<dtype>(name))
7 
8 #define ROW_LOW_LIMIT GetPar("ROW_LOW_LIMIT",int)
9 #define COL_LOW_LIMIT GetPar("COL_LOW_LIMIT",int)
10 #define CEN_ROW_LRG GetPar("CEN_ROW_LRG",float)
11 #define CEN_ROW_WIDTH_LRG GetPar("CEN_ROW_WIDTH_LRG",int)
12 #define CEN_UPPER_COL_LRG GetPar("CEN_UPPER_COL_LRG",int)
13 #define CEN_ROW_SML GetPar("CEN_ROW_SML",float)
14 #define CEN_ROW_WIDTH_SML GetPar("CEN_ROW_WIDTH_SML",int)
15 #define CEN_UPPER_COL_SML GetPar("CEN_UPPER_COL_SML",int)
16 #define CORNER_ROW GetPar("CORNER_ROW",float)
17 #define CORNER_LOW_COL GetPar("CORNER_LOW_COL",float)
18 #define CLUSTER_BASE GetPar("CLUSTER_BASE",int)
19 #define CLUSTER_ID_FACTOR_DET GetPar("CLUSTER_ID_FACTOR_DET",int)
20 #define TOTAL_TOWERS GetPar("TOTAL_TOWERS",unsigned int)
21 #define PEAK_TOWER_FACTOR GetPar("PEAK_TOWER_FACTOR",float)
22 #define TOWER_E_THRESHOLD GetPar("TOWER_E_THRESHOLD",float)
23 #define BAD_2PH_CHI2 GetPar("BAD_2PH_CHI2",float)
24 #define BAD_MIN_E_LRG GetPar("BAD_MIN_E_LRG",float)
25 #define BAD_MAX_TOW_LRG GetPar("BAD_MAX_TOW_LRG",float)
26 #define BAD_MIN_E_SML GetPar("BAD_MIN_E_SML",float)
27 #define BAD_MAX_TOW_SML GetPar("BAD_MAX_TOW_SML",float)
28 #define VALID_FT GetPar("VALID_FT",float)
29 #define VALID_2ND_FT GetPar("VALID_2ND_FT",float)
30 #define VALID_E_OWN GetPar("VALID_E_OWN",float)
31 #define SS_C GetPar("SS_C",float)
32 #define SS_A1 GetPar("SS_A1",float)
33 #define SS_A2 GetPar("SS_A2",float)
34 #define SS_A3 GetPar("SS_A3",float)
35 #define SS_B1 GetPar("SS_B1",float)
36 #define SS_B2 GetPar("SS_B2",float)
37 #define SS_B3 GetPar("SS_B3",float)
38 #define CAT_NTOWERS_PH1 GetPar("CAT_NTOWERS_PH1",int)
39 #define CAT_EP1_PH2 GetPar("CAT_EP1_PH2",float)
40 #define CAT_EP0_PH2 GetPar("CAT_EP0_PH2",float)
41 #define CAT_SIGMAMAX_MIN_PH2 GetPar("CAT_SIGMAMAX_MIN_PH2",float)
42 #define CAT_EP1_PH1 GetPar("CAT_EP1_PH1",float)
43 #define CAT_EP0_PH1 GetPar("CAT_EP0_PH1",float)
44 #define CAT_SIGMAMAX_MAX_PH1 GetPar("CAT_SIGMAMAX_MAX_PH1",float)
45 #define PH1_START_NPH GetPar("PH1_START_NPH",float)
46 #define PH1_DELTA_N GetPar("PH1_DELTA_N",float)
47 #define PH1_DELTA_X GetPar("PH1_DELTA_X",float)
48 #define PH1_DELTA_Y GetPar("PH1_DELTA_Y",float)
49 #define PH1_DELTA_E GetPar("PH1_DELTA_E",float)
50 #define PH2_START_NPH GetPar("PH2_START_NPH",double)
51 #define PH2_START_FSIGMAMAX GetPar("PH2_START_FSIGMAMAX",float)
52 #define PH2_RAN_LOW GetPar("PH2_RAN_LOW",float)
53 #define PH2_RAN_HIGH GetPar("PH2_RAN_HIGH",float)
54 #define PH2_STEP_0 GetPar("PH2_STEP_0",float)
55 #define PH2_STEP_1 GetPar("PH2_STEP_1",float)
56 #define PH2_STEP_2 GetPar("PH2_STEP_2",float)
57 #define PH2_STEP_3 GetPar("PH2_STEP_3",float)
58 #define PH2_STEP_4 GetPar("PH2_STEP_4",float)
59 #define PH2_STEP_5 GetPar("PH2_STEP_5",float)
60 #define PH2_STEP_6 GetPar("PH2_STEP_6",float)
61 #define PH2_MAXTHETA_F GetPar("PH2_MAXTHETA_F",float)
62 #define PH2_LOWER_NPH GetPar("PH2_LOWER_NPH",float)
63 #define PH2_LOWER_XF GetPar("PH2_LOWER_XF",float)
64 #define PH2_LOWER_YF GetPar("PH2_LOWER_YF",float)
65 #define PH2_LOWER_XMAX_F GetPar("PH2_LOWER_XMAX_F",float)
66 #define PH2_LOWER_XMAX_POW GetPar("PH2_LOWER_XMAX_POW",float)
67 #define PH2_LOWER_XMAX_LIMIT GetPar("PH2_LOWER_XMAX_LIMIT",double)
68 #define PH2_LOWER_5_F GetPar("PH2_LOWER_5_F",float)
69 #define PH2_LOWER_6_F GetPar("PH2_LOWER_6_F",float)
70 #define PH2_UPPER_NPH GetPar("PH2_UPPER_NPH",float)
71 #define PH2_UPPER_XF GetPar("PH2_UPPER_XF",float)
72 #define PH2_UPPER_YF GetPar("PH2_UPPER_YF",float)
73 #define PH2_UPPER_XMIN_F GetPar("PH2_UPPER_XMIN_F",float)
74 #define PH2_UPPER_XMIN_P0 GetPar("PH2_UPPER_XMIN_P0",float)
75 #define PH2_UPPER_XMIN_LIMIT GetPar("PH2_UPPER_XMIN_LIMIT",double)
76 #define PH2_UPPER_5_F GetPar("PH2_UPPER_5_F",float)
77 #define PH2_UPPER_6_F GetPar("PH2_UPPER_6_F",float)
78 #define PH2_3_LIMIT_LOWER GetPar("PH2_3_LIMIT_LOWER",float)
79 #define PH2_3_LIMIT_UPPER GetPar("PH2_3_LIMIT_UPPER",float)
80 #define GL_LOWER_1 GetPar("GL_LOWER_1",float)
81 #define GL_UPPER_DELTA_MAXN GetPar("GL_UPPER_DELTA_MAXN",float)
82 #define GL_0_DLOWER GetPar("GL_0_DLOWER",float)
83 #define GL_0_DUPPER GetPar("GL_0_DUPPER",float)
84 #define GL_1_DLOWER GetPar("GL_1_DLOWER",float)
85 #define GL_1_DUPPER GetPar("GL_1_DUPPER",float)
86 #define GL_2_DLOWER GetPar("GL_2_DLOWER",float)
87 #define GL_2_DUPPER GetPar("GL_2_DUPPER",float)
88 
89 #endif