MpdTofUtils.h 923 B

1234567891011121314151617181920
  1. //--------------------------------------------------------------------------------------------------------------
  2. #ifndef __HH_MPDTOFUTILS
  3. #define __HH_MPDTOFUTILS 1
  4. //#include <limits>
  5. #include <Rtypes.h> // bit manipulation
  6. //--------------------------------------------------------------------------------------------------------------
  7. namespace MpdTofUtils
  8. {
  9. enum k_side { Up=0, Right, Down, Left, Absent= -1 };
  10. enum k_HitType { IsSingle = BIT(0), IsDouble = BIT(1), HaveTail = BIT(3), InCluster = BIT(4), McAbsent = BIT(5), IsSelected = BIT(12) };
  11. enum k_LinkType { mcPointIndex = 1, mcTrackIndex = 2, volumeUID = 3, expDigitIndex = 4 };
  12. enum k_DetType { IsBarrel = 1, IsEndcapLeft = 2, IsEndcapRight = 3 };
  13. // constexpr Double_t nan = std::numeric_limits<double>::quiet_NaN();
  14. };
  15. #endif
  16. //--------------------------------------------------------------------------------------------------------------