ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/LeptonSelection/interface/bdtiface.h
(Generate patch)

Comparing UserCode/MitHzz4l/LeptonSelection/interface/bdtiface.h (file contents):
Revision 1.3 by dkralph, Wed May 2 13:12:37 2012 UTC vs.
Revision 1.5 by dkralph, Thu May 31 12:09:59 2012 UTC

# Line 24 | Line 24 | public:
24    bdtiface(TString weightDir="", TString cutfile="", TString method="BDTG", TString varfile="");
25    void    readBDTCuts(TString file);
26    void    getxmlvars(); // get list of variables declared in the xml files
27 <  void    readbins(TString varfile);
28 <  void    readvars(TString varfile);
29 <  void    readlimits(TString varfile);
27 >  void    readbins();
28 >  void    readvars();
29 >  void    readlimits();
30 >  map<TString,Float_t> *get_bdt_vars();
31    TString getBinName(double pt, double eta, int isglobal=-1, int istracker=-1);
32 <  double  getBDTCut(double pt, double eta, TString tightness, TString era="");
32 >  double  getBDTCut(double pt, double eta, TString tightness);
33    double  getBDTCut(TString binname, TString tightness);
34 <  double  getBDTval(Double_t pt, Double_t eta, TString era, TString method="BDTG");
35 <  Bool_t  passBDT(Double_t pt, Double_t eta, TString tightness, TString era="", TString method="BDTG");
34 >  double  getBDTval(Double_t pt, Double_t eta, TString method="BDTG");
35 >  Bool_t  passBDT(Double_t pt, Double_t eta, TString tightness, TString method="BDTG");
36    void    setVals(map<TString,Float_t> floatvals);
37    void    print();
38  
# Line 47 | Line 48 | private:
48    map<TString,float>              glbbin_lows_,trkbin_lows_;             // high edges for each glb/trk bin
49    map<TString,float>              glbbin_highs_,trkbin_highs_;           // high edges for each pt/trk bin
50    map<TString,double>             loosecuts_,mediumcuts_,tightcuts_;    // cut values
51 +  map<TString,double>             cuts_;
52    // variables names: a vector of names for each bin
53    map<TString,vector<TString> >   floatvar_names_,floatvar_expressions_,floatspec_names_;
54    map<TString,double>             minima_,maxima_;                      // limiting values for mva input variables

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines