11 #define ADMIX_CLOCK // Whether to admix clock-ev. pattern to mc
12 #define HEGEN(N) read_mcfile_com_.hegen[N-1]
15 #define CRYSTAL_BLOCKS 144 // 12x12 array (2x2 hole in the center)
18 #define MAX_HHITS 144 // For Hycal
19 #define MAX_CLUSTERS 60 // 1728/2 ?
20 #define MAX_CC 60 // Maximum Cluster Cells per cluster
22 #define nint_phot_cell 5
23 #define ncoef_phot_cell 3
24 #define dcorr_phot_cell 16
56 #define CRYS_SIZE_X 2.077 // real X-size of crystal
57 #define CRYS_SIZE_Y 2.075 // real Y-size of crystal
98 int IsIDinVec( vector< const DCCALHit* > hitarray,
int id12 );
109 #define ECH(M,N) ech_common_.ech[N-1][M-1]
113 #define STAT_CH(M,N) stat_ch_common_.stat_ch[N-1][M-1]
116 #define ICL_INDEX(M,N) icl_common_.icl_index[N][M]
117 #define ICL_IENER(M,N) icl_common_.icl_iener[N][M]
120 #define HEGEN(N) read_mcfile_com_.hegen[N-1]
122 #define SET_XSIZE set_common_.xsize
123 #define SET_YSIZE set_common_.ysize
124 #define SET_EMIN set_common_.mine
125 #define SET_EMAX set_common_.maxe
126 #define SET_HMIN set_common_.min_dime
127 #define SET_MINM set_common_.minm
128 #define NCOL set_common_.ncol
129 #define NROW set_common_.nrow
130 #define ZHYCAL set_common_.zhycal
131 #define ISECT set_common_.isect
140 #define FA(N) hbk_common_.fa[N-1]
int IsIDinVec(vector< const DCCALHit * > hitarray, int id12)
float energy_correct(float c_energy, int central_id)
float Nonlin_en2[T_BLOCKS]
ccalhit_t ccalhit[T_BLOCKS]
struct @1 mcread_stat_com_
struct @0 read_mcfile_com_
int icl_iener[MAX_CC][200]
float Nonlin_en1[T_BLOCKS]
int icl_index[MAX_CC][200]
float shower_depth(float energy)
cluster_t cluster_storage[MAX_CLUSTERS]
struct @3 stat_ch_common_
ccalcluster_t ccalcluster[MAX_CLUSTERS]
blockINFO_t blockINFO[T_BLOCKS]
int status_global[MSECT][MCOL][MROW]
void init_island_(char filename[1000], int *name_length)