CbmRoot
L1StsHit.h
Go to the documentation of this file.
1 #ifndef _L1StsHit_h_
2 #define _L1StsHit_h_
3 
4 #include "L1Strip.h"
5 
6 
7 //struct L1Branch;
8 typedef unsigned /*short*/ int THitI; // strip index type
9 typedef unsigned short int TZPosI; // strip z-coor index type
10 
11 
12 class L1StsHit {
13 public:
14  // float dx, dy, dxy;
15  TStripI f, b; // front and back strip indices
16  float du, dv;
17  float t_reco;
18  float t_er;
19  // int ista;
20  //int track, n;
21  // float x, y;
22 
23 
24  TZPosI iz; // index of z coor. in L1Algo::vStsZPos
25 
26 
27  L1StsHit() : f(0), b(0), du(0.), dv(0.), t_reco(0.f), t_er(0.), iz(0) {}
28  L1StsHit(L1StsHit& h, /*short*/ int sh, /*short*/ int shB)
29  : f(h.f + sh), b(h.b + shB), du(0.), dv(0.), t_reco(0.f), t_er(0.), iz(0) {}
30 };
31 
32 #endif
h
Generates beam ions for transport simulation.
Definition: CbmBeamGenerator.h:17
L1StsHit
Definition: L1StsHit.h:12
L1StsHit::t_er
float t_er
Definition: L1StsHit.h:18
TZPosI
unsigned short int TZPosI
Definition: L1StsHit.h:9
L1Strip.h
L1StsHit::b
TStripI b
Definition: L1StsHit.h:15
L1StsHit::du
float du
Definition: L1StsHit.h:16
L1StsHit::L1StsHit
L1StsHit(L1StsHit &h, int sh, int shB)
Definition: L1StsHit.h:28
THitI
unsigned int THitI
Definition: L1StsHit.h:8
L1StsHit::dv
float dv
Definition: L1StsHit.h:16
L1StsHit::t_reco
float t_reco
Definition: L1StsHit.h:17
TStripI
unsigned int TStripI
Definition: L1Strip.h:28
L1StsHit::L1StsHit
L1StsHit()
Definition: L1StsHit.h:27
L1StsHit::f
TStripI f
Definition: L1StsHit.h:15
L1StsHit::iz
TZPosI iz
Definition: L1StsHit.h:24