BmnRoot
26.10.0-19-g6979a6c6
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
CbmL1MCPoint.h
Go to the documentation of this file.
1
/*
2
*====================================================================
3
*
4
* CBM Level 1 Reconstruction
5
*
6
* Authors: I.Kisel, S.Gorbunov
7
*
8
* e-mail : ikisel@kip.uni-heidelberg.de
9
*
10
*====================================================================
11
*
12
* L1 Monte Carlo information
13
*
14
*====================================================================
15
*/
16
17
#ifndef CbmL1MCPoint_H
18
#define CbmL1MCPoint_H
19
20
#include <vector>
21
using
std::vector;
22
23
struct
CbmL1MCPoint
24
{
25
CbmL1MCPoint
()
26
:
x
(0)
27
,
y
(0)
28
,
z
(0)
29
,
px
(0)
30
,
py
(0)
31
,
pz
(0)
32
,
xIn
(0)
33
,
yIn
(0)
34
,
zIn
(0)
35
,
pxIn
(0)
36
,
pyIn
(0)
37
,
pzIn
(0)
38
,
xOut
(0)
39
,
yOut
(0)
40
,
zOut
(0)
41
,
pxOut
(0)
42
,
pyOut
(0)
43
,
pzOut
(0)
44
,
p
(0)
45
,
q
(0)
46
,
mass
(0)
47
,
pdg
(0)
48
,
ID
(0)
49
,
mother_ID
(0)
50
,
iStation
(0)
51
,
pointId
(-1)
52
,
hitIds
()
53
{}
54
55
double
x
,
y
,
z
,
px
,
py
,
pz
;
56
double
xIn
,
yIn
,
zIn
,
pxIn
,
pyIn
,
pzIn
;
57
double
xOut
,
yOut
,
zOut
,
pxOut
,
pyOut
,
pzOut
;
58
double
p
,
q
,
mass
;
59
int
pdg
,
ID
,
mother_ID
;
60
int
iStation
;
61
int
pointId
;
62
63
static
bool
compareIDz
(
const
CbmL1MCPoint
& a,
const
CbmL1MCPoint
& b)
64
{
65
return
(a.
ID
< b.
ID
) || ((a.
ID
== b.
ID
) && (a.
z
< b.
z
));
66
}
67
68
static
bool
pcompareIDz
(
const
CbmL1MCPoint
* a,
const
CbmL1MCPoint
* b)
69
{
70
return
(a->
ID
< b->
ID
) || ((a->
ID
== b->
ID
) && (a->
z
< b->
z
));
71
}
72
73
vector<int>
hitIds
;
// indices of CbmL1StsHits in L1->vStsHits array
74
};
75
76
#endif
CbmL1MCPoint::mother_ID
int mother_ID
Definition
CbmL1MCPoint.h:59
CbmL1MCPoint::px
double px
Definition
CbmL1MCPoint.h:55
CbmL1MCPoint::ID
int ID
Definition
CbmL1MCPoint.h:59
CbmL1MCPoint::py
double py
Definition
CbmL1MCPoint.h:55
CbmL1MCPoint::iStation
int iStation
Definition
CbmL1MCPoint.h:60
CbmL1MCPoint::mass
double mass
Definition
CbmL1MCPoint.h:58
CbmL1MCPoint::pdg
int pdg
Definition
CbmL1MCPoint.h:59
CbmL1MCPoint::xIn
double xIn
Definition
CbmL1MCPoint.h:56
CbmL1MCPoint::compareIDz
static bool compareIDz(const CbmL1MCPoint &a, const CbmL1MCPoint &b)
Definition
CbmL1MCPoint.h:63
CbmL1MCPoint::pyIn
double pyIn
Definition
CbmL1MCPoint.h:56
CbmL1MCPoint::y
double y
Definition
CbmL1MCPoint.h:55
CbmL1MCPoint::zIn
double zIn
Definition
CbmL1MCPoint.h:56
CbmL1MCPoint::pxIn
double pxIn
Definition
CbmL1MCPoint.h:56
CbmL1MCPoint::pzOut
double pzOut
Definition
CbmL1MCPoint.h:57
CbmL1MCPoint::x
double x
Definition
CbmL1MCPoint.h:55
CbmL1MCPoint::p
double p
Definition
CbmL1MCPoint.h:58
CbmL1MCPoint::pxOut
double pxOut
Definition
CbmL1MCPoint.h:57
CbmL1MCPoint::pzIn
double pzIn
Definition
CbmL1MCPoint.h:56
CbmL1MCPoint::pcompareIDz
static bool pcompareIDz(const CbmL1MCPoint *a, const CbmL1MCPoint *b)
Definition
CbmL1MCPoint.h:68
CbmL1MCPoint::yOut
double yOut
Definition
CbmL1MCPoint.h:57
CbmL1MCPoint::pz
double pz
Definition
CbmL1MCPoint.h:55
CbmL1MCPoint::CbmL1MCPoint
CbmL1MCPoint()
Definition
CbmL1MCPoint.h:25
CbmL1MCPoint::hitIds
vector< int > hitIds
Definition
CbmL1MCPoint.h:73
CbmL1MCPoint::q
double q
Definition
CbmL1MCPoint.h:58
CbmL1MCPoint::z
double z
Definition
CbmL1MCPoint.h:55
CbmL1MCPoint::zOut
double zOut
Definition
CbmL1MCPoint.h:57
CbmL1MCPoint::pyOut
double pyOut
Definition
CbmL1MCPoint.h:57
CbmL1MCPoint::yIn
double yIn
Definition
CbmL1MCPoint.h:56
CbmL1MCPoint::xOut
double xOut
Definition
CbmL1MCPoint.h:57
CbmL1MCPoint::pointId
int pointId
Definition
CbmL1MCPoint.h:61
reconstruction
cat
CbmL1MCPoint.h
Generated on
for BmnRoot by
1.17.0