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

Comparing UserCode/MitPhysics/Utils/interface/IsolationTools.h (file contents):
Revision 1.10 by fabstoec, Wed Apr 6 18:03:48 2011 UTC vs.
Revision 1.13 by sixie, Thu May 12 16:08:36 2011 UTC

# Line 21 | Line 21
21   #include "MitAna/DataTree/interface/ElectronCol.h"
22   #include "MitAna/DataTree/interface/PFCandidateCol.h"
23   #include "MitAna/DataTree/interface/TrackCol.h"
24 + #include "MitAna/DataTree/interface/DecayParticleCol.h"
25  
26   namespace mithep
27   {
# Line 40 | Line 41 | namespace mithep
41                                             const mithep::Collection<mithep::CaloTower> *caloTowers);
42        static Double_t PFMuonIsolation(const Muon *p, const PFCandidateCol *PFCands,
43                                        const Vertex *vertex, Double_t  delta_z, Double_t ptMin,
44 <                                      Double_t extRadius, Double_t intRadius, int isoType,
45 <                                      Double_t beta, const MuonCol *goodMuons,
46 <                                      const ElectronCol *goodElectrons);
44 >                                      Double_t extRadius, Double_t intRadius);
45 >      static Double_t PFMuonIsolation(const Muon *p, const PFCandidateCol *PFCands, const Vertex *vertex,
46 >                                      const MuonCol *goodMuons, const ElectronCol *goodElectrons,
47 >                                      Double_t  delta_z = 0.2, Double_t ptMin = 1.0, Double_t extRadius = 0.4,
48 >                                      Double_t intRadius = 0.0, int isoType = 0, Double_t beta = 1.0);
49        static Double_t PFElectronIsolation(const Electron *p, const PFCandidateCol *PFCands,
50                                            const Vertex *vertex, Double_t  delta_z, Double_t ptMin,
51 <                                          Double_t extRadius, Double_t intRadius, int isoType,
52 <                                          Double_t beta, const MuonCol *goodMuons,
53 <                                          const ElectronCol *goodElectrons);
51 >                                          Double_t extRadius, Double_t intRadius);
52 >      static Double_t PFElectronIsolation(const Electron *p, const PFCandidateCol *PFCands, const Vertex *vertex,
53 >                                          const MuonCol *goodMuons, const ElectronCol *goodElectrons,
54 >                                          Double_t  delta_z = 0.1 , Double_t ptMin = 1.0,Double_t extRadius = 0.4,                                        
55 >                                          Double_t intRadius = 0.0, int isoType = 0, Double_t beta = 1.0);
56        static Double_t BetaM(const TrackCol *tracks, const Muon *p, const Vertex *vertex,
57                              Double_t ptMin, Double_t  delta_z, Double_t extRadius,
58                              Double_t intRadius);
# Line 63 | Line 68 | namespace mithep
68                                           Double_t etaStrip,
69                                           Double_t maxD0,
70                                           mithep::TrackQuality::EQuality,
71 <                                         const mithep::Collection<mithep::Track> *tracks);
71 >                                         const mithep::Collection<mithep::Track> *tracks,
72 >                                         UInt_t maxNExpectedHitsInner = 999,
73 >                                         const mithep::DecayParticleCol *conversions = 0);
74  
75      ClassDef(IsolationTools, 0) // Isolation tools
76    };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines