StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StIstConsts.h
1 /***************************************************************************
2 * StIstConsts
3 * Author: Yaping Wang, Jan 2013
4 * Initial Revision
5 * Description: Hard-coded constants for the IST detector.
6 ****************************************************************************/
7 
8 #ifndef StIstConsts_h
9 #define StIstConsts_h
10 
11 /*
12  * Hard-coded constants
13  */
14 //electronics constants
15 const int kIstNumRdos = 6; // Rdos, numbering from 1, 2, 3, ..., 6
16 const int kIstNumArmsPerRdo = 6; // 6 ARMs covered per Rdo
17 const int kIstNumApvsPerArm = 24; // 24 APV chips covered by one ARM
18 const int kIstNumApvChannels = 128; // 128 readout channels per one APV chip
19 const int kIstNumChanPerArm = 3072; // 3072 channels per ARM board
20 const int kIstNumElecIds = 110592; // 110592 channels, elec. ID numbering from 0 to 110591
21 const int kIstApvsPerSection = 12; // 12 APV chips covered by one section of a Ladder
22 const int kIstApvsPerLadder = 36; // 36 APV chips covered in one Ladder
23 const int kIstNumApvs = 864; // 864 APV chips in whole IST detector
24 
25 //IST pad dimenssion
26 const float kIstSensorActiveSizeRPhi = 3.8016; // IST sensor active area in R-Phi direction
27 const float kIstSensorActiveSizeZ = 7.5300; // IST sensor active area in Z direction
28 const float kIstPadPitchRow = 0.0594; // IST pad dimension in r-phi direction is 0.0596 cm
29 const float kIstPadPitchColumn = 0.6275; // IST pad dimension in beam direction is 0.6275 cm
30 
31 //general APV chip constants
32 const unsigned char kIstNumTimeBins = 9; // 9 time bins for ADC sampling (maximum time bin number)
33 const int kIstMaxAdc = 4096; // ADC value should be less than 4096 (12 bits ADC)
34 
35 //IST space resolution
36 const float kIstPosResolutionRPhi = 0.0163; // IST position resolution in R-Phi direction (cm) w/ cluster size 1
37 const float kIstPosResolutionRPhi2 = 0.0200; // IST position resolution in R-Phi direction (cm) w/ cluster size 2
38 const float kIstPosResolutionZ = 0.2325; // IST position resolution in Z direction (cm)
39 
40 #endif