ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Utils/interface/MVATools.h
(Generate patch)

Comparing UserCode/MitPhysics/Utils/interface/MVATools.h (file contents):
Revision 1.1 by mingyang, Thu Oct 13 17:29:19 2011 UTC vs.
Revision 1.2 by mingyang, Thu Oct 13 18:35:10 2011 UTC

# Line 36 | Line 36 | namespace mithep {
36    class MVATools {
37      public:
38        MVATools();
39 <  
40 <  
41 <    //--------------------------
42 <    //MVA
43 <    //--------------------------
44 <    //void InitializeMVA(int VariableType, TString EndcapWeights,TString BarrelWeights);
45 <    //Bool_t PassMVASelection(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,const ElectronCol *els);
46 <    
47 <    void InitializeMVA(int VariableType, TString EndcapWeights,TString BarrelWeights);
48 <    Bool_t PassMVASelection(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,const ElectronCol* els,double MVAPtMin);
49 <    Int_t PassElectronVetoInt(const Photon* p, const ElectronCol* els);
50 <    Float_t GetMVAbdtValue(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,const ElectronCol* els);
51 <    
52 <    TMVA::Reader *fReaderEndcap;
53 <    TMVA::Reader *fReaderBarrel;    
54 <    
55 <    //MVA variables 0
39 >      
40 >      
41 >      //--------------------------
42 >      //MVA
43 >      //--------------------------
44 >      //void InitializeMVA(int VariableType, TString EndcapWeights,TString BarrelWeights);
45 >      //Bool_t PassMVASelection(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,const ElectronCol *els);
46 >      
47 >      void InitializeMVA(int VariableType, TString EndcapWeights,TString BarrelWeights);
48 >      Bool_t PassMVASelection(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,const ElectronCol* els,double MVAPtMin, Float_t bdtCutBarrel, Float_t bdtCutEndcap);
49 >      Int_t PassElectronVetoInt(const Photon* p, const ElectronCol* els);
50 >      Float_t GetMVAbdtValue(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,const ElectronCol* els);
51 >      
52 >      TMVA::Reader *fReaderEndcap;
53 >      TMVA::Reader *fReaderBarrel;    
54 >      
55 >      //MVA variables 0
56      Float_t HoE;
57      Float_t covIEtaIEta;
58      Float_t tIso1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines