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