BmnRoot
Loading...
Searching...
No Matches
L1Strip.h
Go to the documentation of this file.
1#ifndef _L1Strip_h_
2#define _L1Strip_h_
3
4#include "CbmL1Def.h"
5
6struct L1Strip{
7 //L1Strip():f(0),n(0){}
8L1Strip():f(0),df(0.0),n(0){} //AZ
9 //L1Strip(fscal _f, unsigned short int _n = 0):f(_f),n(_n){}
10L1Strip(fscal _f, fscal _df = 0.0, unsigned short int _n = 0):f(_f),df(_df),n(_n){}
11
12 operator fscal() { return f;}
13 fscal errf() { return df; } //AZ
14// operator fvec() { return fscal(f);}
15
16// private:
18 fscal df; //AZ
19 unsigned short int n; // number of event
20};
21
22typedef unsigned /*short*/ int TStripI; // strip index type
23
24#endif
unsigned int TStripI
Definition L1Strip.h:22
float fscal
Definition P4_F32vec4.h:232
unsigned short int n
Definition L1Strip.h:19
L1Strip(fscal _f, fscal _df=0.0, unsigned short int _n=0)
Definition L1Strip.h:10
fscal errf()
Definition L1Strip.h:13
fscal f
Definition L1Strip.h:17
L1Strip()
Definition L1Strip.h:8
fscal df
Definition L1Strip.h:18