#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 | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
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_ |
edm::ESGetToken < TransientTrackBuilder, TransientTrackRecord > | trackBuilderToken_ |
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<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::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 62 of file BoostedDoubleSVProducer.cc.
|
explicit |
Definition at line 125 of file BoostedDoubleSVProducer.cc.
References edm::ParameterSet::getParameter(), edm::InputTag::label(), HLT_FULL_cff::srcWeights, trackBuilderToken_, and weightsToken_.
|
override |
Definition at line 143 of file BoostedDoubleSVProducer.cc.
|
overrideprivate |
Definition at line 776 of file BoostedDoubleSVProducer.cc.
|
private |
Definition at line 649 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(), nJettinessAdder_cfi::Njettiness, reco::CompositePtrCandidate::numberOfDaughters(), R0_, w, weightsHandle_, and weightsToken_.
Referenced by produce().
|
overrideprivate |
Definition at line 779 of file BoostedDoubleSVProducer.cc.
|
private |
Definition at line 765 of file BoostedDoubleSVProducer.cc.
References funct::abs(), reco::CompositePtrCandidate::daughterPtrVector(), reco::btau::etaRel(), HLT_FULL_cff::track, and tracks.
Referenced by produce().
|
static |
Definition at line 782 of file BoostedDoubleSVProducer.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, edm::ParameterSetDescription::setAllowAnything(), trackPairV0Filter, and HLT_FULL_cff::trackSelection.
|
overrideprivate |
Definition at line 153 of file BoostedDoubleSVProducer.cc.
References funct::abs(), reco::TrackKinematics::add(), bottomThreshold, 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::TaggingVariableList::finalize(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::flightDirection(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::flightDistance(), edm::Event::getByToken(), edm::EventSetup::getHandle(), TrajectoryStateOnSurface::globalPosition(), mps_fire::i, reco::IPTagInfo< Container, Base >::impactParameterData(), reco::TransientTrack::impactPointState(), dqmdumpme::indices, reco::TaggingVariableList::insert(), reco::btag::TrackIPData::ip2d, reco::btag::IP2DSig, edm::Ref< C, T, F >::isNonnull(), isSelected(), edm::EDGetTokenT< T >::isUninitialized(), TrajectoryStateOnSurface::isValid(), metsig::jet, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::jet(), reco::btau::jetNSecondaryVertices, reco::btau::jetNTracks, IPTools::jetTrackDistance(), ResonanceBuilder::mass, maxDecayLen_, maxDistToAxis_, maxSVDeltaRToJet_, eostools::move(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::nVertices(), reco::LeafCandidate::p4(), reco::IPTagInfo< Container, Base >::primaryVertex(), edm::Event::put(), MetAnalyzer::pv(), edm::second(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::secondaryVertex(), TrackCollections2monitor_cff::selectedTracks, reco::IPTagInfo< Container, Base >::selectedTracks(), setTracksPV(), Measurement1D::significance(), reco::IPTagInfo< Container, Base >::sortedIndexes(), HLT_FULL_cff::svTagInfos, svTagInfos_, HLT_FULL_cff::tagInfos, 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, 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, trackBuilderToken_, 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(), reco::TrackKinematics::weightedVectorSum(), weightsHandle_, weightsToken_, and reco::btau::z_ratio.
|
private |
Definition at line 746 of file BoostedDoubleSVProducer.cc.
References pat::PackedCandidate::fromPV(), edm::Ptr< T >::get(), pat::PackedCandidate::PVUsedInFit, setTracksPVBase(), and reco::PFCandidate::trackRef().
Referenced by produce().
|
private |
Definition at line 725 of file BoostedDoubleSVProducer.cc.
References reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), and reco::Vertex::trackWeight().
Referenced by setTracksPV().
|
private |
Definition at line 87 of file BoostedDoubleSVProducer.cc.
Referenced by calcNsubjettiness().
|
staticprivate |
Definition at line 111 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 110 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 108 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 104 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 103 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 102 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 107 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 106 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 105 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 101 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
private |
Definition at line 92 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 88 of file BoostedDoubleSVProducer.cc.
Referenced by calcNsubjettiness().
|
private |
Definition at line 85 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
private |
Definition at line 97 of file BoostedDoubleSVProducer.cc.
Referenced by BoostedDoubleSVProducer(), and produce().
|
private |
Definition at line 93 of file BoostedDoubleSVProducer.cc.
Referenced by fillDescriptions(), and produce().
|
private |
Definition at line 94 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
private |
Definition at line 98 of file BoostedDoubleSVProducer.cc.
Referenced by calcNsubjettiness(), and produce().
|
private |
Definition at line 96 of file BoostedDoubleSVProducer.cc.
Referenced by BoostedDoubleSVProducer(), calcNsubjettiness(), and produce().