File indexing completed on 2024-05-23 03:13:04
0001 #ifndef TRAJECTORYSTOPREASONS_H
0002 #define TRAJECTORYSTOPREASONS_H
0003
0004 #include <cstdint>
0005 #include <string>
0006
0007 enum class StopReason : uint8_t {
0008 UNINITIALIZED = 0,
0009 MAX_HITS = 1,
0010 MAX_LOST_HITS = 2,
0011 MAX_CONSECUTIVE_LOST_HITS = 3,
0012 LOST_HIT_FRACTION = 4,
0013 MIN_PT = 5,
0014 CHARGE_SIGNIFICANCE = 6,
0015 LOOPER = 7,
0016 MAX_CCC_LOST_HITS = 8,
0017 NO_SEGMENTS_FOR_VALID_LAYERS = 9,
0018 SEED_EXTENSION = 10,
0019 SIZE =
0020 12,
0021 NOT_STOPPED = 255
0022 };
0023
0024
0025 namespace StopReasonName {
0026 extern const std::string StopReasonName[];
0027 };
0028
0029 #endif