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.2 by dkralph, Sat Apr 21 22:45:01 2012 UTC vs.
Revision 1.4 by dkralph, Sun May 6 14:56:25 2012 UTC

# Line 27 | Line 27 | public:
27    void    readbins(TString varfile);
28    void    readvars(TString varfile);
29    void    readlimits(TString varfile);
30 <  TString getBinName(double pt, double eta, TString era="");
31 <  double  getBDTCut(double pt, double eta, TString tightness, TString era="");
30 >  TString getBinName(double pt, double eta, int isglobal=-1, int istracker=-1);
31 >  double  getBDTCut(double pt, double eta, TString tightness);
32    double  getBDTCut(TString binname, TString tightness);
33 <  double  getBDTval(Double_t pt, Double_t eta, TString era, TString method="BDTG");
34 <  Bool_t  passBDT(Double_t pt, Double_t eta, TString tightness, TString era="", TString method="BDTG");
33 >  double  getBDTval(Double_t pt, Double_t eta, TString method="BDTG");
34 >  Bool_t  passBDT(Double_t pt, Double_t eta, TString tightness, TString method="BDTG");
35    void    setVals(map<TString,Float_t> floatvals);
36    void    print();
37  
# Line 42 | Line 42 | private:
42    unsigned                        max_nfloats;                          // maximum number of variables used in any one bin
43    map<TString,Float_t>            floatvals_;                           // value for each input float variable (includes spectators)
44    vector<TString>                 binnamev_;                            // pt/eta/era bin names
45 <  vector<float>                   ptbin_highs_,etabin_highs_;           // high edges for each pt/eta bin
45 >  map<TString,float>              ptbin_lows_,etabin_lows_;             // high edges for each pt/eta bin
46 >  map<TString,float>              ptbin_highs_,etabin_highs_;           // high edges for each pt/eta bin
47 >  map<TString,float>              glbbin_lows_,trkbin_lows_;             // high edges for each glb/trk bin
48 >  map<TString,float>              glbbin_highs_,trkbin_highs_;           // high edges for each pt/trk bin
49    map<TString,double>             loosecuts_,mediumcuts_,tightcuts_;    // cut values
50 +  map<TString,double>             cuts_;
51    // variables names: a vector of names for each bin
52    map<TString,vector<TString> >   floatvar_names_,floatvar_expressions_,floatspec_names_;
53 <  map<TString,double>             minima_,maxima_;
53 >  map<TString,double>             minima_,maxima_;                      // limiting values for mva input variables
54   };
55  
56   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines