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.11 by ceballos, Wed May 12 19:07:32 2010 UTC vs.
Revision 1.18 by ceballos, Sun Oct 2 10:03:21 2011 UTC

# Line 19 | Line 19
19   #define MITPHYSICS_UTILS_MUONTOOLS_H
20  
21   #include "MitAna/DataTree/interface/Muon.h"
22 + #include "MitAna/DataTree/interface/VertexCol.h"
23 + #include "MitAna/DataTree/interface/BeamSpotCol.h"
24   #include "MitCommon/MathTools/interface/MathUtils.h"
25   #include "TH2D.h"
26  
# Line 43 | 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,
51 <                                       Bool_t iEMSpecial, Bool_t iCorrectedHCAL) const;
52 <      Double_t    GetSegmentCompatability(const mithep::Muon *iMuon)             const;
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,
51 >                                         Bool_t iEMSpecial, Bool_t iCorrectedHCAL) const;
52 >      Double_t      GetSegmentCompatability(const mithep::Muon *iMuon)             const;
53 >      static Bool_t PassD0Cut(const Muon *mu, const VertexCol *vertices, Double_t fD0Cut, Int_t nVertex = 0);
54 >      static Bool_t PassD0Cut(const Muon *mu, const BeamSpotCol *beamspots, Double_t fD0Cut);
55 >      static Bool_t PassDZCut(const Muon *mu, const VertexCol *vertices, Double_t fDZCut, Int_t nVertex = 0);
56 >      static Bool_t PassSoftMuonCut(const Muon *mu, const VertexCol *vertices, const Double_t fDZCut = 0.2);
57  
58      protected:
59        void        DeleteHistos();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines