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