StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFgtClustEvalMaker.h
1 // $Id: StFgtClustEvalMaker.h,v 1.2 2014/08/06 11:42:57 jeromel Exp $
2 
3 
4 /* \class StFgtClustEvalMaker
5 \author Jan Balewski
6 
7 CLuster finder for FGT
8 
9 
10 */
11 
12 #ifndef STAR_StFgtClustEvalMaker
13 #define STAR_StFgtClustEvalMaker
14 
15 
16 #ifndef StMaker_H
17 #include "StMaker.h"
18 #endif
19 
20 #include "StFgtGeom.h"
21 #include "StFgtContainers.h"
22 
23 
24 class StFgtClustEvalMaker : public StMaker {
25  private:
26  enum {mxH=16};
27  TH1 *hA[mxH];
28  TObjArray *HList;
29  StFgtGeom *geom;
30 
31  int mInpEve;
32  double par_minDelRad; // radial match cut off at 1 mm
33  double par_minRdPhi; // match cut off at 1 mm
34 
35 
36  int matchRadClust1D( vector<fgt_g2t_auxil> *g2tTrL, vector<fgt_cluster1D> &clL);
37  int matchPhiClust1D( vector<fgt_g2t_auxil> *g2tTrL, vector<fgt_cluster1D> &clL);
38  public:
39  StFgtClustEvalMaker(const char *name="FgtClustEval");
40  virtual ~StFgtClustEvalMaker();
41  virtual Int_t Init();
42  virtual Int_t Finish();
43  virtual Int_t Make();
44  virtual void Clear(Option_t *option="");
45  void setHList(TObjArray * x){HList=x;}
46  void saveHisto(TString fname);
47 
48  virtual const char *GetCVS() const {
49  static const char cvs[]="Tag $Name: $ $Id: StFgtClustEvalMaker.h,v 1.2 2014/08/06 11:42:57 jeromel Exp $ built " __DATE__ " " __TIME__ ;
50 
51  return cvs;
52  }
53  private:
54 
55  ClassDef(StFgtClustEvalMaker,0)
56 };
57 
58 #endif
59 
60 
61 // $Log: StFgtClustEvalMaker.h,v $
62 // Revision 1.2 2014/08/06 11:42:57 jeromel
63 // Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
64 //
65 // Revision 1.1 2011/04/07 19:31:22 balewski
66 // start
67 //
StFgtClustEvalMaker(const char *name="FgtClustEval")
virtual void Clear(Option_t *option="")
User defined functions.