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.7 by bendavid, Sat Dec 17 20:00:40 2011 UTC vs.
Revision 1.9 by mingyang, Sun May 27 19:41:21 2012 UTC

# Line 25 | Line 25
25   #include "MitAna/DataTree/interface/SuperCluster.h"
26   #include "MitAna/DataTree/interface/SuperClusterCol.h"
27   #include "MitCommon/MathTools/interface/MathUtils.h"
28 <
28 > #include "MitAna/DataTree/interface/PFCandidateCol.h"
29  
30   class TRandom3;
31   namespace TMVA {//MVA
# Line 45 | Line 45 | namespace mithep {
45      void InitializeMVA(int VariableType, TString EndcapWeights,TString BarrelWeights);
46      Bool_t PassMVASelection(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,Float_t bdtCutBarrel, Float_t bdtCutEndcap, const ElectronCol* els=0, Bool_t applyElectronVeto=kTRUE);
47      Int_t PassElectronVetoInt(const Photon* p, const ElectronCol* els);
48 <      Float_t GetMVAbdtValue(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho, const ElectronCol* els=0, Bool_t applyElectronVeto=kTRUE);
48 >    Float_t GetMVAbdtValue_2011(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,const ElectronCol* els=0, Bool_t applyElectronVeto=kTRUE);
49 >    Float_t GetMVAbdtValue_2012_globe(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho, const PFCandidateCol *fPFCands,const ElectronCol* els=0, Bool_t applyElectronVeto=kTRUE);
50        
51        TMVA::Reader *fReaderEndcap;
52        TMVA::Reader *fReaderBarrel;    
# Line 122 | Line 123 | namespace mithep {
123        
124        // check which category it is ...
125        int _tCat;
126 <      
126 >
127 >      //1201 variable
128 >      float myphoton_pfchargedisogood03;
129 >      float myphoton_pfchargedisobad03;
130 >      float myphoton_pfphotoniso03;
131 >      float myphoton_sieie;
132 >      float myphoton_sieip;
133 >      float myphoton_etawidth;
134 >      float myphoton_phiwidth;
135 >      float myphoton_r9;
136 >      float myphoton_s4ratio;
137 >      float myphoton_SCeta;
138 >      float event_rho;
139 >      float myphoton_ESEffSigmaRR;
140 >
141        //MVA  
142        Bool_t PassMVA;
143        TMVA::Reader *reader;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines