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

Comparing UserCode/MitPhysics/Utils/interface/MuonTools.h (file contents):
Revision 1.19 by ceballos, Wed Oct 5 16:11:18 2011 UTC vs.
Revision 1.20 by sixie, Sat Dec 31 23:18:39 2011 UTC

# Line 45 | Line 45 | namespace mithep {
45                                   //  ===> 1.2 Segment compatability + 0.8 calo compatability > 1.2
46        };
47  
48 <      Bool_t        Init(const char *mutemp, const char *pitemp);
49 <      Bool_t        IsGood(const mithep::Muon *iMuon, ESelType iSel) const;
50 <      Double_t      GetCaloCompatability(const mithep::Muon *iMuon,
48 >      enum EMuonEffectiveAreaType {
49 >        kMuChargedIso03,
50 >        kMuNeutralIso03,
51 >        kMuChargedIso04,
52 >        kMuNeutralIso04,
53 >        kMuHadEnergy,
54 >        kMuHoEnergy,
55 >        kMuEmEnergy,
56 >        kMuHadS9Energy,
57 >        kMuHoS9Energy,
58 >        kMuEmS9Energy
59 >      };
60 >
61 >      Bool_t          Init(const char *mutemp, const char *pitemp);
62 >      Bool_t          IsGood(const mithep::Muon *iMuon, ESelType iSel) const;
63 >      Double_t        GetCaloCompatability(const mithep::Muon *iMuon,
64                                           Bool_t iEMSpecial, Bool_t iCorrectedHCAL) const;
65 <      Double_t      GetSegmentCompatability(const mithep::Muon *iMuon)             const;
66 <      static Bool_t PassD0Cut(const Muon *mu, const VertexCol *vertices, Double_t fD0Cut, Int_t nVertex = 0);
67 <      static Bool_t PassD0Cut(const Muon *mu, const BeamSpotCol *beamspots, Double_t fD0Cut);
68 <      static Bool_t PassDZCut(const Muon *mu, const VertexCol *vertices, Double_t fDZCut, Int_t nVertex = 0);
69 <      static Bool_t PassSoftMuonCut(const Muon *mu, const VertexCol *vertices, const Double_t fDZCut = 0.2,
65 >      Double_t        GetSegmentCompatability(const mithep::Muon *iMuon)             const;
66 >      static Bool_t   PassD0Cut(const Muon *mu, const VertexCol *vertices, Double_t fD0Cut, Int_t nVertex = 0);
67 >      static Bool_t   PassD0Cut(const Muon *mu, const BeamSpotCol *beamspots, Double_t fD0Cut);
68 >      static Bool_t   PassDZCut(const Muon *mu, const VertexCol *vertices, Double_t fDZCut, Int_t nVertex = 0);
69 >      static Bool_t   PassSoftMuonCut(const Muon *mu, const VertexCol *vertices, const Double_t fDZCut = 0.2,
70                                      const Bool_t applyIso = kTRUE);
71 +      static Double_t MuonEffectiveArea(EMuonEffectiveAreaType type, Double_t Eta);
72  
73      protected:
74        void        DeleteHistos();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines