StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StDetectorDefinitions.h
1 #ifndef StDetectorDefinitions_hh
2 #define StDetectorDefinitions_hh
3 
4 /* Numbering scheme for detectors
5 ** TPC = 1
6 ** SVT = 2
7 ** RICH = 3
8 ** FTPC west = 4
9 ** FTPC east = 5
10 ** TOF = 6
11 ** CTB = 7
12 ** SSD = 8
13 ** barrel EMC tower= 9
14 ** barrel EMC pre-shower = 10
15 ** barrel SMD eta strip = 11
16 ** barrel SMD phi strip = 12
17 ** endcap EMC tower = 13
18 ** endcap EMC pre-shower = 14
19 ** endcap SMD eta strip = 15
20 ** endcap SMD phi strip = 16
21 ** Zero Degree Calo west = 17
22 ** Zero Degree Calo east = 18
23 ** MWPC west = 19
24 ** MWPC east = 20
25 ** TPC+SSD = 21
26 ** TPC+SVT = 22
27 ** TPC+SSD+SVT = 23
28 ** SSD+SVT = 24
29 ** CPV(PMD) = 25
30 ** PMD = 26
31 ** Pixel Layer (HFT) PXL = 27
32 ** Strip Layer (HFT) IST = 28
33 ** Forward Tracker FGT = 29
34 ** FPD West = 30
35 ** FPD East = 31
36 ** FMS = 32
37 ** MTD = 34
38 ** ETR = 35
39 ** SST = 36
40 ** GMT = 37
41 ** FTS = 38
42 ** iTPC = 39
43 ** ETof = 40
44 ** FCS Wcal = 41
45 ** FCS Hcal = 42
46 ** FCS Pres = 43
47 */
48 
49 
50 
51 
52 #define kUnknownIdentifier 0
53 #define kTpcIdentifier 1
54 #define kSvtIdentifier 2
55 #define kRichIdentifier 3
56 #define kFtpcWestIdentifier 4
57 #define kFtpcEastIdentifier 5
58 #define kTofIdentifier 6
59 #define kCtbIdentifier 7
60 #define kSsdIdentifier 8
61 #define kBarrelEmcTowerIdentifier 9
62 #define kBarrelEmcPreShowerIdentifier 10
63 #define kBarrelSmdEtaStripIdentifier 11
64 #define kBarrelSmdPhiStripIdentifier 12
65 #define kEndcapEmcTowerIdentifier 13
66 #define kEndcapEmcPreShowerIdentifier 14
67 #define kEndcapSmdUStripIdentifier 15
68 #define kEndcapSmdVStripIdentifier 16
69 #define kZdcWestIdentifier 17
70 #define kZdcEastIdentifier 18
71 #define kMwpcWestIdentifier 19
72 #define kMwpcEastIdentifier 20
73 #define kTpcSsdIdentifier 21
74 #define kTpcSvtIdentifier 22
75 #define kTpcSsdSvtIdentifier 23
76 #define kSsdSvtIdentifier 24
77 #define kPhmdCpvIdentifier 25
78 #define kPhmdIdentifier 26
79 
80 
81 /*
82 ** The following are for the inner and forward
83 ** tracking upgrades. tu (Oct 11, 2007)
84 */
85 #define kPxlIdentifier 27
86 #define kIstIdentifier 28
87 #define kFgtIdentifier 29
88 
89 /*
90 ** The following are for the forward
91 ** spectrometers (tu April 6, 2009)
92 */
93 #define kFpdWestIdentifier 30
94 #define kFpdEastIdentifier 31
95 #define kFmsIdentifier 32
96 
97 /*
98  ** The following are for the Roman Pot
99  ** silicon detectors (pp2pp) (tu November 6, 2009)
100  */
101 #define kRpsIdentifier 33
102 
103 /*
104  ** The following are for the Muon Telescope Detector
105  */
106 #define kMtdIdentifier 34
107 
108 /*
109  ** The following are for the Endcap TRD in ETTIE detector
110  */
111 #define kEtrIdentifier 35
112 
113 /*
114  ** The following are for the SST (Beware: not same as SSD)
115  */
116 #define kSstIdentifier 36
117 /*
118 ** The following is the addition of the GEM chambers
119 ** to improve TPC tracking and alignment. RW (Mar 27, 2013)
120 */
121 #define kGmtIdentifier 37
122 
123 /*
124 ** Add the FTS tracker
125 */
126 #define kFtsIdentifier 38
127 
128 /*
129  ** iTPC
130  */
131 #define kiTpcIdentifier 39
132 
133 /*
134  ** eTOF
135  */
136 #define kETofIdentifier 40
137 
138 /*
139 ** Add the FCS Wcal and Hcal
140 */
141 #define kFcsWcalIdentifier 41
142 #define kFcsHcalIdentifier 42
143 #define kFcsPresIdentifier 43
144 
145 /*
146  ** Add the sTGC (Ftt)
147  */
148 
149 #define kFttIdentifier 44
150 
151 /*
152  * ** Add the Forward Silicon Tracker (Fst)
153  * */
154 
155 #define kFstIdentifier 45
156 
157 /*
158  ** RHICf
159  */
160 #define kRHICfIdentifier 46
161 
162 /*
163 ** The following are more or less virtual detectors.
164 ** Depending on funding or policy this stuff might
165 ** happen or not. (OBSOLETE)
166 */
167 /*
168 #define kHftIdentifier 27
169 #define kIstIdentifier 28
170 #define kIgtIdentifier 29
171 #define kFstIdentifier 30
172 #define kFgtIdentifier 31
173 #define kHpdIdentifier 32
174 */
175 
176 #endif /*STDETECTORDEFINITIONS*/
177 
178 /* $Id: StDetectorDefinitions.h,v 2.16 2021/01/11 20:27:40 ullrich Exp $
179 **
180 ** $Log: StDetectorDefinitions.h,v $
181 ** Revision 2.16 2021/01/11 20:27:40 ullrich
182 ** Updated to add FCS elements (Akio).
183 **
184 ** Revision 2.15 2019/02/11 18:49:59 ullrich
185 ** Added EToF.
186 **
187 ** Revision 2.14 2018/03/27 02:40:12 genevb
188 ** Introduce kiTpcId
189 **
190 ** Revision 2.13 2017/05/04 00:52:53 perev
191 ** Fts added
192 **
193 ** Revision 2.12 2015/12/24 00:14:44 fisyak
194 ** Add GMT and SST Id and new dE/dx method
195 **
196 ** Revision 2.11 2015/05/13 17:06:13 ullrich
197 ** Added hooks and interfaces to Sst detector (part of HFT).
198 **
199 ** Revision 2.10 2012/01/24 02:58:21 perev
200 ** Etr detector added
201 **
202 ** Revision 2.9 2011/04/25 21:25:09 ullrich
203 ** Modifications to hold MTD data.
204 **
205 ** Revision 2.8 2009/11/23 22:22:25 ullrich
206 ** Minor cleanup performed and hooks for RPS added.
207 **
208 ** Revision 2.7 2009/04/06 19:23:53 ullrich
209 ** Add detector Ids for FPD East/West and FMS.
210 **
211 ** Revision 2.6 2007/10/11 21:50:19 ullrich
212 ** Added new enums for PXL and IST detectors.
213 **
214 ** Revision 2.5 2006/08/15 14:34:02 ullrich
215 ** Added kHpdIdentifier.
216 **
217 ** Revision 2.4 2006/01/20 15:11:59 jeromel
218 ** ... meant needs to be C style, not C++
219 **
220 ** Revision 2.3 2006/01/20 15:11:26 jeromel
221 ** Comments need to be FORtran style
222 **
223 ** Revision 2.2 2006/01/19 21:51:26 ullrich
224 ** Added new RnD detectors.
225 **
226 ** Revision 2.1 2004/04/26 16:35:19 fisyak
227 ** Move enumerations from pams/global/inc => StEvent
228 **
229 ** Revision 1.10 2002/12/19 21:52:38 lbarnby
230 ** Corrected CVS tags
231 **
232 */