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

Comparing UserCode/MitPhysics/Mods/interface/MuonIDMod.h (file contents):
Revision 1.41 by sixie, Fri Jan 27 11:48:23 2012 UTC vs.
Revision 1.45 by ceballos, Fri May 4 16:36:39 2012 UTC

# Line 25 | Line 25
25   #include "MitPhysics/Utils/interface/IsolationTools.h"
26   #include "MitAna/DataTree/interface/PileupEnergyDensityCol.h"
27  
28 + #include "MitPhysics/Utils/interface/RhoUtilities.h"
29 +
30   namespace mithep
31   {
32    class MuonIDMod : public BaseMod
# Line 46 | Line 48 | namespace mithep
48        Double_t           GetTrackIsoCut()               const { return fTrackIsolationCut;  }
49        Bool_t             PassMuonMVA_BDTG_IdIso(const Muon *mu, const Vertex *vertex,
50                                                  const PileupEnergyDensityCol *PileupEnergyDensity) const;
51 +      Bool_t             PassMuonIsoRingsV0_BDTG_Iso(const Muon *mu, const Vertex *vertex,
52 +                                                     const PileupEnergyDensityCol *PileupEnergyDensity) const;
53        void               SetPrintMVADebugInfo(Bool_t b)       { fPrintMVADebugInfo = b;     }
54        void               SetApplyD0Cut(Bool_t b)              { fApplyD0Cut        = b;     }
55        void               SetApplyDZCut(Bool_t b)              { fApplyDZCut        = b;     }
# Line 82 | Line 86 | namespace mithep
86        void               SetMuonMVAWeightsSubdet1Pt20ToInf(TString s)
87                           { fMuonMVAWeights_Subdet1Pt20ToInf = s; }
88  
89 +      void               SetRhoType(RhoUtilities::RhoType type)
90 +        { fTheRhoType = type; };
91 +
92 +      void               SetVertexName(const char* name) { fVertexName = name; }
93 +      
94        enum EMuIdType {
95          kIdUndef = 0,       //not defined
96          kWMuId,             //"WMuId"
# Line 105 | Line 114 | namespace mithep
114          kCombinedRelativeEffectiveAreaCorrected,
115          kCustomIso,                         //"Custom"
116          kPFIso,                             //"PFIso"
117 +        kPFRadialIso,                       //"PFRadialIso"
118          kPFIsoEffectiveAreaCorrected,       //"PFIso with EffectiveArea Pileup Correction"
119          kPFIsoNoL,                          //"PFIsoNoL"
120          kNoIso,                             //"NoIso"
121 <        kMVAIso_BDTG_IDIso                  //"BDTG ID + Iso03, Iso04 Combined"
121 >        kMVAIso_BDTG_IDIso,                 //"BDTG ID + Iso03, Iso04 Combined"
122 >        kIsoRingsV0_BDTG_Iso                //"BDTG Iso Rings"
123        };
124        enum EMuClassType {
125          kClassUndef = 0,    //not defined
# Line 158 | Line 169 | namespace mithep
169        const BeamSpotCol *fBeamSpot;            //!beamspot branch
170        const TrackCol    *fTracks;              //!track branch    
171        const PFCandidateCol *fPFCandidates;     //!pfcandidate branch
172 +      const PFCandidateCol *fPFNoPileUpCands;  //!pfnpu collection
173        Double_t           fIntRadius;           //!min IntRadius cut in pf isolation
174        MuonCol            *fNonIsolatedMuons;    //!pointer to old muon collection
175        ElectronCol        *fNonIsolatedElectrons;//!pointer to old electron collection
# Line 172 | Line 184 | namespace mithep
184        TString             fMuonMVAWeights_Subdet0Pt20ToInf;
185        TString             fMuonMVAWeights_Subdet1Pt20ToInf;
186  
187 +      RhoUtilities::RhoType fTheRhoType;
188 +      
189      ClassDef(MuonIDMod, 1) // Muon identification module
190    };
191   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines