00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef STAR_StFgtClustEvalMaker
00013 #define STAR_StFgtClustEvalMaker
00014
00015
00016 #ifndef StMaker_H
00017 #include "StMaker.h"
00018 #endif
00019
00020 #include "StFgtGeom.h"
00021 #include "StFgtContainers.h"
00022
00023
00024 class StFgtClustEvalMaker : public StMaker {
00025 private:
00026 enum {mxH=16};
00027 TH1 *hA[mxH];
00028 TObjArray *HList;
00029 StFgtGeom *geom;
00030
00031 int mInpEve;
00032 double par_minDelRad;
00033 double par_minRdPhi;
00034
00035
00036 int matchRadClust1D( vector<fgt_g2t_auxil> *g2tTrL, vector<fgt_cluster1D> &clL);
00037 int matchPhiClust1D( vector<fgt_g2t_auxil> *g2tTrL, vector<fgt_cluster1D> &clL);
00038 public:
00039 StFgtClustEvalMaker(const char *name="FgtClustEval");
00040 virtual ~StFgtClustEvalMaker();
00041 virtual Int_t Init();
00042 virtual Int_t Finish();
00043 virtual Int_t Make();
00044 virtual void Clear(Option_t *option="");
00045 void setHList(TObjArray * x){HList=x;}
00046 void saveHisto(TString fname);
00047
00048 virtual const char *GetCVS() const {
00049 static const char cvs[]="Tag $Name: $ $Id: StFgtClustEvalMaker.h,v 1.1 2011/04/07 19:31:22 balewski Exp $ built "__DATE__" "__TIME__ ;
00050
00051 return cvs;
00052 }
00053 private:
00054
00055 ClassDef(StFgtClustEvalMaker,0)
00056 };
00057
00058 #endif
00059
00060
00061
00062
00063
00064