BmnRoot 26.10.0-19-g6979a6c6
Software framework of the BM@N experiment
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>
21using std::vector;
22
24{
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;
58 double p, q, mass;
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
static bool compareIDz(const CbmL1MCPoint &a, const CbmL1MCPoint &b)
static bool pcompareIDz(const CbmL1MCPoint *a, const CbmL1MCPoint *b)
vector< int > hitIds