BmnRoot
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),
y
(0),
z
(0),
px
(0),
py
(0),
pz
(0),
27
xIn
(0),
yIn
(0),
zIn
(0),
pxIn
(0),
pyIn
(0),
pzIn
(0),
28
xOut
(0),
yOut
(0),
zOut
(0),
pxOut
(0),
pyOut
(0),
pzOut
(0),
29
p
(0),
q
(0),
mass
(0),
30
pdg
(0),
ID
(0),
mother_ID
(0),
31
iStation
(0),
pointId
(-1),
hitIds
()
32
{}
33
34
double
x
,
y
,
z
,
px
,
py
,
pz
;
35
double
xIn
,
yIn
,
zIn
,
pxIn
,
pyIn
,
pzIn
;
36
double
xOut
,
yOut
,
zOut
,
pxOut
,
pyOut
,
pzOut
;
37
double
p
,
q
,
mass
;
38
int
pdg
,
ID
,
mother_ID
;
39
int
iStation
;
40
int
pointId
;
41
42
static
bool
compareIDz
(
const
CbmL1MCPoint
&a,
const
CbmL1MCPoint
&b )
43
{
44
return
( a.
ID
< b.
ID
) || ( ( a.
ID
== b.
ID
) && (a.
z
< b.
z
) );
45
}
46
47
static
bool
pcompareIDz
(
const
CbmL1MCPoint
*a,
const
CbmL1MCPoint
*b )
48
{
49
return
( a->
ID
< b->
ID
) || ( ( a->
ID
== b->
ID
) && (a->
z
< b->
z
) );
50
}
51
52
vector<int>
hitIds
;
// indices of CbmL1StsHits in L1->vStsHits array
53
};
54
55
#endif
CbmL1MCPoint
Definition
CbmL1MCPoint.h:24
CbmL1MCPoint::mother_ID
int mother_ID
Definition
CbmL1MCPoint.h:38
CbmL1MCPoint::px
double px
Definition
CbmL1MCPoint.h:34
CbmL1MCPoint::ID
int ID
Definition
CbmL1MCPoint.h:38
CbmL1MCPoint::py
double py
Definition
CbmL1MCPoint.h:34
CbmL1MCPoint::iStation
int iStation
Definition
CbmL1MCPoint.h:39
CbmL1MCPoint::hitIds
vector< int > hitIds
Definition
CbmL1MCPoint.h:52
CbmL1MCPoint::mass
double mass
Definition
CbmL1MCPoint.h:37
CbmL1MCPoint::pdg
int pdg
Definition
CbmL1MCPoint.h:38
CbmL1MCPoint::xIn
double xIn
Definition
CbmL1MCPoint.h:35
CbmL1MCPoint::compareIDz
static bool compareIDz(const CbmL1MCPoint &a, const CbmL1MCPoint &b)
Definition
CbmL1MCPoint.h:42
CbmL1MCPoint::pyIn
double pyIn
Definition
CbmL1MCPoint.h:35
CbmL1MCPoint::y
double y
Definition
CbmL1MCPoint.h:34
CbmL1MCPoint::zIn
double zIn
Definition
CbmL1MCPoint.h:35
CbmL1MCPoint::pxIn
double pxIn
Definition
CbmL1MCPoint.h:35
CbmL1MCPoint::pzOut
double pzOut
Definition
CbmL1MCPoint.h:36
CbmL1MCPoint::x
double x
Definition
CbmL1MCPoint.h:34
CbmL1MCPoint::p
double p
Definition
CbmL1MCPoint.h:37
CbmL1MCPoint::pxOut
double pxOut
Definition
CbmL1MCPoint.h:36
CbmL1MCPoint::pzIn
double pzIn
Definition
CbmL1MCPoint.h:35
CbmL1MCPoint::pcompareIDz
static bool pcompareIDz(const CbmL1MCPoint *a, const CbmL1MCPoint *b)
Definition
CbmL1MCPoint.h:47
CbmL1MCPoint::yOut
double yOut
Definition
CbmL1MCPoint.h:36
CbmL1MCPoint::pz
double pz
Definition
CbmL1MCPoint.h:34
CbmL1MCPoint::CbmL1MCPoint
CbmL1MCPoint()
Definition
CbmL1MCPoint.h:25
CbmL1MCPoint::q
double q
Definition
CbmL1MCPoint.h:37
CbmL1MCPoint::z
double z
Definition
CbmL1MCPoint.h:34
CbmL1MCPoint::zOut
double zOut
Definition
CbmL1MCPoint.h:36
CbmL1MCPoint::pyOut
double pyOut
Definition
CbmL1MCPoint.h:36
CbmL1MCPoint::yIn
double yIn
Definition
CbmL1MCPoint.h:35
CbmL1MCPoint::xOut
double xOut
Definition
CbmL1MCPoint.h:36
CbmL1MCPoint::pointId
int pointId
Definition
CbmL1MCPoint.h:40
install
include
CbmL1MCPoint.h
Generated on Fri May 15 2026 10:40:57 for BmnRoot by
1.9.8