00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef EvtNT3_HH
00020 #define EvtNT3_HH
00021
00022 #include "EvtGenBase/EvtHis2F.hh"
00023 #include "TTree.h"
00024
00025 class EvtNT3:public EvtHis2F{
00026
00027 public:
00028
00029 void init();
00030 int calculateBins(int entries);
00031 bool AR1(double costheta, double mass);
00032 bool AR2(double costheta, double mass);
00033 bool AR3(double costheta, double mass);
00034
00035 void setDTfile(const char* name){datafile=name;}
00036 void setMCfile(const char* name){mcfile=name;}
00037
00038 private:
00039
00040 TChain *chainMC, *chainDT;
00041 TFile *dataf,*mcf;
00042 const char *datafile, *mcfile;
00043 TH2F *MC1, *MC2, *MC3;
00044 TH2F *DT1, *DT2, *DT3;
00045 TH2F *WT1, *WT2, *WT3;
00046 double max1,max2,max3,max;
00047 double costheta1,costheta2,costheta3,m12,m13,m23;
00048 double m12_low, m12_up, m13_low, m13_up, m23_low, m23_up;
00049 int entriesMC,entriesDT,Ncos,Nmass;
00050
00051 };
00052 #endif