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 reco::Candidate::PolarLorentzVector& p4, float mindr, float maxdr, float kt_scale);
19 
20  // see src file for definitions of parameters
23  float mindr = 0.05,
24  float maxdr = 0.2,
25  float kt_scale = 10.0,
26  float ptthresh = 0.5,
27  float deadcone_ch = 0.0001,
28  float deadcone_pu = 0.01,
29  float deadcone_ph = 0.01,
30  float deadcone_nh = 0.01,
31  float dZ_cut = 0.0);
32 
33  double muonRelMiniIsoPUCorrected(const PFIsolation& iso,
35  double dr,
36  double rho,
37  const std::vector<double>& area);
38 } // namespace pat
39 
40 #endif
PFIsolation.h
pat::miniIsoDr
float miniIsoDr(const reco::Candidate::PolarLorentzVector &p4, float mindr, float maxdr, float kt_scale)
Definition: MiniIsolation.cc:15
pat::muonRelMiniIsoPUCorrected
double muonRelMiniIsoPUCorrected(const PFIsolation &iso, const reco::Candidate::PolarLorentzVector &p4, double dr, double rho, const std::vector< double > &area)
Definition: MiniIsolation.cc:59
reco::Candidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:38
MTVHistoProducerAlgoForTrackerBlock_cfi.maxdr
maxdr
Definition: MTVHistoProducerAlgoForTrackerBlock_cfi.py:80
pat::getMiniPFIsolation
PFIsolation getMiniPFIsolation(const pat::PackedCandidateCollection *pfcands, const reco::Candidate::PolarLorentzVector &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)
Definition: MiniIsolation.cc:19
PackedCandidate.h
LorentzVector.h
p4
double p4[4]
Definition: TauolaWrapper.h:92
pat
Definition: HeavyIon.h:7
pat::PackedCandidateCollection
std::vector< pat::PackedCandidate > PackedCandidateCollection
Definition: PackedCandidate.h:1130
MTVHistoProducerAlgoForTrackerBlock_cfi.mindr
mindr
Definition: MTVHistoProducerAlgoForTrackerBlock_cfi.py:79
flavorHistoryFilter_cfi.dr
dr
Definition: flavorHistoryFilter_cfi.py:37
muons2muons_cfi.PFIsolation
PFIsolation
Definition: muons2muons_cfi.py:25
Candidate.h
custom_jme_cff.area
area
Definition: custom_jme_cff.py:169