#include <RecoBTag/SoftLepton/plugin/SoftLepton.h>
Classes | |
struct | TrackCompare |
Public Types | |
typedef std::map< unsigned int, float > | LeptonIds |
typedef std::map< edm::RefToBase< reco::Track >, LeptonIds, TrackCompare > | Leptons |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Member Functions | |
SoftLepton (const edm::ParameterSet &iConfig) | |
reco::SoftLeptonTagInfo | tag (const edm::RefToBase< reco::Jet > &jet, const reco::TrackRefVector &tracks, const Leptons &leptons, const reco::Vertex &primaryVertex) const |
~SoftLepton () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Protected Member Functions | |
GlobalVector | refineJetAxis (const edm::RefToBase< reco::Jet > &jet, const reco::TrackRefVector &tracks, const edm::RefToBase< reco::Track > &exclude=edm::RefToBase< reco::Track >()) const |
Static Protected Member Functions | |
static double | boostedPPar (const math::XYZVector &vector, const math::XYZVector &axis) |
static double | relativeEta (const math::XYZVector &vector, const math::XYZVector &axis) |
Private Member Functions | |
void | produce (edm::Event &event, const edm::EventSetup &setup) override |
Private Attributes | |
double | m_chi2Cut |
double | m_deltaRCut |
const edm::InputTag | m_jets |
const edm::InputTag | m_leptonCands |
const edm::InputTag | m_leptonId |
const edm::InputTag | m_leptons |
muon::SelectionType | m_muonSelection |
unsigned int | m_refineJetAxis |
const TransientTrackBuilder * | m_transientTrackBuilder |
const edm::EDGetTokenT< edm::View< reco::Electron > > | token_electrons |
const edm::EDGetTokenT< edm::View< reco::GsfElectron > > | token_gsfElectrons |
const edm::EDGetTokenT< edm::View< reco::Jet > > | token_jets |
const edm::EDGetTokenT< reco::JetTracksAssociationCollection > | token_jtas |
const edm::EDGetTokenT< edm::ValueMap< float > > | token_leptonCands |
const edm::EDGetTokenT< edm::ValueMap< float > > | token_leptonId |
const edm::EDGetTokenT< edm::View< reco::Muon > > | token_muons |
const edm::EDGetTokenT< reco::PFCandidateCollection > | token_pfElectrons |
const edm::EDGetTokenT< reco::VertexCollection > | token_primaryVertex |
const edm::EDGetTokenT< edm::View< reco::Track > > | token_tracks |
Static Private Attributes | |
static const reco::Vertex | s_nominalBeamSpot |
Description: CMSSW EDProducer for soft lepton b tagging.
Implementation:
Description: CMSSW EDProducer wrapper for sot lepton b tagging.
Implementation: The actual tagging is performed by SoftLeptonAlgorithm.
Definition at line 50 of file SoftLepton.h.
typedef std::map<unsigned int, float> SoftLepton::LeptonIds |
Definition at line 62 of file SoftLepton.h.
typedef std::map<edm::RefToBase<reco::Track>, LeptonIds, TrackCompare> SoftLepton::Leptons |
Definition at line 63 of file SoftLepton.h.
|
explicit |
Definition at line 70 of file SoftLepton.cc.
|
override |
Definition at line 97 of file SoftLepton.cc.
|
staticprotected |
Definition at line 421 of file SoftLepton.cc.
References metsig::jet.
Referenced by tag().
|
static |
Definition at line 432 of file SoftLepton.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), and HLT_2018_cff::InputTag.
|
overrideprivate |
Definition at line 100 of file SoftLepton.cc.
References edm::View< T >::begin(), metsig::electron, edm::View< T >::end(), Exception, edm::EventSetup::get(), mps_fire::i, triggerObjects_cff::id, HLT_2018_cff::InputTag, muon::isGoodMuon(), edm::HandleBase::isValid(), singleTopDQM_cfi::jets, HLT_2018_cff::leptonId, HLT_2018_cff::leptons, m_jets, m_leptonCands, m_leptonId, m_leptons, m_muonSelection, m_transientTrackBuilder, eostools::move(), HLT_2018_cff::muon, edm::errors::NotFound, edm::ESHandle< T >::product(), edm::View< T >::refAt(), mps_fire::result, s_nominalBeamSpot, edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::size(), findQualityFiles::size, tag(), token_electrons, token_gsfElectrons, token_jets, token_jtas, token_leptonCands, token_leptonId, token_muons, token_pfElectrons, token_primaryVertex, token_tracks, PDWG_EXOHSCP_cff::tracks, and bphysicsOniaDQM_cfi::vertex.
|
protected |
Definition at line 337 of file SoftLepton.cc.
References AXIS_CALORIMETRIC_NOLEPTON, AXIS_CHARGED_AVERAGE, AXIS_CHARGED_AVERAGE_NOLEPTON, AXIS_CHARGED_SUM, AXIS_CHARGED_SUM_NOLEPTON, edm::RefVector< C, T, F >::begin(), edm::RefVector< C, T, F >::end(), reco::TrackBase::eta(), edm::RefToBase< T >::isNonnull(), M_PI, m_refineJetAxis, reco::LeafCandidate::momentum(), reco::TrackBase::momentum(), or, perp(), reco::TrackBase::phi(), reco::TrackBase::pt(), and HLT_2018_cff::track.
Referenced by tag().
|
staticprotected |
Definition at line 414 of file SoftLepton.cc.
References dot(), dqm-mbProfile::log, and mag().
Referenced by tag().
reco::SoftLeptonTagInfo SoftLepton::tag | ( | const edm::RefToBase< reco::Jet > & | jet, |
const reco::TrackRefVector & | tracks, | ||
const Leptons & | leptons, | ||
const reco::Vertex & | primaryVertex | ||
) | const |
Definition at line 293 of file SoftLepton.cc.
References boostedPPar(), TransientTrackBuilder::build(), reco::SoftLeptonProperties::deltaR, PbPb_ZMuSkimMuonDPG_cff::deltaR, reco::SoftLeptonProperties::etaRel, info(), reco::TemplatedSoftLeptonTagInfo< REF >::insert(), electrons_cff::ip3d, m_chi2Cut, m_deltaRCut, m_transientTrackBuilder, reco::SoftLeptonProperties::p0Par, reco::SoftLeptonProperties::ptRel, reco::SoftLeptonProperties::ratio, reco::SoftLeptonProperties::ratioRel, refineJetAxis(), relativeEta(), reco::JetTagInfo::setJetRef(), reco::SoftLeptonProperties::setQuality(), IPTools::signedImpactParameter3D(), IPTools::signedTransverseImpactParameter(), Measurement1D::significance(), reco::SoftLeptonProperties::sip2d, reco::SoftLeptonProperties::sip2dsig, reco::SoftLeptonProperties::sip3d, reco::SoftLeptonProperties::sip3dsig, Measurement1D::value(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
|
private |
Definition at line 107 of file SoftLepton.h.
Referenced by tag().
|
private |
Definition at line 106 of file SoftLepton.h.
Referenced by tag().
|
private |
Definition at line 86 of file SoftLepton.h.
Referenced by produce().
|
private |
Definition at line 96 of file SoftLepton.h.
Referenced by produce().
|
private |
Definition at line 98 of file SoftLepton.h.
Referenced by produce().
|
private |
Definition at line 90 of file SoftLepton.h.
Referenced by produce().
|
private |
Definition at line 110 of file SoftLepton.h.
Referenced by produce().
|
private |
Definition at line 105 of file SoftLepton.h.
Referenced by refineJetAxis().
|
private |
Definition at line 102 of file SoftLepton.h.
|
staticprivate |
Definition at line 113 of file SoftLepton.h.
Referenced by produce().
|
private |
Definition at line 92 of file SoftLepton.h.
Referenced by produce().
|
private |
Definition at line 91 of file SoftLepton.h.
Referenced by produce().
|
private |
Definition at line 88 of file SoftLepton.h.
Referenced by produce().
|
private |
Definition at line 87 of file SoftLepton.h.
Referenced by produce().
|
private |
Definition at line 97 of file SoftLepton.h.
Referenced by produce().
|
private |
Definition at line 99 of file SoftLepton.h.
Referenced by produce().
|
private |
Definition at line 94 of file SoftLepton.h.
Referenced by produce().
|
private |
Definition at line 93 of file SoftLepton.h.
Referenced by produce().
|
private |
Definition at line 89 of file SoftLepton.h.
Referenced by produce().
|
private |
Definition at line 95 of file SoftLepton.h.
Referenced by produce().