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

Comparing UserCode/MitPhysics/Utils/interface/MuonIDMVA.h (file contents):
Revision 1.1 by sixie, Fri Dec 16 12:58:02 2011 UTC vs.
Revision 1.4 by sixie, Wed Jan 4 16:28:17 2012 UTC

# Line 16 | Line 16
16   #include "MitAna/DataTree/interface/TrackFwd.h"
17   #include "MitAna/DataTree/interface/Muon.h"
18   #include "MitAna/DataTree/interface/MuonCol.h"
19 + #include "MitAna/DataTree/interface/PFCandidateCol.h"
20 + #include "MitAna/DataTree/interface/PileupEnergyDensityCol.h"
21   #include "MitCommon/MathTools/interface/MathUtils.h"
22 + #include "MitPhysics/Utils/interface/MuonTools.h"
23  
24   class TRandom3;
25   namespace TMVA {
# Line 30 | Line 33 | namespace mithep {
33        ~MuonIDMVA();
34  
35        enum MVAType {
36 <        kV3                //
36 >        kV2,
37 >        kV3,
38 >        kV8
39        };
40  
41  
# Line 44 | Line 49 | namespace mithep {
49                            MuonIDMVA::MVAType type);
50        
51        Bool_t   IsInitialized() const { return fIsInitialized; }
52 < //       Double_t MVAValue(const Muon *mu, const Vertex *vertex);
52 >      Double_t MVAValue(const Muon *mu, const Vertex *vertex, MuonTools *fMuonTools,
53 >                        const PFCandidateCol *PFCands,
54 >                        const PileupEnergyDensityCol *PileupEnergyDensity,
55 >                        Bool_t printDebug = kFALSE);
56        Double_t MVAValue( Double_t MuPt , Double_t MuEta,
57                           Double_t                   MuTkNchi2,
58                           Double_t                   MuGlobalNchi2,
# Line 63 | Line 71 | namespace mithep {
71                           Double_t                   MuEmEnergyOverPt,
72                           Double_t                   MuHadS9EnergyOverPt,
73                           Double_t                   MuHoS9EnergyOverPt,
74 <                         Double_t                   MuEmS9EnergyOverPt
74 >                         Double_t                   MuEmS9EnergyOverPt,
75 >                         Double_t                   MuChargedIso03OverPt,
76 >                         Double_t                   MuNeutralIso03OverPt,
77 >                         Double_t                   MuChargedIso04OverPt,
78 >                         Double_t                   MuNeutralIso04OverPt,
79 >                         Bool_t                     printDebug = kFALSE
80          );
81  
82  
# Line 91 | Line 104 | namespace mithep {
104        Float_t                   fMVAVar_MuHadS9EnergyOverPt;
105        Float_t                   fMVAVar_MuHoS9EnergyOverPt;
106        Float_t                   fMVAVar_MuEmS9EnergyOverPt;
107 +      Float_t                   fMVAVar_MuChargedIso03OverPt;
108 +      Float_t                   fMVAVar_MuNeutralIso03OverPt;
109 +      Float_t                   fMVAVar_MuChargedIso04OverPt;
110 +      Float_t                   fMVAVar_MuNeutralIso04OverPt;
111  
112        
113      ClassDef(MuonIDMVA, 0) // Muon MVA

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines