Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimTracker
TrackHistory
interface
TrackCategories.h
Go to the documentation of this file.
1
2
#ifndef TrackCategories_h
3
#define TrackCategories_h
4
5
#include <vector>
6
7
class
TrackCategories
8
{
9
10
public
:
11
13
enum
Category
14
{
15
Fake
= 0,
16
Reconstructed
=
Fake
,
17
Bad
,
18
BadInnerHits
,
19
SharedInnerHits
,
20
SignalEvent
,
21
Bottom
,
22
Charm
,
23
Light
,
24
Muon
,
25
TrackerSimHits
,
26
BWeakDecay
,
27
CWeakDecay
,
28
ChargePionDecay
,
29
ChargeKaonDecay
,
30
TauDecay
,
31
KsDecay
,
32
LambdaDecay
,
33
JpsiDecay
,
34
XiDecay
,
35
OmegaDecay
,
36
SigmaPlusDecay
,
37
SigmaMinusDecay
,
38
LongLivedDecay
,
39
KnownProcess
,
40
UndefinedProcess
,
41
UnknownProcess
,
42
PrimaryProcess
,
43
HadronicProcess
,
44
DecayProcess
,
45
ComptonProcess
,
46
AnnihilationProcess
,
47
EIoniProcess
,
48
HIoniProcess
,
49
MuIoniProcess
,
50
PhotonProcess
,
51
MuPairProdProcess
,
52
ConversionsProcess
,
53
EBremProcess
,
54
SynchrotronRadiationProcess
,
55
MuBremProcess
,
56
MuNuclProcess
,
57
FromBWeakDecayMuon
,
58
FromCWeakDecayMuon
,
59
DecayOnFlightMuon
,
60
FromChargePionMuon
,
61
FromChargeKaonMuon
,
62
PrimaryVertex
,
63
SecondaryVertex
,
64
TertiaryVertex
,
65
TierciaryVertex
=
TertiaryVertex
,
66
Unknown
67
};
68
70
static
const
char
*
const
Names
[];
71
73
typedef
std::vector<bool>
Flags
;
74
76
TrackCategories
()
77
{
78
reset
();
79
}
80
82
bool
is
(
Category
category
)
const
83
{
84
return
flags_
[
category
];
85
}
86
88
const
Flags
&
flags
()
const
89
{
90
return
flags_
;
91
}
92
93
protected
:
94
96
void
reset
()
97
{
98
flags_
=
Flags
(
Unknown
+ 1,
false
);
99
}
100
101
// Check for unkown classification
102
void
unknownTrack
();
103
105
Flags
flags_
;
106
107
};
108
109
// Operation overload for printing the categories
110
std::ostream &
operator<<
(std::ostream &,
TrackCategories
const
&);
111
112
#endif
TrackCategories::SigmaMinusDecay
Definition:
TrackCategories.h:37
TrackCategories::Light
Definition:
TrackCategories.h:23
TrackCategories::SynchrotronRadiationProcess
Definition:
TrackCategories.h:54
TrackCategories::TierciaryVertex
Definition:
TrackCategories.h:65
TrackCategories
Definition:
TrackCategories.h:7
TrackCategories::Names
static const char *const Names[]
Name of the different categories.
Definition:
TrackCategories.h:70
TrackCategories::Fake
Definition:
TrackCategories.h:15
TrackCategories::SignalEvent
Definition:
TrackCategories.h:20
TrackCategories::MuNuclProcess
Definition:
TrackCategories.h:56
TrackCategories::Charm
Definition:
TrackCategories.h:22
TrackCategories::HadronicProcess
Definition:
TrackCategories.h:43
TrackCategories::Unknown
Definition:
TrackCategories.h:66
TrackCategories::FromBWeakDecayMuon
Definition:
TrackCategories.h:57
TrackCategories::TrackerSimHits
Definition:
TrackCategories.h:25
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
TrackCategories::BWeakDecay
Definition:
TrackCategories.h:26
TrackCategories::HIoniProcess
Definition:
TrackCategories.h:48
TrackCategories::FromChargeKaonMuon
Definition:
TrackCategories.h:61
TrackCategories::PrimaryProcess
Definition:
TrackCategories.h:42
TrackCategories::ConversionsProcess
Definition:
TrackCategories.h:52
TrackCategories::TauDecay
Definition:
TrackCategories.h:30
TrackCategories::ChargePionDecay
Definition:
TrackCategories.h:28
TrackCategories::UnknownProcess
Definition:
TrackCategories.h:41
TrackCategories::SigmaPlusDecay
Definition:
TrackCategories.h:36
TrackCategories::PhotonProcess
Definition:
TrackCategories.h:50
TrackCategories::DecayOnFlightMuon
Definition:
TrackCategories.h:59
TrackCategories::DecayProcess
Definition:
TrackCategories.h:44
python.rootplot.argparse.category
category
Definition:
argparse.py:131
TrackCategories::KsDecay
Definition:
TrackCategories.h:31
TrackCategories::BadInnerHits
Definition:
TrackCategories.h:18
TrackCategories::TertiaryVertex
Definition:
TrackCategories.h:64
TrackCategories::Bottom
Definition:
TrackCategories.h:21
TrackCategories::SharedInnerHits
Definition:
TrackCategories.h:19
TrackCategories::SecondaryVertex
Definition:
TrackCategories.h:63
TrackCategories::PrimaryVertex
Definition:
TrackCategories.h:62
TrackCategories::MuIoniProcess
Definition:
TrackCategories.h:49
TrackCategories::Reconstructed
Definition:
TrackCategories.h:16
TrackCategories::is
bool is(Category category) const
Returns track flag for a given category.
Definition:
TrackCategories.h:82
TrackCategories::EIoniProcess
Definition:
TrackCategories.h:47
TrackCategories::Bad
Definition:
TrackCategories.h:17
TrackCategories::unknownTrack
void unknownTrack()
Definition:
TrackCategories.cc:61
TrackCategories::flags
const Flags & flags() const
Returns flags with the category descriptions.
Definition:
TrackCategories.h:88
TrackCategories::EBremProcess
Definition:
TrackCategories.h:53
TrackCategories::MuBremProcess
Definition:
TrackCategories.h:55
TrackCategories::TrackCategories
TrackCategories()
Void constructor.
Definition:
TrackCategories.h:76
TrackCategories::UndefinedProcess
Definition:
TrackCategories.h:40
TrackCategories::Muon
Definition:
TrackCategories.h:24
TrackCategories::MuPairProdProcess
Definition:
TrackCategories.h:51
TrackCategories::KnownProcess
Definition:
TrackCategories.h:39
TrackCategories::LambdaDecay
Definition:
TrackCategories.h:32
TrackCategories::Flags
std::vector< bool > Flags
Main types associated to the class.
Definition:
TrackCategories.h:73
TrackCategories::Category
Category
Categories available to vertex.
Definition:
TrackCategories.h:13
TrackCategories::AnnihilationProcess
Definition:
TrackCategories.h:46
TrackCategories::flags_
Flags flags_
Flag containers.
Definition:
TrackCategories.h:105
TrackCategories::OmegaDecay
Definition:
TrackCategories.h:35
TrackCategories::FromCWeakDecayMuon
Definition:
TrackCategories.h:58
TrackCategories::reset
void reset()
Reset the categories flags.
Definition:
TrackCategories.h:96
TrackCategories::XiDecay
Definition:
TrackCategories.h:34
TrackCategories::ChargeKaonDecay
Definition:
TrackCategories.h:29
TrackCategories::FromChargePionMuon
Definition:
TrackCategories.h:60
TrackCategories::CWeakDecay
Definition:
TrackCategories.h:27
TrackCategories::ComptonProcess
Definition:
TrackCategories.h:45
TrackCategories::LongLivedDecay
Definition:
TrackCategories.h:38
TrackCategories::JpsiDecay
Definition:
TrackCategories.h:33
Generated for CMSSW Reference Manual by
1.8.5