71 #ifndef STAR_StFtpcClusterFinder
72 #define STAR_StFtpcClusterFinder
78 #include "TObjArray.h"
79 #include "StDaqLib/GENERIC/EventReader.hh"
80 #include "StDAQMaker/StDAQReader.h"
81 #include "StDAQMaker/StFTPCReader.h"
82 #include "StFtpcParamReader.hh"
83 #include "StFtpcDbReader.hh"
87 #include "StFtpcClusterDebug.hh"
91 #define sqr(x) ((x)*(x))
106 TH2F *mhpad, *mhtime;
115 float UNFOLDFAILEDLIMIT;
124 int mMaxPadlengthMed;
125 int mMaxTimelengthMed;
126 int mMaxPadlengthOut;
127 int mMaxTimelengthOut;
135 float mOffsetCathodeWest;
136 float mOffsetCathodeEast;
138 float mAngleOffsetWest;
139 float mAngleOffsetEast;
141 float mMinChargeWindow;
147 TObjArray *pointarray,
157 TObjArray *pointarray,
168 int findHits(
TClusterUC *Cluster,
int,
int,
double*,
double*,
float *);
169 int fitPoints(
TClusterUC*,
int,
int,
double*,
double*,
TPeak*,
int,
float*);
170 int padtrans(
TPeak*,
int,
int,
double*,
double*);
171 float gauss_2d(
int,
int,
float,
float,
float,
float,
float);
174 int calcpadtrans(
double*,
double*,
double);