#include <​RecoBTag/​SecondaryVertex/plugins/BoostedDoubleSVProducer.cc>
Public Member Functions | |
BoostedDoubleSVProducer (const edm::ParameterSet &) | |
~BoostedDoubleSVProducer () 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) |
Private Member Functions | |
void | beginStream (edm::StreamID) override |
void | calcNsubjettiness (const reco::JetBaseRef &jet, float &tau1, float &tau2, std::vector< fastjet::PseudoJet > ¤tAxes) const |
void | endStream () override |
void | etaRelToTauAxis (const reco::VertexCompositePtrCandidate &vertex, const fastjet::PseudoJet &tauAxis, std::vector< float > &tau_trackEtaRel) const |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | setTracksPV (const reco::CandidatePtr &trackRef, const reco::VertexRef &vertexRef, float &PVweight) const |
void | setTracksPVBase (const reco::TrackRef &trackRef, const reco::VertexRef &vertexRef, float &PVweight) const |
Private Attributes | |
const double | beta_ |
const double | maxDecayLen_ |
const double | maxDistToAxis_ |
const double | maxSVDeltaRToJet_ |
const double | R0_ |
const edm::EDGetTokenT< std::vector< reco::CandSecondaryVertexTagInfo > > | svTagInfos_ |
reco::V0Filter | trackPairV0Filter |
reco::TrackSelector | trackSelector |
edm::Handle< edm::ValueMap< float > > | weightsHandle_ |
edm::EDGetTokenT< edm::ValueMap< float > > | weightsToken_ |
Static Private Attributes | |
static constexpr float | bottomThreshold = 5.2f |
static constexpr float | charmThreshold = 1.5f |
static constexpr float | dummyFlightDistance2dSig = -1.0f |
static constexpr float | dummyTrackEtaRel = -1.0f |
static constexpr float | dummyTrackSip2dSigAbove = -19.0f |
static constexpr float | dummyTrackSip3dSig = -50.0f |
static constexpr float | dummyVertexDeltaR = -1.0f |
static constexpr float | dummyVertexEnergyRatio = -1.0f |
static constexpr float | dummyVertexMass = -1.0f |
static constexpr float | dummyZ_ratio = -3.0f |
Additional Inherited Members | |
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 |
Description: EDProducer that produces collection of BoostedDoubleSVTagInfos
Implementation: A collection of SecondaryVertexTagInfos is taken as input and a collection of BoostedDoubleSVTagInfos is produced as output.
Definition at line 61 of file BoostedDoubleSVProducer.cc.
|
explicit |
Definition at line 123 of file BoostedDoubleSVProducer.cc.
References edm::ParameterSet::getParameter(), HLT_2018_cff::srcWeights, and weightsToken_.
|
override |
Definition at line 139 of file BoostedDoubleSVProducer.cc.
|
overrideprivate |
Definition at line 773 of file BoostedDoubleSVProducer.cc.
|
private |
Definition at line 646 of file BoostedDoubleSVProducer.cc.
References beta_, reco::CompositePtrCandidate::daughterPtr(), Exception, mps_fire::i, edm::Ptr< T >::isNonnull(), edm::isNotFinite(), edm::EDGetTokenT< T >::isUninitialized(), reco::Jet::isWeighted(), metsig::jet, nJettinessAdder_cfi::Njettiness, reco::CompositePtrCandidate::numberOfDaughters(), R0_, jets_cff::tau1, jets_cff::tau2, w, weightsHandle_, and weightsToken_.
Referenced by produce().
|
overrideprivate |
Definition at line 776 of file BoostedDoubleSVProducer.cc.
|
private |
Definition at line 762 of file BoostedDoubleSVProducer.cc.
References funct::abs(), reco::btau::etaRel(), HLT_2018_cff::track, PDWG_EXOHSCP_cff::tracks, and bphysicsOniaDQM_cfi::vertex.
Referenced by produce().
|
static |
Definition at line 779 of file BoostedDoubleSVProducer.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), HLT_2018_cff::InputTag, trackPairV0Filter, and HLT_2018_cff::trackSelection.
|
overrideprivate |
Definition at line 149 of file BoostedDoubleSVProducer.cc.
References funct::abs(), reco::TrackKinematics::add(), bottomThreshold, TransientTrackBuilder::build(), calcNsubjettiness(), charmThreshold, IPTools::closestApproachToJet(), generateEDF::cont, RecoVertex::convertPos(), data, reco::deltaR(), reco::deltaR2(), dummyFlightDistance2dSig, dummyTrackEtaRel, dummyTrackSip2dSigAbove, dummyTrackSip3dSig, dummyVertexDeltaR, dummyVertexEnergyRatio, dummyVertexMass, dummyZ_ratio, Measurement1D::error(), etaRelToTauAxis(), reco::TransientTrack::field(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::flightDirection(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::flightDistance(), edm::EventSetup::get(), get, TrajectoryStateOnSurface::globalPosition(), mps_fire::i, training_settings::idx, iEvent, reco::IPTagInfo< Container, Base >::impactParameterData(), reco::TransientTrack::impactPointState(), bTagCombinedSVVariables_cff::indices, reco::btag::IP2DSig, edm::Ref< C, T, F >::isNonnull(), edm::EDGetTokenT< T >::isUninitialized(), TrajectoryStateOnSurface::isValid(), metsig::jet, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::jet(), reco::btau::jetNSecondaryVertices, reco::btau::jetNTracks, IPTools::jetTrackDistance(), EgHLTOffHistBins_cfi::mass, maxDecayLen_, maxDistToAxis_, maxSVDeltaRToJet_, eostools::move(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::nVertices(), reco::IPTagInfo< Container, Base >::primaryVertex(), MetAnalyzer::pv(), multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, edm::second(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::secondaryVertex(), TrackCollections2monitor_cff::selectedTracks, reco::IPTagInfo< Container, Base >::selectedTracks(), setTracksPV(), Measurement1D::significance(), reco::IPTagInfo< Container, Base >::sortedIndexes(), HLT_2018_cff::svTagInfos, svTagInfos_, HLT_2018_cff::tagInfos, jets_cff::tau1, reco::btau::tau1_flightDistance2dSig, reco::btau::tau1_trackEtaRel_0, reco::btau::tau1_trackEtaRel_1, reco::btau::tau1_trackEtaRel_2, reco::btau::tau1_trackSip3dSig_0, reco::btau::tau1_trackSip3dSig_1, reco::btau::tau1_vertexDeltaR, reco::btau::tau1_vertexEnergyRatio, reco::btau::tau1_vertexMass, jets_cff::tau2, reco::btau::tau2_flightDistance2dSig, reco::btau::tau2_trackEtaRel_0, reco::btau::tau2_trackEtaRel_1, reco::btau::tau2_trackEtaRel_2, reco::btau::tau2_trackSip3dSig_0, reco::btau::tau2_trackSip3dSig_1, reco::btau::tau2_vertexDeltaR, reco::btau::tau2_vertexEnergyRatio, reco::btau::tau2_vertexMass, groupFilesInBlocks::temp, trackPairV0Filter, trackSelector, reco::btau::trackSip2dSigAboveBottom_0, reco::btau::trackSip2dSigAboveBottom_1, reco::btau::trackSip2dSigAboveCharm, reco::btau::trackSip3dSig_0, reco::btau::trackSip3dSig_1, reco::btau::trackSip3dSig_2, reco::btau::trackSip3dSig_3, reco::TrackKinematics::vectorSum(), bphysicsOniaDQM_cfi::vertex, badGlobalMuonTaggersAOD_cff::vtx, jets_cff::vtxMass, reco::TrackKinematics::weightedVectorSum(), weightsHandle_, weightsToken_, and reco::btau::z_ratio.
|
private |
Definition at line 743 of file BoostedDoubleSVProducer.cc.
References pat::PackedCandidate::fromPV(), edm::Ptr< T >::get(), pfDeepBoostedJetPreprocessParams_cfi::pfcand, pat::PackedCandidate::PVUsedInFit, and setTracksPVBase().
Referenced by produce().
|
private |
Definition at line 722 of file BoostedDoubleSVProducer.cc.
References badGlobalMuonTaggersAOD_cff::vtx.
Referenced by setTracksPV().
|
private |
Definition at line 86 of file BoostedDoubleSVProducer.cc.
Referenced by calcNsubjettiness().
|
staticconstexprprivate |
Definition at line 109 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticconstexprprivate |
Definition at line 108 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticconstexprprivate |
Definition at line 106 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticconstexprprivate |
Definition at line 102 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticconstexprprivate |
Definition at line 101 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticconstexprprivate |
Definition at line 100 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticconstexprprivate |
Definition at line 105 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticconstexprprivate |
Definition at line 104 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticconstexprprivate |
Definition at line 103 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticconstexprprivate |
Definition at line 99 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
private |
Definition at line 91 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
private |
Definition at line 90 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
private |
Definition at line 89 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
private |
Definition at line 87 of file BoostedDoubleSVProducer.cc.
Referenced by calcNsubjettiness().
|
private |
Definition at line 84 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
private |
Definition at line 92 of file BoostedDoubleSVProducer.cc.
Referenced by fillDescriptions(), and produce().
|
private |
Definition at line 93 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
private |
Definition at line 96 of file BoostedDoubleSVProducer.cc.
Referenced by calcNsubjettiness(), and produce().
|
private |
Definition at line 95 of file BoostedDoubleSVProducer.cc.
Referenced by BoostedDoubleSVProducer(), calcNsubjettiness(), and produce().