1 #ifndef ALIPHOSCOMMONDEFS_H
2 #define ALIPHOSCOMMONDEFS_H
5 #define N_RCUS 4 /**<Number of RCUs per Module*/
6 #define N_BRANCHES 2 /**<Number of branches per RCU*/
7 #define N_FEECS 14 /**<Number of Frontend cards per branch*/
8 #define N_ALTROS 4 /**<Number of ALTROs per frontend card*/
9 #define N_ALTROCHANNELS 16 /**<Number of readout channles per ALTRO*/
12 #define N_MODULES 5 /**<Number of modules of the PHOS detector*/
13 #define N_ROWS_MOD 64 /**<Number of rows per module*/
14 #define N_COLUMNS_MOD 56 /**<Number of columns per module*/
15 #define N_ROWS_RCU 32 /**<Number of rows per module*/
16 #define N_COLUMNS_RCU 28 /**<Number of columns per module*/
17 #define N_GAINS 2 /**<Number of gains per ALTRO channel*/
19 #define N_DATATYPES 10
21 //peakfinder constatnts
22 #define PF_MAX_PATH_LENGTH 256
23 #define PF_VECTOR_DIR "/HLT/PHOS/PFVectors"
24 #define PF_DEFAULT_N_SAMPLES 70
25 #define PF_DEFAULT_STARTINDEX 0
32 //general altro signal constatnts
33 #define DEFAULT_TAU 2 /**<Assume that the signal rise time of the altrp pulses is 2 us (nominal value of the electronics)*/
34 #define DEFAULT_FS 10 /**<Assume that the signal is samples with 10 MHZ samle rate*/