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.7 by ceballos, Tue Feb 8 17:58:17 2011 UTC vs.
Revision 1.17 by fabstoec, Wed Jun 1 18:11:52 2011 UTC

# Line 20 | Line 20
20   #include "MitAna/DataTree/interface/MuonCol.h"
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 37 | Line 39 | namespace mithep
39        static Double_t CaloTowerEmIsolation(const ThreeVector *p, Double_t extRadius,
40                                             Double_t intRadius, Double_t etLow,
41                                             const mithep::Collection<mithep::CaloTower> *caloTowers);
42 <      static Double_t PFMuonIsolation(const Muon *p, const PFCandidateCol *PFCands,
43 <                                      const VertexCol *vertices, Double_t  delta_z, double ptMin,
44 <                                      Double_t extRadius, Double_t intRadius, int isoType);
42 >      static Double_t PFMuonIsolation(const Muon *p, const PFCandidateCol *PFCands, const Vertex *vertex,
43 >                                      Double_t  delta_z = 0.1, Double_t ptMin = 1.0,
44 >                                      Double_t extRadius = 0.4, Double_t intRadius = 0.07);
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.1, Double_t ptMin = 1.0, Double_t extRadius = 0.4,
48 >                                      Double_t intRadius = 0.07, int isoType = 0, Double_t beta = 1.0);
49        static Double_t PFElectronIsolation(const Electron *p, const PFCandidateCol *PFCands,
50 <                                          const VertexCol *vertices, Double_t  delta_z, double ptMin,
51 <                                          Double_t extRadius, Double_t intRadius, int isoType);
50 >                                          const Vertex *vertex, Double_t  delta_z, Double_t ptMin,
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);
59 >      static Double_t BetaE(const TrackCol *tracks, const Electron *p, const Vertex *vertex,
60 >                            Double_t ptMin, Double_t  delta_z, Double_t extRadius,
61 >                            Double_t intRadius);
62 >
63 >      // method added by F.Stoeckli: computes the track isolation with NO constrint on the OV-track compatibility
64 >      static Double_t TrackIsolationNoPV(const mithep::Particle*, const BaseVertex*,
65 >                                         Double_t extRadius,
66 >                                         Double_t intRadius,
67 >                                         Double_t ptLow,
68 >                                         Double_t etaStrip,
69 >                                         Double_t maxD0,
70 >                                         mithep::TrackQuality::EQuality,
71 >                                         const mithep::Collection<mithep::Track> *tracks,
72 >                                         UInt_t maxNExpectedHitsInner = 999,
73 >                                         const mithep::DecayParticleCol *conversions = 0);
74 >
75 >      // methods for Hgg BaseLien Selection. These isoaltion are stupid, but what can we do.... ;(
76 >      static Double_t CiCTrackIsolation(const mithep::Particle*,
77 >                                        const BaseVertex*,
78 >                                        Double_t extRadius,
79 >                                        Double_t intRadius,
80 >                                        Double_t ptLow,
81 >                                        Double_t etaStrip,
82 >                                        Double_t maxD0,
83 >                                        Double_t maxDZ,
84 >                                        const mithep::Collection<mithep::Track> *tracks,
85 >                                        const mithep::Collection<mithep::Vertex> *vtxs = NULL);
86 >
87 >
88      ClassDef(IsolationTools, 0) // Isolation tools
89    };
90   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines