#include <HiPhotonType.h>
Public Member Functions | |
double | getDeltaPhi (const reco::Candidate &track1, const reco::Candidate &track2) |
double | getDeltaR (const reco::Candidate &track1, const reco::Candidate &track2) |
HiGammaJetSignalDef () | |
HiGammaJetSignalDef (const reco::GenParticleCollection *sigPartic) | |
bool | IsIsolated (const reco::GenParticle &pp) |
bool | IsIsolatedJP (const reco::GenParticle &pp) |
bool | IsIsolatedPP (const reco::GenParticle &pp) |
Public Attributes | |
double | PI |
Private Attributes | |
const reco::GenParticleCollection * | fSigParticles |
Definition at line 23 of file HiPhotonType.h.
HiGammaJetSignalDef::HiGammaJetSignalDef | ( | ) |
Definition at line 63 of file HiPhotonType.cc.
References PI.
HiGammaJetSignalDef::HiGammaJetSignalDef | ( | const reco::GenParticleCollection * | sigPartic | ) |
Definition at line 67 of file HiPhotonType.cc.
References fSigParticles, and PI.
double HiGammaJetSignalDef::getDeltaPhi | ( | const reco::Candidate & | track1, |
const reco::Candidate & | track2 | ||
) |
double HiGammaJetSignalDef::getDeltaR | ( | const reco::Candidate & | track1, |
const reco::Candidate & | track2 | ||
) |
Definition at line 219 of file HiPhotonType.cc.
References dPhi(), reco::Candidate::eta(), reco::Candidate::phi(), PI, and mathSSE::sqrt().
Referenced by IsIsolated(), IsIsolatedJP(), and IsIsolatedPP().
bool HiGammaJetSignalDef::IsIsolated | ( | const reco::GenParticle & | pp | ) |
Definition at line 77 of file HiPhotonType.cc.
References funct::abs(), reco::GenParticle::collisionId(), stringResolutionProvider_cfi::et, reco::LeafCandidate::et(), fSigParticles, getDeltaR(), mps_fire::i, createfilelist::int, AlCaHLTBitMon_ParallelJobs::p, reco::LeafCandidate::pdgId(), EnergyCorrector::pt, reco::LeafCandidate::pt(), and reco::LeafCandidate::status().
bool HiGammaJetSignalDef::IsIsolatedJP | ( | const reco::GenParticle & | pp | ) |
Definition at line 179 of file HiPhotonType.cc.
References reco::GenParticle::collisionId(), stringResolutionProvider_cfi::et, reco::LeafCandidate::et(), fSigParticles, getDeltaR(), mps_fire::i, createfilelist::int, AlCaHLTBitMon_ParallelJobs::p, and reco::LeafCandidate::status().
bool HiGammaJetSignalDef::IsIsolatedPP | ( | const reco::GenParticle & | pp | ) |
Definition at line 133 of file HiPhotonType.cc.
References reco::GenParticle::collisionId(), stringResolutionProvider_cfi::et, reco::LeafCandidate::et(), fSigParticles, getDeltaR(), mps_fire::i, createfilelist::int, AlCaHLTBitMon_ParallelJobs::p, and reco::LeafCandidate::status().
|
private |
Definition at line 40 of file HiPhotonType.h.
Referenced by HiGammaJetSignalDef(), IsIsolated(), IsIsolatedJP(), and IsIsolatedPP().
double HiGammaJetSignalDef::PI |
Definition at line 37 of file HiPhotonType.h.
Referenced by getDeltaPhi(), getDeltaR(), and HiGammaJetSignalDef().