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.45 by ceballos, Fri May 4 16:36:39 2012 UTC vs.
Revision 1.52 by ceballos, Fri Jun 15 11:59:00 2012 UTC

# Line 50 | Line 50 | namespace mithep
50                                                  const PileupEnergyDensityCol *PileupEnergyDensity) const;
51        Bool_t             PassMuonIsoRingsV0_BDTG_Iso(const Muon *mu, const Vertex *vertex,
52                                                       const PileupEnergyDensityCol *PileupEnergyDensity) const;
53 +      Bool_t             PassMuonIsoDeltaR(const Muon *mu, const Vertex *vertex,
54 +                                           const PileupEnergyDensityCol *PileupEnergyDensity) const;
55        void               SetPrintMVADebugInfo(Bool_t b)       { fPrintMVADebugInfo = b;     }
56        void               SetApplyD0Cut(Bool_t b)              { fApplyD0Cut        = b;     }
57        void               SetApplyDZCut(Bool_t b)              { fApplyDZCut        = b;     }
# Line 73 | Line 75 | namespace mithep
75        void               SetPtMin(Double_t pt)                { fMuonPtMin         = pt;    }
76        void               SetTrackIsoCut(Double_t cut)         { fTrackIsolationCut = cut;   }
77        void               SetIntRadius(Double_t dr)            { fIntRadius = dr;            }
76      void               SetMuonMVAWeightsSubdet0Pt10To14p5(TString s)  
77                         { fMuonMVAWeights_Subdet0Pt10To14p5  = s; }
78      void               SetMuonMVAWeightsSubdet1Pt10To14p5(TString s)  
79                         { fMuonMVAWeights_Subdet1Pt10To14p5  = s; }
80      void               SetMuonMVAWeightsSubdet0Pt14p5To20(TString s)  
81                         { fMuonMVAWeights_Subdet0Pt14p5To20  = s; }
82      void               SetMuonMVAWeightsSubdet1Pt14p5To20(TString s)
83                         { fMuonMVAWeights_Subdet1Pt14p5To20 = s; }
84      void               SetMuonMVAWeightsSubdet0Pt20ToInf(TString s)
85                         { fMuonMVAWeights_Subdet0Pt20ToInf = s; }
86      void               SetMuonMVAWeightsSubdet1Pt20ToInf(TString s)
87                         { fMuonMVAWeights_Subdet1Pt20ToInf = s; }
78  
79        void               SetRhoType(RhoUtilities::RhoType type)
80          { fTheRhoType = type; };
81  
82        void               SetVertexName(const char* name) { fVertexName = name; }
83 <      
83 >
84        enum EMuIdType {
85          kIdUndef = 0,       //not defined
86          kWMuId,             //"WMuId"
# Line 100 | Line 90 | namespace mithep
90          kWWMuIdV1,          //"WWMuIdV1"
91          kWWMuIdV2,          //"WWMuIdV2"
92          kWWMuIdV3,          //"WWMuIdV3"
93 +        kWWMuIdV4,          //"WWMuIdV4"
94          kNoId,              //"NoId"        
95          kCustomId,          //"Custom"
96          kMVAID_BDTG_IDIso   //"BDTG ID + Iso03, Iso04 Combined"
# Line 110 | Line 101 | namespace mithep
101          kTrackCaloCombined,                 //"TrackCaloCombined"
102          kTrackCaloSliding,                  //"TrackCaloSliding"
103          kTrackCaloSlidingNoCorrection,      //"TrackCaloSlidingNoCorrection"
104 <        kCombinedRelativeConeAreaCorrected, //"CombinedRelativeConeAreaCorrected"
105 <        kCombinedRelativeEffectiveAreaCorrected,
104 >        kCombinedRelativeConeAreaCorrected, //"CombinedRelativeConeAreaCorrected"        
105 >        kCombinedRelativeEffectiveAreaCorrected,
106          kCustomIso,                         //"Custom"
107          kPFIso,                             //"PFIso"
108          kPFRadialIso,                       //"PFRadialIso"
109 <        kPFIsoEffectiveAreaCorrected,       //"PFIso with EffectiveArea Pileup Correction"
109 >        kPFIsoEffectiveAreaCorrected,       //"PFIso with EffectiveArea Pileup Correction"
110          kPFIsoNoL,                          //"PFIsoNoL"
111          kNoIso,                             //"NoIso"
112          kMVAIso_BDTG_IDIso,                 //"BDTG ID + Iso03, Iso04 Combined"
113 <        kIsoRingsV0_BDTG_Iso                //"BDTG Iso Rings"
113 >        kIsoRingsV0_BDTG_Iso,               //"BDTG Iso Rings"
114 >        kIsoDeltaR                          //"BGDT Iso dR"              
115        };
116        enum EMuClassType {
117          kClassUndef = 0,    //not defined
# Line 129 | Line 121 | namespace mithep
121          kSta,               //"Standalone"
122          kTrackerMuon,       //"TrackerMuon"
123          kCaloMuon,          //"CaloMuon"
124 <        kTrackerBased       //"TrackerMuon or CaloMuon"
125 <
124 >        kTrackerBased,      //"TrackerMuon or CaloMuon"
125 >        kGlobalOnly         //"GlobalOnly"
126        };
127  
128      protected:
129        void               Process();
130        void               SlaveBegin();
131 +      void               Terminate();
132  
133        Bool_t             fPrintMVADebugInfo;   //print MVA debug information
134        TString            fMuonBranchName;      //name of muon collection (input)
# Line 177 | Line 170 | namespace mithep
170        const PileupEnergyDensityCol *fPileupEnergyDensity;
171        MuonTools          *fMuonTools;           // interface to tools for muon ID
172        MuonIDMVA          *fMuonIDMVA;           // helper class for MuonMVA
180      TString             fMuonMVAWeights_Subdet0Pt10To14p5;
181      TString             fMuonMVAWeights_Subdet1Pt10To14p5;
182      TString             fMuonMVAWeights_Subdet0Pt14p5To20;
183      TString             fMuonMVAWeights_Subdet1Pt14p5To20;
184      TString             fMuonMVAWeights_Subdet0Pt20ToInf;
185      TString             fMuonMVAWeights_Subdet1Pt20ToInf;
173  
174        RhoUtilities::RhoType fTheRhoType;
175        

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines