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.24 by ceballos, Sat Apr 28 19:10:01 2012 UTC vs.
Revision 1.26 by mingyang, Tue May 22 23:47:02 2012 UTC

# Line 63 | Line 63 | namespace mithep
63                                                const PileupEnergyDensityCol *PileupEnergyDensity,
64                                                ElectronTools::EElectronEffectiveAreaTarget EffectiveAreaTarget,
65                                                const ElectronCol *goodElectrons,
66 <                                              const MuonCol *goodMuons, Double_t dRMax = 0.4);
66 >                                              const MuonCol *goodMuons, Double_t dRMax = 0.4, Bool_t isDebug = kFALSE);
67         static Double_t BetaM(const TrackCol *tracks, const Muon *p, const Vertex *vertex,
68                              Double_t ptMin, Double_t  delta_z, Double_t extRadius,
69                              Double_t intRadius);
# Line 99 | Line 99 | namespace mithep
99                                          bool print=false,
100                                          double* ptmax=NULL,
101                                          double* dRmax=NULL);
102 +      
103 +      static Double_t PFChargedIsolation(const mithep::Photon*,
104 +                                         const BaseVertex*,
105 +                                         Double_t extRadius,
106 +                                         Double_t intRadius,
107 +                                         Double_t ptLow,
108 +                                         Double_t etaStrip,
109 +                                         Double_t maxD0,
110 +                                         Double_t maxDZ,
111 +                                         const PFCandidateCol *PFCands,
112 +                                         unsigned int* worstVtxIndex = NULL,
113 +                                         const mithep::Collection<mithep::Vertex> *vtxs = NULL,
114 +                                         const mithep::Collection<mithep::Electron> *eles = NULL,
115 +                                         bool print = NULL,
116 +                                         double* ptmax = NULL,
117 +                                         double* dRmax = NULL);
118  
119 <
120 <    ClassDef(IsolationTools, 0) // Isolation tools
121 <  };
119 >      static Float_t PFChargedCount(const mithep::Photon*,
120 >                                const BaseVertex*,
121 >                                Double_t extRadius,
122 >                                Double_t intRadius,
123 >                                Double_t ptLow,
124 >                                Double_t etaStrip,
125 >                                Double_t maxD0,
126 >                                Double_t maxDZ,
127 >                                const PFCandidateCol *PFCands,
128 >                                unsigned int* worstVtxIndex = NULL,
129 >                                const mithep::Collection<mithep::Vertex> *vtxs = NULL,
130 >                                const mithep::Collection<mithep::Electron> *eles = NULL,
131 >                                bool print = NULL,
132 >                                double* ptmax = NULL,
133 >                                double* dRmax = NULL);
134 >      
135 >      ClassDef(IsolationTools, 0) // Isolation tools
136 >        };
137   }
138   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines