00001
00002
00003
00004
00005
00006
00008
00009
00010
00012
00013 #ifndef StFlowReCentMaker_H
00014 #define StFlowReCentMaker_H
00015 #include <Stiostream.h>
00016 #include "StMaker.h"
00017 #include "StFlowMaker/StFlowConstants.h"
00018 #include "TString.h"
00019 class StFlowEvent;
00020 class StFlowSelection;
00021 class TFile;
00022 class TProfile;
00023
00024 class StFlowReCentMaker : public StMaker {
00025
00026
00027
00028 public:
00029
00031 StFlowReCentMaker(const Char_t* name="FlowReCent");
00032
00033 virtual ~StFlowReCentMaker();
00034
00035 Int_t Init();
00036 Int_t Make();
00037 Int_t Finish();
00038
00039 virtual const char *GetCVS() const {static const char cvs[]=
00040 "Tag $Name: $ $Id: StFlowReCentMaker.h,v 1.1 2009/11/24 19:29:16 posk Exp $ built "__DATE__" "__TIME__ ;
00041 return cvs;}
00042
00043 private:
00044
00045 static const int nCens = 10;
00046
00047 TFile* reCentFile[nCens];
00048
00049 void FillEventHistograms();
00050
00051 StFlowEvent* pFlowEvent;
00052 StFlowSelection* pFlowSelect;
00053
00054
00055 struct histHars {
00056 TProfile* mHistReCentX;
00057 TProfile* mHistReCentY;
00058 };
00059
00060 struct histCens;
00061 friend struct histCens;
00062 struct histCens {
00063 struct histHars histHar[Flow::nHars];
00064 };
00065
00066 struct hists;
00067 friend struct hists;
00068 struct hists {
00069 struct histCens histCen[nCens];
00070 };
00071 struct hists hist[Flow::nSels];
00072
00073 TString MakerName;
00074
00075 ClassDef(StFlowReCentMaker,0)
00076 };
00077
00078 #endif
00079
00081
00082
00083
00084
00085
00086
00087