StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFgtConsts.h
1 /*
2  * Some basic constants (enums) the FGT. All FGT related constants
3  * that are not in the database should be in this file, except those
4  * which cannot be expressed as an int. These remaining constants are
5  * in the file StFgtGeom.h.
6  *
7  *
8  */
9 
10 #ifndef _ST_FGT_CONSTS_H_
11 #define _ST_FGT_CONSTS_H_
12 
13 #include "StEvent/StEnumerations.h" // as many FGT consts are defined there
14 #include <string>
15 
16 // The following are only used in StFgtGeom and StFgtDb, at present
17 const Int_t kFgtError = -999;
18 const Char_t kFgtErrorChar = -1;
19 const std::string kFgtErrorString = "XXXXXX";
20 
21 // Constants related to clustering and pulses
22 const Int_t kFgtMaxClusterSize = 11;
23 const Int_t kFgtNumAdditionalStrips = 5;
24 
25 // For some reason, the MuDst directory fails during linking, so a seperate value is needed.
26 // For now, it is required that kMuFgtNumTimeBins == kFgtNumTimeBins
27 const Int_t kMuFgtNumTimeBins = 15;
28 
29 
30 
31 // Jan's definitions for the final 400-800 micron pitch design
32 // Note:
33 // using #define instead of const double to avoid requiring a .cpp
34 // file for the constants
35 
36 #define kFgtRout 38.25 // cm ,
37 #define kFgtRlast 38.1571 // location of last R strip before Rout
38 #define kFgtRmid 19.125 // cm, at Rout/2.
39 #define kFgtRin 11.5 // cm,
40 #define kFgtRfirst 11.5385 // location of first R strip after Rin
41 #define kFgtPfirst 0.0323748 // location of first Phi strip
42 #define kFgtPlast 1.53841996 // location of last Phi strip
43 #define kFgtRflat 35.85 // cm,
44 #define kFgtPhiflat (31.0/180.*3.1416) // rad
45 #define kFgtRadPitch 0.0954071684 // nominal '800 mu pitch'
46 #define kFgtPhiPitch 0.08 // 800 mu, at outer radi or at Rmid
47 #define kFgtPhiAnglePitch 0.0020946386
48 #define kFgtDeadQuadEdge 1.2 // (cm) effective dead area along quadrant edges
49 #define kFgtMaxClusterSize 11 //maximum cluster size in strips that a cluster algo should return
50 #define kFgtNumAdditionalStrips 5 //strips in addition to the cluster size that are passed up. Mainly for debugging.
51 
52 #endif
53 
54 /*
55  * $Id: StFgtConsts.h,v 1.20 2013/01/16 19:31:53 avossen Exp $
56  * $Log: StFgtConsts.h,v $
57  * Revision 1.20 2013/01/16 19:31:53 avossen
58  * updated number of tb
59  *
60  * Revision 1.19 2012/11/05 15:43:34 akio
61  * FgtSlowSimu related fixes for r/phi consistency & speed up
62  *
63  * Revision 1.18 2012/04/13 18:56:56 sgliske
64  * More adjustments based on the review:
65  * - Lastest StEvents from Thomas U.
66  * - StFgtA2CMaker can no longer remove strips other than bad status or bad ped
67  * - other related updates
68  *
69  * Revision 1.17 2012/03/15 00:17:58 wwitzke
70  * Added error constants to StFgtConsts.h
71  *
72  * Revision 1.16 2012/03/09 17:48:32 rfatemi
73  * revert back to old version
74  *
75  * Revision 1.14 2012/03/07 17:05:58 sgliske
76  * updated whitespace and comments
77  *
78  * Revision 1.13 2012/03/07 03:57:23 avossen
79  * various updates
80  *
81  * Revision 1.12 2012/03/01 16:38:13 avossen
82  * implemented tweaks to clustering
83  *
84  * Revision 1.11 2012/02/29 20:29:08 avossen
85  * changes to seed and cluster algo
86  *
87  * Revision 1.10 2012/02/28 19:32:25 avossen
88  * many changes to enable new clustering algo: New strip fields, identification of seed strips, passing neighboring strips, new order in strip collections
89  *
90  * Revision 1.9 2012/02/15 19:18:38 balewski
91  * more usefull constants added
92  *
93  * Revision 1.8 2012/02/09 16:16:17 wwitzke
94  * Made minor fix to StFgtConsts.h to eliminate warnings.
95  *
96  * Revision 1.7 2012/02/07 06:14:45 balewski
97  * *** empty log message ***
98  *
99  * Revision 1.6 2012/02/06 18:24:32 avossen
100  * changed max tb and default value for strip adcs
101  *
102  * Revision 1.5 2012/01/31 12:53:11 sgliske
103  * Somehow kFgtNumQuads was lost--now restored
104  *
105  * Revision 1.4 2012/01/31 10:51:12 sgliske
106  * Added number of octants (48)
107  *
108  * Revision 1.3 2012/01/28 10:44:50 sgliske
109  * updated number of geoIds and elecIds to use products
110  *
111  * Revision 1.2 2012/01/28 10:29:47 sgliske
112  * static const doubles moved from StFgtGeom to StFgtConsts
113  * Also, geoName updated to more recent convention
114  * disc in 1-6, quad in A-D, strip in 0-719
115  *
116  * Revision 1.1 2012/01/26 18:10:36 sgliske
117  * creation
118  *
119  *
120  */