StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEnumerations.h
Go to the documentation of this file.
1 
4 /***************************************************************************
5  *
6  * $Id: StEnumerations.h,v 2.70 2021/01/11 20:27:40 ullrich Exp $
7  *
8  * Author: Thomas Ullrich, Jan 1999
9  ***************************************************************************
10  *
11  * Description: Enumerations for StEvent.
12  * Note that lots of code depend on this file and
13  * any change will force a recompilation of almost
14  * all of StEvent.
15  *
16  ***************************************************************************
17  *
18  * $Log: StEnumerations.h,v $
19  * Revision 2.70 2021/01/11 20:27:40 ullrich
20  * Updated to add FCS elements (Akio).
21  *
22  * Revision 2.69 2020/01/27 21:28:31 genevb
23  * Add short tracks toward ETOF
24  *
25  * Revision 2.68 2019/02/11 18:51:31 ullrich
26  * Added EToF.
27  *
28  * Revision 2.67 2018/12/11 19:53:10 ullrich
29  * Added RICHf.
30  *
31  * Revision 2.66 2018/04/30 23:18:10 smirnovd
32  * [Cosmetic] Minor changes in various files
33  *
34  * - Renamed data member s/m/mMass/ in StikalmanTrack
35  * - Changes in white space
36  * - Return STAR code
37  *
38  * Revision 2.65 2018/03/27 02:40:12 genevb
39  * Introduce kiTpcId
40  *
41  * Revision 2.64 2017/05/04 00:54:13 perev
42  * Fts added
43  *
44  * Revision 2.63 2016/12/19 16:11:14 ullrich
45  * Added FPost detector ID and StFpostConstants enums.
46  *
47  * Revision 2.62 2016/02/25 17:10:20 ullrich
48  * Implemented detector() which is now a pure abstract method in StHit.
49  *
50  * Revision 2.61 2015/12/24 00:14:44 fisyak
51  * Add GMT and SST Id and new dE/dx method
52  *
53  * Revision 2.60 2015/09/14 16:58:13 ullrich
54  * Added items to StFmsDetectorId enumeration
55  *
56  * Revision 2.59 2015/09/01 18:29:01 ullrich
57  * Changes due to adding StFpsSlat and interconnection between slats and points.
58  *
59  * Revision 2.58 2015/05/13 17:06:13 ullrich
60  * Added hooks and interfaces to Sst detector (part of HFT).
61  *
62  * Revision 2.57 2015/02/14 18:57:24 ullrich
63  * Big upgrade after adding StFmPoint and StFmsCluster.
64  *
65  * Revision 2.56 2014/04/10 14:35:26 ullrich
66  * Add Ist constants.
67  *
68  * Revision 1.1.1.1 2013/07/23 14:13:30 fisyak
69  *
70  *
71  * Revision 2.54 2013/07/16 14:29:03 fisyak
72  * Restore mass fit tracks
73  *
74  * Revision 2.53 2013/05/07 19:30:21 jeromel
75  * No change but add markers
76  *
77  * Revision 2.52 2013/04/10 19:15:52 jeromel
78  * Step back from StEvent changes - previous change recoverable [Thomas OK-ed]
79  *
80  * Revision 2.50 2013/01/15 23:18:12 fisyak
81  * Add more bits for track quality matching to EMC
82  *
83  * Revision 2.49 2013/01/08 18:56:03 ullrich
84  * Changed value of kFgtNumTimeBins
85  *
86  * Revision 2.48 2012/11/05 18:18:45 ullrich
87  * Add 3 new members to StFgtClusterSeedType.
88  *
89  * Revision 2.47 2012/09/16 21:34:48 fisyak
90  * Add Tpc West Only and East only bits
91  *
92  * Revision 2.46 2012/07/30 14:41:52 ullrich
93  * Added 2 new variables to enum StFgtClusterSeedType
94  *
95  * Revision 2.45 2012/07/21 03:31:37 perev
96  * Increase Track Range 300=>500
97  *
98  * Revision 2.44 2012/05/07 14:42:57 fisyak
99  * Add handilings for Track to Fast Detectors Matching
100  *
101  * Revision 2.43 2012/04/27 01:32:13 perev
102  * Tracking now is not TPC only
103  *
104  * Revision 2.42 2012/04/16 20:22:16 ullrich
105  * Changes necessary to add Fgt package.
106  *
107  * Revision 2.41 2012/02/21 18:46:21 perev
108  * max numeber of detid ==40
109  *
110  * Revision 2.40 2012/02/21 16:25:47 fisyak
111  * add KFVertexFinder
112  *
113  * Revision 2.39 2012/01/24 03:00:42 perev
114  * Etr detector added
115  *
116  * Revision 2.38 2011/04/25 21:25:09 ullrich
117  * Modifications to hold MTD data.
118  *
119  * Revision 2.37 2009/11/23 22:22:25 ullrich
120  * Minor cleanup performed and hooks for RPS added.
121  *
122  * Revision 2.36 2009/04/28 13:36:32 ullrich
123  * Updated PWG enumarations.
124  *
125  * Revision 2.35 2009/04/06 19:23:53 ullrich
126  * Add detector Ids for FPD East/West and FMS.
127  *
128  * Revision 2.34 2007/10/11 21:50:19 ullrich
129  * Added new enums for PXL and IST detectors.
130  *
131  * Revision 2.33 2007/02/22 20:44:13 ullrich
132  * Added l2DisplacedVertex to StL2AlgorithmId.
133  *
134  * Revision 2.32 2006/08/15 14:32:58 ullrich
135  * Added kHpdId.
136  *
137  * Revision 2.31 2006/05/10 15:13:17 jeromel
138  * Additional enum
139  *
140  * Revision 2.30 2006/05/04 19:05:05 ullrich
141  * Added StL2TriggerResultType.
142  *
143  * Revision 2.29 2006/04/26 14:41:22 jeromel
144  * doxygenized
145  *
146  * Revision 2.28 2006/04/25 23:20:31 ullrich
147  * Added StPrimaryVertexOrder.
148  *
149  * Revision 2.27 2006/03/22 20:57:19 ullrich
150  * Added StL2AlgorithmId enumeration.
151  *
152  * Revision 2.26 2006/03/12 17:00:15 jeromel
153  * Added ppvNoCtbVertexFinder to hopefully clarify analysis
154  *
155  * Revision 2.25 2006/01/19 22:30:05 jeromel
156  * kMaxId -> kMaxDetectorId
157  *
158  * Revision 2.24 2006/01/19 21:51:26 ullrich
159  * Added new RnD detectors.
160  *
161  * Revision 2.23 2005/08/17 21:57:29 perev
162  * kMaxId == max number of detectors+1
163  *
164  * Revision 2.22 2005/06/15 21:46:21 ullrich
165  * Added StVertexFinderId enum.
166  *
167  * Revision 2.21 2004/11/03 18:30:07 ullrich
168  * Added definitions for FTPC calibration vertices.
169  *
170  * Revision 2.20 2004/10/20 18:51:56 ullrich
171  * Add enumerations from StDedxMethod.h StDetectorId.h StTrackMethod.h StVertexId.h.
172  *
173  * Revision 2.19 2004/10/14 19:59:42 ullrich
174  * Added enum for EMC crate status.
175  *
176  * Revision 2.18 2004/04/29 14:05:00 fisyak
177  * Add track finding method Id defines (for StTrackMethod.inc and sync. with StEnumerations)
178  *
179  * Revision 2.17 2002/04/18 23:22:41 jeromel
180  * Changes for SVT 2 tables scheme.
181  *
182  * Revision 2.16 2002/02/27 18:56:27 ullrich
183  * Added enum for l3 track finder.
184  *
185  * Revision 2.15 2002/02/25 19:32:03 ullrich
186  * Added enums for RHIC ring to StBeamDirection.
187  *
188  * Revision 2.14 2002/02/22 22:56:47 jeromel
189  * Doxygen basic documentation in all header files. None of this is required
190  * for QM production.
191  *
192  * Revision 2.13 2001/04/05 04:00:35 ullrich
193  * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs.
194  *
195  * Revision 2.12 2001/03/14 02:33:37 ullrich
196  * Fixed typo.
197  *
198  * Revision 2.11 2001/03/14 02:30:20 ullrich
199  * Added StPwg enum.
200  *
201  * Revision 2.10 2000/11/26 15:07:55 lasiuk
202  * replace multiplyassigned bit for RICH
203  *
204  * Revision 2.9 2000/11/25 11:48:40 lasiuk
205  * Modify the StRichHitFlags to account for ambiguities
206  *
207  * Revision 2.8 2000/11/01 16:42:19 lasiuk
208  * add StRichHitFlag for PID info
209  *
210  * Revision 2.7 2000/09/28 10:57:13 ullrich
211  * Added enums related to RICH PID.
212  *
213  * Revision 2.6 2000/08/28 16:28:45 ullrich
214  * Added enum tpt and removed CINT pragmas.
215  *
216  * Revision 2.5 2000/08/28 17:08:58 didenko
217  * get back revision 2.2
218  *
219  * Revision 2.2 1999/12/01 15:58:05 ullrich
220  * New decoding for dst_track::method. New enum added.
221  *
222  * Revision 2.1 1999/11/15 18:48:16 ullrich
223  * Adapted new enums for dedx and track reco methods.
224  *
225  * Revision 2.0 1999/10/12 18:41:45 ullrich
226  * Completely Revised for New Version
227  *
228  **************************************************************************/
229 #ifndef StEnumerations_hh
230 #define StEnumerations_hh
231 
232 // These include files contain definitions that are also used in
233 // Fortran code. The orginal definitions are implemented via pre-
234 // processor #define statements. For compatibility reasons we have
235 // to leave it as is for now.
236 #include "Rtypes.h"
237 #include "StDetectorDefinitions.h"
238 #include "StDedxDefinitions.h"
239 #include "StVertexDefinitions.h"
240 #include "StTrackDefinitions.h"
241 
245 enum StBeamDirection {east = 0,
246  yellow = 0, // yellow beam is going west -> east
247  west = 1,
248  blue = 1}; // blue beam is going east -> west
249 
253 enum StBeamPolarizationAxis {transverse, longitudinal};
254 
258 enum StChargeSign {negative, positive};
259 
263 enum StDetectorId {kUnknownId = kUnknownIdentifier,
264  kTpcId = kTpcIdentifier,
265  kSvtId = kSvtIdentifier,
266  kRichId = kRichIdentifier,
267  kFtpcWestId = kFtpcWestIdentifier,
268  kFtpcEastId = kFtpcEastIdentifier,
269  kTofId = kTofIdentifier,
270  kBTofId = kTofIdentifier,
271  kCtbId = kCtbIdentifier,
272  kSsdId = kSsdIdentifier,
273  kBarrelEmcTowerId = kBarrelEmcTowerIdentifier,
274  kBarrelEmcPreShowerId = kBarrelEmcPreShowerIdentifier,
275  kBarrelSmdEtaStripId = kBarrelSmdEtaStripIdentifier,
276  kBarrelSmdPhiStripId = kBarrelSmdPhiStripIdentifier,
277  kEndcapEmcTowerId = kEndcapEmcTowerIdentifier,
278  kEndcapEmcPreShowerId = kEndcapEmcPreShowerIdentifier,
279  kEndcapSmdUStripId = kEndcapSmdUStripIdentifier,
280  kEndcapSmdVStripId = kEndcapSmdVStripIdentifier,
281  kZdcWestId = kZdcWestIdentifier,
282  kZdcEastId = kZdcEastIdentifier,
283  kMwpcWestId = kMwpcWestIdentifier,
284  kMwpcEastId = kMwpcEastIdentifier,
285  kTpcSsdId = kTpcSsdIdentifier,
286  kTpcSvtId = kTpcSvtIdentifier,
287  kTpcSsdSvtId = kTpcSsdSvtIdentifier,
288  kSsdSvtId = kSsdSvtIdentifier,
289  kPhmdCpvId = kPhmdCpvIdentifier,
290  kPhmdId = kPhmdIdentifier,
291  kPxlId = kPxlIdentifier,
292  kIstId = kIstIdentifier,
293  kFgtId = kFgtIdentifier,
294  kEtrId = kEtrIdentifier,
295  kFpdWestId = kFpdWestIdentifier,
296  kFpdEastId = kFpdEastIdentifier,
297  kFmsId = kFmsIdentifier,
298  kRpsId = kRpsIdentifier,
299  kMtdId = kMtdIdentifier,
300  kSstId = kSstIdentifier,
301  kGmtId = kGmtIdentifier,
302  kFtsId = kFtsIdentifier,
303  kiTpcId = kiTpcIdentifier,
304  kETofId = kETofIdentifier,
305  kFcsWcalId = kFcsWcalIdentifier,
306  kFcsHcalId = kFcsHcalIdentifier,
307  kFcsPresId = kFcsPresIdentifier,
308  kFttId = kFttIdentifier,
309  kFstId = kFstIdentifier,
310  kRHICfId = kRHICfIdentifier,
311  kMaxDetectorId = 47};
312 
316 enum StTrackType {global, primary, tpt, secondary, estGlobal, estPrimary, massFit, massFitAtVx};
317 
321 enum StTrackModel {helixModel, kalmanModel};
322 
326 enum StTrackFinderMethod {svtGrouper = ksvtGrouperIdentifier,
327  svtStk = ksvtStkIdentifier,
328  svtOther = ksvtOtherIdentifier,
329  tpcStandard = ktpcStandardIdentifier,
330  tpcOther = ktpcOtherIdentifier,
331  ftpcConformal = kftpcConformalIdentifier,
332  ftpcCurrent = kftpcCurrentIdentifier,
333  svtTpcSvm = ksvtTpcSvmIdentifier,
334  svtTpcEst = ksvtTpcEstIdentifier,
335  svtTpcPattern = ksvtTpcPatternIdentifier,
336  l3Standard = kl3StandardIdentifier
337 };
338 
342 enum StDedxMethod {kUndefinedMethodId = kUndefinedMethodIdentifier,
343  kTruncatedMeanId = kTruncatedMeanIdentifier,
344  kEnsembleTruncatedMeanId = kEnsembleTruncatedMeanIdentifier,
345  kLikelihoodFitId = kLikelihoodFitIdentifier,
346  kWeightedTruncatedMeanId = kWeightedTruncatedMeanIdentifier,
347  kOtherMethodId = kOtherMethodIdentifier,
348  kOtherMethodId2 = kOtherMethodIdentifier2};
349 
353 enum StTrackFittingMethod {kUndefinedFitterId = kUndefinedFitterIdentifier,
354  kHelix2StepId = kHelix2StepIdentifier,
355  kHelix3DId = kHelix3DIdentifier,
356  kKalmanFitId = kKalmanFitIdentifier,
357  kLine2StepId = kLine2StepIdentifier,
358  kLine3DId = kLine3DIdentifier,
359  kL3FitId = kL3FitIdentifier,
360  kITKalmanFitId = kITKalmanFitIdentifier};
365  kCtbMatched = BIT(14), // track has CTB hit match
366  kToFMatched = BIT(15), // track has ToF hit match
367  kCtbNotMatched = BIT(16), // track has CTB prediction but no hit to match (veto)
368  kToFNotMatched = BIT(17), // track has ToF prediction but no hit to match (veto)
369  kBemcMatched = BIT(18), // track has Bemc hit match
370  kEemcMatched = BIT(19), // track has Eemc hit match
371  kBemcNotMatched = BIT(20), // track has Bemc prediction but no hit to match (veto)
372  kEemcNotMatched = BIT(21), // track has Eemc prediction but no hit to match (veto)
373  kDecayTrack = BIT(22), // track fit to decay vertex (V0, ...)
374  kPromptTrack = BIT(23), // track has prompt TPC hit: |209.4 - |z|| < 3 cm
375  kPostXTrack = BIT(24), // Post Crossing Track, track which has >= 2 hit with wrong Z / Sector
376  kXMembrane = BIT(25), // track which has >= 2 hits from both sides of Membrane (z = 0)
377  kShortTrack2EMC = BIT(26), // Short track pointing to EEMC
378  kRejectedTrack = BIT(27), // track rejected by small no. of fit points (< 10)
379  kWestTpcOnlyTrack= BIT(28), // track has hits only from West Tpc (sector <= 12)
380  kEastTpcOnlyTrack= BIT(29), // track has hits only from East Tpc (sector > 12)
381  kShortTrack2ETOF = BIT(30), // Short track pointing to ETOF
382  kEmcEnergyByte = 0 // bits 0- 2: 1 ==> 0.3 < energy <= 0.6 Mip
383  // 2 ==> 0.6 < energy <= 1.0 Hadron
384  // 3 ==> 1.0 < energy <= 4.0 Electon
385  // 4 ==> 4.0 < energy <= 10.0 Tower
386  // 5 ==>10.0 < energy <= 20.0 W
387  // 6 ==>20.0 < energy <=100.0 Z
388  // 7 ==> energy > 100.0 ?
389 };
393 enum StVertexId {kUndefinedVtxId = kUndefinedVertexIdentifier,
394  kEventVtxId = kEventVertexIdentifier,
395  kPrimaryVtxId = kEventVertexIdentifier,
396  kV0VtxId = kV0DecayIdentifier,
397  kXiVtxId = kXiDecayIdentifier,
398  kKinkVtxId = kKinkDecayIdentifier,
399  kOtherVtxId = kOtherTypeIdentifier,
400  kFtpcEastCalVtxId = kFtpcEastCalibrationVertexIdentifier,
401  kFtpcWestCalVtxId = kFtpcWestCalibrationVertexIdentifier,
402  kBEAMConstrVtxId,
403  kRejectedVtxId};
404 
410  eLightOnPadPlane = 4};
411 
416  eMip=2,
422  eInAreaK=128,
423  eInAreap=256,
439  e1SigmaPi=16777216,
440  e1SigmaK=33554432,
441  e1Sigmap=67108864,
442  e2SigmaPi=134217728,
443  e2SigmaK=268435456,
444  e2Sigmap=536870912};
445 
449 enum StPwg {generic,
451  hbt,
454  upc = pcoll,
461  lfspectra};
466 enum StEmcCrateStatus {crateUnknown = 0,
467  crateNotPresent = 1,
468  crateOK = 2,
469  crateHeaderCorrupt = 3};
470 
474 // maximal sizes of tracking part of STAR in cm (Victor)
475 enum StarMaxTrackRangeSize {kStarMaxTrackRangeR = 500, // including MTD
476  kStarMaxTrackRangeZ = 500,
477  kStarMinTrackRangeZ = -kStarMaxTrackRangeZ};
478 
482 enum StVertexFinderId { undefinedVertexFinder = 0,
483  lmvVertexFinder,
484  pplmvVertexFinder,
485  egrVertexFinder,
486  minuitVertexFinder,
487  ppvVertexFinder,
488  ppvNoCtbVertexFinder,
489  mcEventVertexFFinder,
490  KFVertexFinder};
491 
492 
496 enum StL2AlgorithmId { l2Diagnostic = 0,
497  l2EmcCheck,
498  l2Jpsi,
499  l2Upsilon,
500  l2Dijet,
501  l2EmcPedestal,
502  l2Pi0Gamma,
503  l2DisplacedVertex};
504 
511 };
512 
513 
517 enum StL2TriggerResultType {
518  l2Trg2006BEMCGammaPi = 0,
519  l2Trg2006BEMCGammaPiRandom,
520  l2Trg2006EEMCGammaPi,
521  l2Trg2006EEMCGammaPiRandom,
522  l2Trg2006MonoJet,
523  l2Trg2006DiJet,
524  l2Trg2006RandomJet
525 };
526 
530 // constants related to electric coordinates
531 enum StFgtElecConsts {
532  kFgtNumRdos = 2, // rdo in {1,2}
533  kFgtNumArms = 6, // arm in 0-5, though 5 not used in run12.
534  kFgtNumChannels = 128, // channel in 0-127
535  kFgtApvsPerAssembly = 12, //
536  kFgtMaxApvId=kFgtApvsPerAssembly*2, // covers 0-23
537  kFgtApvGap = 2, // i.e. apvs 10 & 11
538  kFgtApvsPerOct = 5,
539  kFgtApvsPerQuad = 10,
540  kFgtApvsPerArm = 20,
541  kFgtNumElecIds = kFgtNumChannels * kFgtApvsPerArm * kFgtNumArms * kFgtNumRdos // elec id in 0 to kFgtNumElecIds-1
542 };
543 
547 // constants related to physical coordinates
548 enum StFgtPhysConsts {
549  kFgtNumDiscs = 6,
550  kFgtNumQuads = 4,
551  kFgtNumOctantsPerDisc = 8,
552  kFgtNumOctants = kFgtNumOctantsPerDisc*kFgtNumDiscs,
553  kFgtNumLayers = 2,
554  kFgtNumStrips = 720,
555  kFgtNumGeoIds = kFgtNumQuads * kFgtNumDiscs * kFgtNumLayers * kFgtNumStrips, // geoId in 0 to kFgtNumGeoIds-1
556  kFgtNumPstripsPerOctant = 360,
557  kFgtNumRstripsPerOctant = 280,
558  kFgtLowerStripOctant = 'L', // i.e. a strip is in octant "kFgtLowerStripOctant" if
559  kFgtHigherStripOctant = 'S', // the strip index is below the number of strips per octant
560  // for that layer
561  kFgtNumStripsPerDisc = kFgtNumQuads * kFgtNumLayers * kFgtNumStrips // includes both planes, geoId for given disc will not exceed this range after common disc-offset is subtracted
562 };
563 
567 // unsorted constants
568 enum StFgtGeneralConsts {
569  kFgtNumTimeBins = 15,
570  kFgtMaxAdc = 4096,
571 };
572 
576 // cluster seed types
577 enum StFgtClusterSeedType {
578  kFgtSeedTypeNo,
579  kFgtDeadStrip,
580  kFgtSeedType1,
581  kFgtSeedType2,
582  kFgtSeedType3,
583  kFgtSeedType4,
584  kFgtSeedType5,
585  kFgtSeedTypeMax,
586  kFgtClusterPart,
587  kFgtNextToDeadGuy,
588  kFgtClusterEndUp,
589  kFgtClusterEndDown,
590  kFgtStripShared,
591  kFgtClusterTooBig,
592  kFgtClusterSeedInSeaOfNoise,
593  kFgtNextToCluster,
594  kFgtKeepStrip
595 };
596 
599  kFpdNorthDetId=0,
600  kFpdSouthDetId=1,
601  kFpdNorthPrsDetId=2,
602  kFpdSouthPrsDetId=3,
603  kFpdNorthSMDVDetId=4,
604  kFpdSouthSMDVDetId=5,
605  kFpdNorthSMDHDetId=6,
606  kFpdSouthSMDHDetId=7,
607  kFmsNorthLargeDetId=8,
608  kFmsSouthLargeDetId=9,
609  kFmsNorthSmallDetId=10,
610  kFmsSouthSmallDetId=11,
611  kFhcNorthDetId=12,
612  kFhcSouthDetId=13,
613  kFpsDetId=14,
614  kFpostDetId=15
615 };
616 
623 }; // enum StFmsClusterCategory
624 
627  kFpsNQuad=4,
628  kFpsNLayer=3,
629  kFpsNSlat=21,
630  kFpsMaxSlat=252,
631  kFpsNCandidate=4
632 };
633 
636  kFpostNQuad=2,
637  kFpostNLayer=5,
638  kFpostNSlat=43,
639  kFpostMaxSlat=241,
640  kFpostNCandidate=6
641 };
642 
645  kFcsEcalNorthDetId=0,
646  kFcsEcalSouthDetId=1,
647  kFcsHcalNorthDetId=2,
648  kFcsHcalSouthDetId=3,
649  kFcsPresNorthDetId=4,
650  kFcsPresSouthDetId=5
651 };
652 
655  kFcsNDet=6,
656  kFcsEHP=3,
657  kFcsEcalHcal=2,
658  kFcsNorthSouth=2,
659  kFcsMaxId=748,
660  kFcsEcalNCol=22,
661  kFcsEcalNRow=34,
662  kFcsEcalMaxId=748,
663  kFcsHcalNCol=13,
664  kFcsHcalNRow=20,
665  kFcsHcalMaxId=260,
666  kFcsPresMaxId=192,
667  kFcsPresNCol=16,
668  kFcsPresNRow=12,
669  kFcsMaxDepCrate=5,
670  kFcsMaxDepBd=24,
671  kFcsMaxDepCh=32,
672  kFcsEcal4x4NCol=9,
673  kFcsEcal4x4NRow=15,
674  kFcsHcal4x4NCol=5,
675  kFcsHcal4x4NRow=9
676 };
677 
680  kFttHorizontal = 0,
681  kFttVertical = 1,
682  kFttDiagonalH = 2, // diagonal strips on the horizontal chamber
683  kFttDiagonalV = 3, // diagonal strips on the vertical chamber
684  kFttUnknownOrientation = 4,
685  kFttQuadrantA = 0,
686  kFttQuadrantB = 1,
687  kFttQuadrantC = 2,
688  kFttQuadrantD = 3,
689  kFttUnknownQuadrant = 4,
690 };
691 
694  kRHICfNtower=2, // 0=small, 1=large
695  kRHICfNplate=16, // longitudinal segmentations
696  kRHICfNrange=2, // Wide and narrow Q/ch
697  kRHICfNlayer=4, // bar layers (longitudinal)
698  kRHICfNxy=2, // 0=x, 1=y
699  kRHICfNbarSmall=20, // bar# (0-19 for small)
700  kRHICfNbarLarge=40, // bar# (0-39 for large)
701  kRHICfNorder=2, // particle#, order#
702  kRHICfNtdc=256, // TDC
703  kRHICfNcad0=5, // Local counts for DAQ
704  kRHICfNgpi0=19, // Flags for GPI0
705  kRHICfNgpi1=17, // Flags for GPI1
706 };
707 
709 namespace StIstConsts
710 {
711  const int kIstNumLadders = 24;
712  const int kIstNumSensorsPerLadder = 6;
713  const int kIstNumSensors = 144;
714  const int kIstNumPadsPerSensor = 768;
715  const int kIstNumRowsPerSensor = 64;
716  const int kIstNumColumnsPerSensor = 12;
717 }
718 
722 // constants related to electric coordinates
723 enum StGmtElecConsts {
724  kGmtNumRdos = 1, // rdo in {1}
725  kGmtNumArms = 2, // 1 arm in 2 halves (or groups) {0-1}
726  kGmtNumChannels = 128, // channel in 0-127
727  kGmtApvsPerAssembly = 2, //
728  kGmtMaxApvId= 15, // we only use ARM channels 0-3 and 12-15
729  kGmtApvGap = 8, // i.e. we use 0-3 and then 12-15
730  kGmtApvsPerArm = 24,
731  kGmtNumElecIds = kGmtNumChannels * kGmtApvsPerArm * kGmtNumArms * kGmtNumRdos // elec id in 0 to kGmtNumElecIds-1
732 };
733 
737 // constants related to physical coordinates
738 enum StGmtPhysConsts {
739  kGmtNumModules = 8,
740  kGmtNumLayers = 2,
741  kGmtNumStrips = 128, // one X layer and one Y layer
742  kGmtNumConnectedStripsX = 126, // 2 missing in X, 3 in Y
743  kGmtNumConnectedStripsY = 125, // 2 missing in X, 3 in Y
744  kGmtNumGeoIds = kGmtNumModules * kGmtNumLayers * kGmtNumStrips, // geoId in 0 to kGmtNumGeoIds-1
745  kGmtNumPstripsPerModule = 128, // "pads" which are the Local Y coordinates
746  kGmtNumSstripsPerModule = 128, // "strips" which are the Local X coordinates
747  // for that layer
748  kGmtNumStripsPerModule = kGmtNumStrips * kGmtNumLayers // accounts for X (strip) and Y (pad) layers
749 };
750 
754 // unsorted constants
755 enum StGmtGeneralConsts {
756  kGmtNumTimeBins = 15,
757  kGmtNumTimeBinsForPed = 3, // number of time bins to use for pedestal determination
758  kGmtMaxAdc = 4096,
759  kGmtPedCut = 3, // pedestal subtracted threshold to temporarily tag a "hit" for 2nd pedestal pass
760  kGmtHitCut = 5 //HERE 5
761 };
762 
763 const char *detectorNameById(StDetectorId id);
764 StDetectorId detectorIdByName(const char *name);
765 #endif
Could be 1- or 2-photon, needs to be fitted.
A cluster created by 2 photons.
const int kIstNumPadsPerSensor
768 pads in each sensor
StFcsConstants
StRichHitFlag
StPrimaryVertexOrder
StPwg
StFpostConstants
For default/unknown/error value.
const int kIstNumLadders
24 IST Ladders
StRHICfConstants
StRichPidFlag
StFpsConstants
const int kIstNumColumnsPerSensor
12 columns in beam direction per each sensor
StFttConstants
StFmsDetectorId
StFcsDetectorId
A cluster created by 1 photon.
ETrackStatusBits
const int kIstNumSensorsPerLadder
6 sensor per one IST Ladder
StFmsClusterCategory
const int kIstNumRowsPerSensor
64 rows in r-phi direction per each sensor
const int kIstNumSensors
144 sensors