StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFcsTrackMatchMaker.h
1 // \class StFcsTrackMatchMaker
2 // \author Akio Ogawa
3 //
4 // This is FCS-FowardTrack matching maker
5 //
6 
7 #ifndef STAR_StFcsTrackMatchMaker_HH
8 #define STAR_StFcsTrackMatchMaker_HH
9 
10 #include "StMaker.h"
11 
13 class StFwdTrack;
14 class StFcsCollection;
15 class StFcsDb;
16 class StEpdGeom;
17 class TH1F;
18 class TH2F;
19 
21 public:
22  StFcsTrackMatchMaker(const char* name="FcsTrkMatch");
24  int Init();
25  int Make();
26  int Finish();
27 
28  void setFileName(char* file){mFilename=file;}
29  void setMaxDistance(float ecal, float hcal) {mMaxDistance[0]=ecal; mMaxDistance[1]=hcal;}
30  void setMinEnergy(float ecal, float hcal) {mMinEnergy[0]=ecal; mMinEnergy[1]=hcal;}
31 
32 private:
33  StFwdTrackCollection* mFwdTrkColl=0;
34  StFcsCollection* mFcsColl=0;
35  StFcsDb* mFcsDb=0;
36  StEpdGeom* mEpdgeo=0;
37 
38  TFile* mFile=0;
39  char* mFilename=0;
40 
41  float mMaxDistance[2];
42  float mMinEnergy[2];
43 
44  TH1F* mNtrk[4];
45  TH1F* mNclu[4];
46  TH1F* mCharge[3];
47  TH2F* mXY[3];
48 
49  TH1F* mHdx[2];
50  TH1F* mHdy[2];
51  TH1F* mHdr[2];
52  TH1F* mPtEt[2];
53  TH2F* mPtEt2[2];
54 
55  virtual const char *GetCVS() const
56  {static const char cvs[]="Tag $Name: $ $Id: StFcsTrackMatchMaker.h,v 1.1 2021/03/30 13:34:15 akio Exp $ built " __DATE__ " " __TIME__ ; return cvs;}
57 
58  ClassDef(StFcsTrackMatchMaker,0)
59 
60 };
61 
62 #endif