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  // see src file for definitions of parameters
20  float mindr=0.05, float maxdr=0.2, float kt_scale=10.0,
21  float ptthresh=0.5, float deadcone_ch=0.0001,
22  float deadcone_pu=0.01, float deadcone_ph=0.01, float deadcone_nh=0.01,
23  float dZ_cut=0.0);
24 
25 }
26 
27 #endif
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)