#ifndef mypdf_h #define mypdf_h #include "TH1.h" #include "TObject.h" using namespace std ; class mypdf { public : mypdf() ; mypdf( double var, double LowerCut, double UpperCut, TH1D* hPDF ) ; bool SelectEvent() ; double ComputePDF() ; ~mypdf() ; private : TH1D * _hPDF ; const int _maxbin(5000) ; double _var, _LowerCut, _UpperCut ; int _nbin ; double _hLowEge[_maxbin]; }; #endif