Go to the source code of this file.
|
double | candIsolation (const reco::Candidate *c, double ptThreshold, double etEcalThreshold, double etHcalThreshold, double dRVetoTrk, double dRTrk, double dREcal, double dRHcal, double alpha, double beta, bool relativeIsolation) |
|
template<typename T > |
double | isolation (const T *t, double ptThreshold, double etEcalThreshold, double etHcalThreshold, double dRVetoTrk, double dRTrk, double dREcal, double dRHcal, double alpha, double beta, bool relativeIsolation) |
|
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< ZToLLEdmNtupleDumper > > | s_filler__LINE__ ("ZToLLEdmNtupleDumper") |
|
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< ZToLLEdmNtupleDumper > > | s_maker__LINE__ ("ZToLLEdmNtupleDumper") |
|
◆ candIsolation()
double candIsolation |
( |
const reco::Candidate * |
c, |
|
|
double |
ptThreshold, |
|
|
double |
etEcalThreshold, |
|
|
double |
etHcalThreshold, |
|
|
double |
dRVetoTrk, |
|
|
double |
dRTrk, |
|
|
double |
dREcal, |
|
|
double |
dRHcal, |
|
|
double |
alpha, |
|
|
double |
beta, |
|
|
bool |
relativeIsolation |
|
) |
| |
Definition at line 105 of file ZToLLEdmNtupleDumper.cc.
116 const pat::Muon *
mu = dynamic_cast<const pat::Muon *>(
c);
143 <<
"Candidate daughter #0 is neither pat::Muons nor pat::GenericParticle\n";
References zMuMuMuonUserData::alpha, zMuMuMuonUserData::beta, HltBtagPostValidation_cff::c, zMuMuMuonUserData::dREcal, zMuMuMuonUserData::dRHcal, zMuMuMuonUserData::dRTrk, zMuMuMuonUserData::dRVetoTrk, zMuMuMuonUserData::etEcalThreshold, zMuMuMuonUserData::etHcalThreshold, Exception, edm::errors::InvalidReference, isolation(), amptDefaultParameters_cff::mu, ewkMuLumiMonitorDQM_cfi::ptThreshold, and ZMuMuCategoriesNtuples_cff::relativeIsolation.
Referenced by ZToMuMuIsoDepositSelector< Isolator >::operator()(), and ZToLLEdmNtupleDumper::produce().
◆ isolation()
template<typename T >
double isolation |
( |
const T * |
t, |
|
|
double |
ptThreshold, |
|
|
double |
etEcalThreshold, |
|
|
double |
etHcalThreshold, |
|
|
double |
dRVetoTrk, |
|
|
double |
dRTrk, |
|
|
double |
dREcal, |
|
|
double |
dRHcal, |
|
|
double |
alpha, |
|
|
double |
beta, |
|
|
bool |
relativeIsolation |
|
) |
| |
Definition at line 59 of file ZToLLEdmNtupleDumper.cc.
94 double isovalueTrk = (
trkIso->sumWithin(
dRTrk, vetosTrk));
99 alpha * (((1 +
beta) / 2 * isovalueEcal) + ((1 -
beta) / 2 * isovalueHcal)) + ((1 -
alpha) * isovalueTrk);
References zMuMuMuonUserData::alpha, zMuMuMuonUserData::beta, DeadROC_duringRun::dir, zMuMuMuonUserData::dREcal, zMuMuMuonUserData::dRHcal, zMuMuMuonUserData::dRTrk, zMuMuMuonUserData::dRVetoTrk, pat::EcalIso, zMuMuMuonUserData::etEcalThreshold, zMuMuMuonUserData::etHcalThreshold, pat::HcalIso, ewkMuLumiMonitorDQM_cfi::ptThreshold, ZMuMuCategoriesNtuples_cff::relativeIsolation, reco::IsoDeposit::sumWithin(), submitPVValidationJobs::t, pat::TrackIso, and ZMuMuCategoriesSequences_cff::trkIso.
Referenced by candIsolation().
◆ s_filler__LINE__()
◆ s_maker__LINE__()
Analysis-level Generic Particle class (e.g. for hadron or muon not fully reconstructed)
double isolation(const T *t, double ptThreshold, double etEcalThreshold, double etHcalThreshold, double dRVetoTrk, double dRTrk, double dREcal, double dRHcal, double alpha, double beta, bool relativeIsolation)