DataFormats
TrackReco
interface
TrajectoryStopReasons.h
Go to the documentation of this file.
1
#ifndef TRAJECTORYSTOPREASONS_H
2
#define TRAJECTORYSTOPREASONS_H
3
4
#include <string>
5
6
enum class
StopReason
{
7
UNINITIALIZED
= 0,
8
MAX_HITS
= 1,
9
MAX_LOST_HITS
= 2,
10
MAX_CONSECUTIVE_LOST_HITS
= 3,
11
LOST_HIT_FRACTION
= 4,
12
MIN_PT
= 5,
13
CHARGE_SIGNIFICANCE
= 6,
14
LOOPER
= 7,
15
MAX_CCC_LOST_HITS
= 8,
16
NO_SEGMENTS_FOR_VALID_LAYERS
= 9,
17
SEED_EXTENSION
= 10,
18
SIZE
=
19
12,
// This gives the number of the stopping reasons. The cound needs to be manually maintained, and should be 2 + the last value above .
20
NOT_STOPPED
= 255
// this is the max allowed since it will be streamed as type uint8_t
21
};
22
23
// to be kept in synch w/ the above enum ;)
24
namespace
StopReasonName
{
25
static
const
std::string
StopReasonName
[] = {
26
"UNINITIALIZED"
,
// 0
27
"MAX_HITS"
,
// 1
28
"MAX_LOST_HITS"
,
// 2
29
"MAX_CONSECUTIVE_LOST_HITS"
,
// 3
30
"LOST_HIT_FRACTION"
,
// 4
31
"MIN_PT"
,
// 5
32
"CHARGE_SIGNIFICANCE"
,
// 6
33
"LOOPER"
,
// 7
34
"MAX_CCC_LOST_HITS"
,
// 8
35
"NO_SEGMENTS_FOR_VALID_LAYERS"
,
// 9
36
"SEED_EXTENSION"
,
// 10
37
"NOT_STOPPED"
// 11 (be careful, NOT_STOPPED needs to be the last,
38
// its index differs from the enumeration value)
39
};
40
};
41
42
#endif
StopReason::MAX_CCC_LOST_HITS
StopReasonName
Definition:
TrajectoryStopReasons.h:24
StopReason::CHARGE_SIGNIFICANCE
SeedStopReason::NOT_STOPPED
StopReason::LOST_HIT_FRACTION
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
StopReason::MAX_CONSECUTIVE_LOST_HITS
StopReason::MIN_PT
StopReason::MAX_HITS
SeedStopReason::UNINITIALIZED
StopReason::SIZE
StopReason::SEED_EXTENSION
StopReason
StopReason
Definition:
TrajectoryStopReasons.h:6
StopReason::MAX_LOST_HITS
StopReason::NO_SEGMENTS_FOR_VALID_LAYERS
StopReason::LOOPER
Generated for CMSSW Reference Manual by
1.8.16