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.27 by bendavid, Fri May 25 19:41:11 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 *p,
104 +                                         const BaseVertex *theVtx,
105 +                                         Double_t extRadius,
106 +                                         Double_t intRadius,
107 +                                         const PFCandidateCol *PFCands,
108 +                                         unsigned int* worstVtxIndex = NULL,
109 +                                         const mithep::Collection<mithep::Vertex> *vtxs = NULL,
110 +                                         bool print = NULL);
111  
112 +      static Double_t PFGammaIsolation(const mithep::Photon *p,
113 +                                         Double_t extRadius,
114 +                                         Double_t intRadius,
115 +                                         const PFCandidateCol *PFCands);                                        
116  
117 <    ClassDef(IsolationTools, 0) // Isolation tools
118 <  };
117 >      static Double_t PFNeutralHadronIsolation(const mithep::Photon *p,
118 >                                         Double_t extRadius,
119 >                                         Double_t intRadius,
120 >                                         const PFCandidateCol *PFCands);                                                                                  
121 >                                        
122 >      static Float_t PFChargedCount(const mithep::Photon*,
123 >                                const BaseVertex*,
124 >                                Double_t extRadius,
125 >                                Double_t intRadius,
126 >                                Double_t ptLow,
127 >                                Double_t etaStrip,
128 >                                Double_t maxD0,
129 >                                Double_t maxDZ,
130 >                                const PFCandidateCol *PFCands,
131 >                                unsigned int* worstVtxIndex = NULL,
132 >                                const mithep::Collection<mithep::Vertex> *vtxs = NULL,
133 >                                const mithep::Collection<mithep::Electron> *eles = NULL,
134 >                                bool print = NULL,
135 >                                double* ptmax = NULL,
136 >                                double* dRmax = NULL);
137 >      
138 >      ClassDef(IsolationTools, 0) // Isolation tools
139 >        };
140   }
141   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines