Go to the source code of this file.
|
double | candidateIsolation (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< ZMuMu_MCanalyzer > > | s_filler__LINE__ ("ZMuMu_MCanalyzer") |
|
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< ZMuMu_MCanalyzer > > | s_maker__LINE__ ("ZMuMu_MCanalyzer") |
|
◆ IsolationCollection
◆ candidateIsolation()
double candidateIsolation |
( |
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 151 of file ZMuMu_MCanalyzer.cc.
162 const pat::Muon*
mu = dynamic_cast<const pat::Muon*>(&*
c->masterClone());
189 <<
"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 ZMuMu_MCanalyzer::analyze().
◆ 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 105 of file ZMuMu_MCanalyzer.cc.
140 double isovalueTrk = (
trkIso->sumWithin(
dRTrk, vetosTrk));
145 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(), OrderedSet::t, pat::TrackIso, and ZMuMuCategoriesSequences_cff::trkIso.
Referenced by candidateIsolation().
◆ s_filler__LINE__()
◆ s_maker__LINE__()
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)
Analysis-level Generic Particle class (e.g. for hadron or muon not fully reconstructed)