StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StPxlConstants.h
1 
6 /***************************************************************************
7  *
8  * $Id: StPxlConstants.h,v 1.12 2015/05/14 18:57:52 smirnovd Exp $
9  *
10  * Author: Qiu Hao, March 2013
11  ***************************************************************************
12  *
13  * Description:
14  * some constants for pxl detector
15  *
16  ***************************************************************************
17  *
18  * $Log: StPxlConstants.h,v $
19  * Revision 1.12 2015/05/14 18:57:52 smirnovd
20  * Squashed commit of the following:
21  *
22  * StPxlFastSim: Streamlined creation of PXL hits by making use of StPxlUtil/StPxlDigiHit
23  *
24  * StPxlHitMaker: Updated comments
25  *
26  * StPxlHitMaker: Streamlined creation of PXL hits by making use of StPxlUtil/StPxlDigiHit
27  *
28  * StPxlDigiHit: A helper to manipulate local hit position in StPxlHit
29  *
30  * StPxlConsts: Define constants in namespace
31  *
32  * For safety reasons, the intentions is to move the constants into the namespace
33  * and get rid of those defined in the global space.
34  *
35  * Revision 1.11 2015/05/07 20:58:20 smirnovd
36  * Defined dimensional constants for PXL sensitive sensor area
37  *
38  * Revision 1.10 2014/01/28 19:29:47 qiuh
39  * *** empty log message ***
40  *
41  *
42  **************************************************************************/
43 
44 #ifndef StPxlConstants_hh
45 #define StPxlConstants_hh
46 
47 const int kNumberOfPxlSectors = 10;
48 const int kNumberOfPxlLaddersPerSector = 4;
49 const int kNumberOfPxlSensorsPerLadder = 10;
50 const int kNumberOfPxlColumnsOnSensor = 960;
51 const int kNumberOfPxlRowsOnSensor = 928;
52 
53 namespace StPxlConsts
54 {
55 
56 const double kPixelSize = 20.7e-4;
57 const int kPxlNumColumnsPerSensor = 960;
58 const int kPxlNumRowsPerSensor = 928;
59 
61 
66 const double kPxlActiveLengthX = 1.921;
67 const double kPxlActiveLengthY = 1.9872;
68 
69 
70 }
71 
72 #endif