]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSCommonDefs.h
7939e7a14b1e7f8154ec668c12eb36fefbc70ce4
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSCommonDefs.h
1 #ifndef ALIPHOSCOMMONDEFS_H
2 #define ALIPHOSCOMMONDEFS_H
3
4 //Hardware constants
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*/
10
11 //Geometry constants
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*/
18
19 #define N_DATATYPES        10 
20
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
26
27 //analysis constatnts
28 #define LOW_GAIN 1
29 #define HIGH_GAIN 0
30
31
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*/
35
36 #endif