StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
FtfDedx.h
1 //:>----------------------------------------------------------------------
2 //: FILE: FtfDedx.h
3 //: HISTORY:
4 //:>----------------------------------------------------------------------
5 #ifndef FTFDEDX
6 #define FTFDEDX
7 #include "FtfGeneral.h"
8 #include "FtfTrack.h"
9 #include "l3CoordinateTransformer.h"
10 
11 
12 #define padLengthInnerSector 1.15 // cm
13 #define padLengthOuterSector 1.95 // cm
14 
16  double x;
17  double y;
18 };
19 
20 
21 class FtfDedx {
22 
23  public:
24  FtfDedx(l3CoordinateTransformer *trafo, float cutLow = 0, float cutHigh = 0.7,
25  float driftLoss = 0);
26  ~FtfDedx () {};
27 
28  int TruncatedMean(FtfTrack *track);
29 
30  private:
31 
32  //FtfTrack *fTrack;
33  l3CoordinateTransformer *fCoordTransformer;
34  double fDedxArray[45];
35 
36  float fCutLow ; // Truncated Mean: lower cut in %
37  float fCutHigh ; // Truncated Mean: higher cut in %
38  short fNTruncate ; // Pablo: # points to truncate in dEdx
39  float fDriftLoss ; // corr. factor for drift length dependence of charge loss in m^-1
40  struct christofs_2d_vector fUnitVec[24];
41 };
42 #endif