CbmRoot
CbmL1StsHit.h
Go to the documentation of this file.
1 #ifndef _CbmL1StsHit_h_
2 #define _CbmL1StsHit_h_
3 
4 #include <vector>
5 using std::vector;
6 
7 // hits with hit-mcpoint match information
8 class CbmL1StsHit {
9 public:
11  : hitId(0)
12  , extIndex(0)
13  , Det(0)
14  , mcPointIds()
15  , x(0.)
16  , y(0.)
17  , t(0.)
18  , file(0)
19  , event(0) {};
20  CbmL1StsHit(int hitId_, int extIndex_, int Det_)
21  : hitId(hitId_)
22  , extIndex(extIndex_)
23  , Det(Det_)
24  , mcPointIds()
25  , x(0.)
26  , y(0.)
27  , t(0.)
28  , file(0)
29  , event(0) {};
30 
31  int
32  hitId; // index of L1StsHit in algo->vStsHits array. Should be equal to index of this in L1->vStsHits
33  int extIndex; // index of hit in the TClonesArray array
34  int Det;
35  vector<int> mcPointIds; // indices of CbmL1MCPoint in L1->vMCPoints array
36  float x, y, t;
37 
38  int file;
39  int event;
40 };
41 
42 #endif
CbmL1StsHit::t
float t
Definition: CbmL1StsHit.h:36
CbmL1StsHit::Det
int Det
Definition: CbmL1StsHit.h:34
CbmL1StsHit::y
float y
Definition: CbmL1StsHit.h:36
CbmL1StsHit::hitId
int hitId
Definition: CbmL1StsHit.h:29
CbmL1StsHit::CbmL1StsHit
CbmL1StsHit()
Definition: CbmL1StsHit.h:10
CbmL1StsHit::event
int event
Definition: CbmL1StsHit.h:39
CbmL1StsHit::file
int file
Definition: CbmL1StsHit.h:38
CbmL1StsHit::extIndex
int extIndex
Definition: CbmL1StsHit.h:33
CbmL1StsHit::CbmL1StsHit
CbmL1StsHit(int hitId_, int extIndex_, int Det_)
Definition: CbmL1StsHit.h:20
CbmL1StsHit
Definition: CbmL1StsHit.h:8
CbmL1StsHit::mcPointIds
vector< int > mcPointIds
Definition: CbmL1StsHit.h:35
CbmL1StsHit::x
float x
Definition: CbmL1StsHit.h:36