CbmRoot
L1Strip.h
Go to the documentation of this file.
1 #ifndef _L1Strip_h_
2 #define _L1Strip_h_
3 
4 #include "../CbmL1Def.h"
5 
6 #ifdef _OPENMP
7 #include "omp.h"
8 #endif
9 
10 struct L1Branch;
11 
12 struct L1Strip {
13  // L1Strip():f(0),n(0){}
14  // L1Strip(fscal _f, unsigned short int _n = 0):f(_f),n(_n){}
15 
16  L1Strip() : f(0) {}
17  L1Strip(fscal _f, unsigned short int /*_n*/ = 0) : f(_f) {};
18 
19  operator fscal() const { return f; }
20  // operator fvec() { return fscal(f);}
21 
22  // private:
24 
25  // unsigned short int n; // number of event
26 };
27 
28 typedef unsigned /*short*/ int TStripI; // strip index type
29 
30 #endif
L1Strip::L1Strip
L1Strip()
Definition: L1Strip.h:16
fscal
float fscal
Definition: L1/vectors/P4_F32vec4.h:250
L1Strip
Definition: L1Strip.h:12
L1Strip::f
fscal f
Definition: L1Strip.h:23
L1Branch
Definition: L1Branch.h:27
TStripI
unsigned int TStripI
Definition: L1Strip.h:28
L1Strip::L1Strip
L1Strip(fscal _f, unsigned short int=0)
Definition: L1Strip.h:17