CMS 3D CMS Logo

MiniIsolation.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_PatUtils_PFIsolation_h
2 #define PhysicsTools_PatUtils_PFIsolation_h
3 
4 /*
5  Defines a function to compute MiniIsolation given a 4-vector and a collection
6  of packed PF candidates.
7 
8  Mini-Isolation reference: https://hypernews.cern.ch/HyperNews/CMS/get/susy/1991.html
9 */
10 
15 
16 namespace pat{
17 
18  float miniIsoDr(const math::XYZTLorentzVector &p4, float mindr, float maxdr,
19  float kt_scale);
20 
21  // see src file for definitions of parameters
23  float mindr=0.05, float maxdr=0.2, float kt_scale=10.0,
24  float ptthresh=0.5, float deadcone_ch=0.0001,
25  float deadcone_pu=0.01, float deadcone_ph=0.01, float deadcone_nh=0.01,
26  float dZ_cut=0.0);
27 
28  float muonRelMiniIsoPUCorrected(const PFIsolation& iso,
30  float dr,
31  float rho);
32 }
33 
34 #endif
float muonRelMiniIsoPUCorrected(const PFIsolation &iso, const math::XYZTLorentzVector &p4, float dr, float rho)
std::vector< pat::PackedCandidate > PackedCandidateCollection
Definition: HeavyIon.h:7
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
double p4[4]
Definition: TauolaWrapper.h:92
PFIsolation getMiniPFIsolation(const pat::PackedCandidateCollection *pfcands, const math::XYZTLorentzVector &p4, float mindr=0.05, float maxdr=0.2, float kt_scale=10.0, float ptthresh=0.5, float deadcone_ch=0.0001, float deadcone_pu=0.01, float deadcone_ph=0.01, float deadcone_nh=0.01, float dZ_cut=0.0)
float miniIsoDr(const math::XYZTLorentzVector &p4, float mindr, float maxdr, float kt_scale)