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.25 by ceballos, Mon May 7 18:06:07 2012 UTC vs.
Revision 1.28 by fabstoec, Thu Jul 12 17:05:50 2012 UTC

# Line 64 | Line 64 | namespace mithep
64                                                ElectronTools::EElectronEffectiveAreaTarget EffectiveAreaTarget,
65                                                const ElectronCol *goodElectrons,
66                                                const MuonCol *goodMuons, Double_t dRMax = 0.4, Bool_t isDebug = kFALSE);
67 +      static Double_t PFElectronIsolation2012LepTag(const Electron *ele, const Vertex *vertex,
68 +                                                    const PFCandidateCol *PFCands,
69 +                                                    const PileupEnergyDensityCol *PileupEnergyDensity,
70 +                                                    ElectronTools::EElectronEffectiveAreaTarget EffectiveAreaTarget,
71 +                                                    const ElectronCol *goodElectrons,
72 +                                                    const MuonCol *goodMuons, Double_t dRMax = 0.3, Bool_t isDebug=kFALSE);
73         static Double_t BetaM(const TrackCol *tracks, const Muon *p, const Vertex *vertex,
74 <                            Double_t ptMin, Double_t  delta_z, Double_t extRadius,
75 <                            Double_t intRadius);
76 <      static Double_t BetaE(const TrackCol *tracks, const Electron *p, const Vertex *vertex,
77 <                            Double_t ptMin, Double_t  delta_z, Double_t extRadius,
78 <                            Double_t intRadius);
74 >                             Double_t ptMin, Double_t  delta_z, Double_t extRadius,
75 >                             Double_t intRadius);
76 >       static Double_t BetaMwithPUCorrection(const PFCandidateCol *PFNoPileUP, const PFCandidateCol *PFPileUP, const Muon *p, Double_t extRadius);
77 >       static Double_t BetaE(const TrackCol *tracks, const Electron *p, const Vertex *vertex,
78 >                             Double_t ptMin, Double_t  delta_z, Double_t extRadius,
79 >                             Double_t intRadius);
80  
81        // method added by F.Stoeckli: computes the track isolation with NO constrint on the OV-track compatibility
82        static Double_t TrackIsolationNoPV(const mithep::Particle*, const BaseVertex*,
# Line 99 | Line 106 | namespace mithep
106                                          bool print=false,
107                                          double* ptmax=NULL,
108                                          double* dRmax=NULL);
109 +      
110 +      static Double_t PFChargedIsolation(const mithep::Photon *p,
111 +                                         const BaseVertex *theVtx,
112 +                                         Double_t extRadius,
113 +                                         Double_t intRadius,
114 +                                         const PFCandidateCol *PFCands,
115 +                                         unsigned int* worstVtxIndex = NULL,
116 +                                         const mithep::Collection<mithep::Vertex> *vtxs = NULL,
117 +                                         bool print = NULL);
118  
119 +      static Double_t PFGammaIsolation(const mithep::Photon *p,
120 +                                         Double_t extRadius,
121 +                                         Double_t intRadius,
122 +                                         const PFCandidateCol *PFCands);                                        
123  
124 <    ClassDef(IsolationTools, 0) // Isolation tools
125 <  };
124 >      static Double_t PFNeutralHadronIsolation(const mithep::Photon *p,
125 >                                         Double_t extRadius,
126 >                                         Double_t intRadius,
127 >                                         const PFCandidateCol *PFCands);                                                                                  
128 >                                        
129 >      static Float_t PFChargedCount(const mithep::Photon*,
130 >                                const BaseVertex*,
131 >                                Double_t extRadius,
132 >                                Double_t intRadius,
133 >                                Double_t ptLow,
134 >                                Double_t etaStrip,
135 >                                Double_t maxD0,
136 >                                Double_t maxDZ,
137 >                                const PFCandidateCol *PFCands,
138 >                                unsigned int* worstVtxIndex = NULL,
139 >                                const mithep::Collection<mithep::Vertex> *vtxs = NULL,
140 >                                const mithep::Collection<mithep::Electron> *eles = NULL,
141 >                                bool print = NULL,
142 >                                double* ptmax = NULL,
143 >                                double* dRmax = NULL);
144 >      
145 >      ClassDef(IsolationTools, 0) // Isolation tools
146 >        };
147   }
148   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines