CMS 3D CMS Logo

TrajectoryStopReasons.cc
Go to the documentation of this file.
2 
4  "UNINITIALIZED", // 0
5  "MAX_HITS", // 1
6  "MAX_LOST_HITS", // 2
7  "MAX_CONSECUTIVE_LOST_HITS", // 3
8  "LOST_HIT_FRACTION", // 4
9  "MIN_PT", // 5
10  "CHARGE_SIGNIFICANCE", // 6
11  "LOOPER", // 7
12  "MAX_CCC_LOST_HITS", // 8
13  "NO_SEGMENTS_FOR_VALID_LAYERS", // 9
14  "SEED_EXTENSION", // 10
15  "NOT_STOPPED" // 11 (be careful, NOT_STOPPED needs to be the last,
16  // its index differs from the enumeration value)
17 };
18 
19 static_assert(sizeof(StopReasonName::StopReasonName) / sizeof(std::string) ==
20  static_cast<unsigned int>(StopReason::SIZE),
21  "StopReason enum and StopReasonName are out of synch");
const std::string StopReasonName[]