229 #ifndef StEnumerations_hh
230 #define StEnumerations_hh
237 #include "StDetectorDefinitions.h"
238 #include "StDedxDefinitions.h"
240 #include "StTrackDefinitions.h"
245 enum StBeamDirection {east = 0,
253 enum StBeamPolarizationAxis {transverse, longitudinal};
258 enum StChargeSign {negative, positive};
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};
316 enum StTrackType {global, primary, tpt, secondary, estGlobal, estPrimary, massFit, massFitAtVx};
321 enum StTrackModel {helixModel, kalmanModel};
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
342 enum StDedxMethod {kUndefinedMethodId = kUndefinedMethodIdentifier,
343 kTruncatedMeanId = kTruncatedMeanIdentifier,
344 kEnsembleTruncatedMeanId = kEnsembleTruncatedMeanIdentifier,
345 kLikelihoodFitId = kLikelihoodFitIdentifier,
346 kWeightedTruncatedMeanId = kWeightedTruncatedMeanIdentifier,
347 kOtherMethodId = kOtherMethodIdentifier,
348 kOtherMethodId2 = kOtherMethodIdentifier2};
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),
366 kToFMatched = BIT(15),
367 kCtbNotMatched = BIT(16),
368 kToFNotMatched = BIT(17),
369 kBemcMatched = BIT(18),
370 kEemcMatched = BIT(19),
371 kBemcNotMatched = BIT(20),
372 kEemcNotMatched = BIT(21),
373 kDecayTrack = BIT(22),
374 kPromptTrack = BIT(23),
375 kPostXTrack = BIT(24),
376 kXMembrane = BIT(25),
377 kShortTrack2EMC = BIT(26),
378 kRejectedTrack = BIT(27),
379 kWestTpcOnlyTrack= BIT(28),
380 kEastTpcOnlyTrack= BIT(29),
381 kShortTrack2ETOF = BIT(30),
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,
410 eLightOnPadPlane = 4};
466 enum StEmcCrateStatus {crateUnknown = 0,
469 crateHeaderCorrupt = 3};
475 enum StarMaxTrackRangeSize {kStarMaxTrackRangeR = 500,
476 kStarMaxTrackRangeZ = 500,
477 kStarMinTrackRangeZ = -kStarMaxTrackRangeZ};
482 enum StVertexFinderId { undefinedVertexFinder = 0,
488 ppvNoCtbVertexFinder,
489 mcEventVertexFFinder,
496 enum StL2AlgorithmId { l2Diagnostic = 0,
517 enum StL2TriggerResultType {
518 l2Trg2006BEMCGammaPi = 0,
519 l2Trg2006BEMCGammaPiRandom,
520 l2Trg2006EEMCGammaPi,
521 l2Trg2006EEMCGammaPiRandom,
531 enum StFgtElecConsts {
534 kFgtNumChannels = 128,
535 kFgtApvsPerAssembly = 12,
536 kFgtMaxApvId=kFgtApvsPerAssembly*2,
539 kFgtApvsPerQuad = 10,
541 kFgtNumElecIds = kFgtNumChannels * kFgtApvsPerArm * kFgtNumArms * kFgtNumRdos
548 enum StFgtPhysConsts {
551 kFgtNumOctantsPerDisc = 8,
552 kFgtNumOctants = kFgtNumOctantsPerDisc*kFgtNumDiscs,
555 kFgtNumGeoIds = kFgtNumQuads * kFgtNumDiscs * kFgtNumLayers * kFgtNumStrips,
556 kFgtNumPstripsPerOctant = 360,
557 kFgtNumRstripsPerOctant = 280,
558 kFgtLowerStripOctant =
'L',
559 kFgtHigherStripOctant =
'S',
561 kFgtNumStripsPerDisc = kFgtNumQuads * kFgtNumLayers * kFgtNumStrips
568 enum StFgtGeneralConsts {
569 kFgtNumTimeBins = 15,
577 enum StFgtClusterSeedType {
592 kFgtClusterSeedInSeaOfNoise,
603 kFpdNorthSMDVDetId=4,
604 kFpdSouthSMDVDetId=5,
605 kFpdNorthSMDHDetId=6,
606 kFpdSouthSMDHDetId=7,
607 kFmsNorthLargeDetId=8,
608 kFmsSouthLargeDetId=9,
609 kFmsNorthSmallDetId=10,
610 kFmsSouthSmallDetId=11,
645 kFcsEcalNorthDetId=0,
646 kFcsEcalSouthDetId=1,
647 kFcsHcalNorthDetId=2,
648 kFcsHcalSouthDetId=3,
649 kFcsPresNorthDetId=4,
684 kFttUnknownOrientation = 4,
689 kFttUnknownQuadrant = 4,
709 namespace StIstConsts
723 enum StGmtElecConsts {
726 kGmtNumChannels = 128,
727 kGmtApvsPerAssembly = 2,
731 kGmtNumElecIds = kGmtNumChannels * kGmtApvsPerArm * kGmtNumArms * kGmtNumRdos
738 enum StGmtPhysConsts {
742 kGmtNumConnectedStripsX = 126,
743 kGmtNumConnectedStripsY = 125,
744 kGmtNumGeoIds = kGmtNumModules * kGmtNumLayers * kGmtNumStrips,
745 kGmtNumPstripsPerModule = 128,
746 kGmtNumSstripsPerModule = 128,
748 kGmtNumStripsPerModule = kGmtNumStrips * kGmtNumLayers
755 enum StGmtGeneralConsts {
756 kGmtNumTimeBins = 15,
757 kGmtNumTimeBinsForPed = 3,
763 const char *detectorNameById(StDetectorId
id);
764 StDetectorId detectorIdByName(
const char *name);
Could be 1- or 2-photon, needs to be fitted.
A cluster created by 2 photons.
const int kIstNumPadsPerSensor
768 pads in each sensor
For default/unknown/error value.
const int kIstNumLadders
24 IST Ladders
const int kIstNumColumnsPerSensor
12 columns in beam direction per each sensor
A cluster created by 1 photon.
const int kIstNumSensorsPerLadder
6 sensor per one IST Ladder
const int kIstNumRowsPerSensor
64 rows in r-phi direction per each sensor
const int kIstNumSensors
144 sensors