CMS 3D CMS Logo

Namespaces | Enumerations | Variables
TrajectoryStopReasons.h File Reference
#include <cstdint>
#include <string>

Go to the source code of this file.

Namespaces

 StopReasonName
 

Enumerations

enum  StopReason : uint8_t {
  StopReason::UNINITIALIZED = 0, StopReason::MAX_HITS = 1, StopReason::MAX_LOST_HITS = 2, StopReason::MAX_CONSECUTIVE_LOST_HITS = 3,
  StopReason::LOST_HIT_FRACTION = 4, StopReason::MIN_PT = 5, StopReason::CHARGE_SIGNIFICANCE = 6, StopReason::LOOPER = 7,
  StopReason::MAX_CCC_LOST_HITS = 8, StopReason::NO_SEGMENTS_FOR_VALID_LAYERS = 9, StopReason::SEED_EXTENSION = 10, StopReason::SIZE,
  StopReason::NOT_STOPPED = 255
}
 

Variables

const std::string StopReasonName::StopReasonName []
 

Enumeration Type Documentation

◆ StopReason

enum StopReason : uint8_t
strong
Enumerator
UNINITIALIZED 
MAX_HITS 
MAX_LOST_HITS 
MAX_CONSECUTIVE_LOST_HITS 
LOST_HIT_FRACTION 
MIN_PT 
CHARGE_SIGNIFICANCE 
LOOPER 
MAX_CCC_LOST_HITS 
NO_SEGMENTS_FOR_VALID_LAYERS 
SEED_EXTENSION 
SIZE 
NOT_STOPPED 

Definition at line 7 of file TrajectoryStopReasons.h.

7  : uint8_t {
8  UNINITIALIZED = 0,
9  MAX_HITS = 1,
10  MAX_LOST_HITS = 2,
13  MIN_PT = 5,
15  LOOPER = 7,
18  SEED_EXTENSION = 10,
19  SIZE =
20  12, // This gives the number of the stopping reasons. The cound needs to be manually maintained, and should be 2 + the last value above .
21  NOT_STOPPED = 255 // this is the max allowed since it will be streamed as type uint8_t
22 };