00001 #ifndef ANTPINFOOBJECTFILLERNUE
00002 #define ANTPINFOOBJECTFILLERNUE
00003
00004 #include "TObject.h"
00005 #include "Conventions/PlaneView.h"
00006 #include "StandardNtuple/NtpStRecord.h"
00007 #include "AnalysisNtuples/ANtpNueInfo.h"
00008
00009
00010 class ANtpNueInfo;
00011 class NtpSRRecord;
00012
00013 class ANtpInfoObjectFillerNue
00014 {
00015
00016 public:
00017 ANtpInfoObjectFillerNue();
00018 virtual ~ANtpInfoObjectFillerNue();
00019
00020
00021
00022 void Analyze(int evtn, NtpStRecord *st, ANtpNueInfo *);
00023 void FitLShower(Float_t pulseheight, ANtpNueInfo *);
00024 void TransVar(TH1F *h, PlaneView::EPlaneView pv);
00025 void Reset(int snarl, int event, ANtpNueInfo *);
00026
00027 void FitTShower(Float_t pulseheight);
00028
00029
00030 private:
00031 Double_t GetMaximumX(TF1* efit, Double_t xmin=0, Double_t xmax=0);
00032 float BuildUVVar(float u, float v);
00033 void FillEventEnergy(float* ph0, float* ph1, int evtn, NtpStRecord* st, const int SIZE);
00034
00035 TH1F *lenepl;
00036 TH1F *tenestu;
00037 TH1F *tenestv;
00038
00039 TH1F *tenestu_9s_2pe_dw;
00040 TH1F *tenestv_9s_2pe_dw;
00041
00042 TF1 *efit;
00043
00044 float asym_peak;
00045 float asym_vert;
00046 float molrad_peak;
00047 float molrad_vert;
00048 float mean;
00049 float rms;
00050 float skew;
00051 float kurt;
00052 };
00053
00054 #endif