#include <​RecoBTag/​SecondaryVertex/plugins/BoostedDoubleSVProducer.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (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 |
Static Private Attributes | |
static float | bottomThreshold = 5.2f |
static float | charmThreshold = 1.5f |
static float | dummyFlightDistance2dSig = -1.0f |
static float | dummyTrackEtaRel = -1.0f |
static float | dummyTrackSip2dSigAbove = -19.0f |
static float | dummyTrackSip3dSig = -50.0f |
static float | dummyVertexDeltaR = -1.0f |
static float | dummyVertexEnergyRatio = -1.0f |
static float | dummyVertexMass = -1.0f |
static 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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
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 116 of file BoostedDoubleSVProducer.cc.
|
override |
Definition at line 130 of file BoostedDoubleSVProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 753 of file BoostedDoubleSVProducer.cc.
|
private |
Definition at line 653 of file BoostedDoubleSVProducer.cc.
References beta_, reco::Candidate::daughter(), reco::Candidate::energy(), mps_fire::i, nJettinessAdder_cfi::Njettiness, reco::CompositePtrCandidate::numberOfDaughters(), reco::Candidate::px(), reco::Candidate::py(), reco::Candidate::pz(), and R0_.
Referenced by produce().
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 759 of file BoostedDoubleSVProducer.cc.
|
private |
Definition at line 742 of file BoostedDoubleSVProducer.cc.
References funct::abs(), reco::CompositePtrCandidate::daughterPtrVector(), reco::btau::etaRel(), HiIsolationCommonParameters_cff::track, and l1t::tracks.
Referenced by produce().
|
static |
Definition at line 764 of file BoostedDoubleSVProducer.cc.
References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().
|
overrideprivate |
Definition at line 145 of file BoostedDoubleSVProducer.cc.
References funct::abs(), reco::TrackKinematics::add(), bottomThreshold, TransientTrackBuilder::build(), calcNsubjettiness(), charmThreshold, IPTools::closestApproachToJet(), 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::EventSetup::get(), edm::Event::getByToken(), TrajectoryStateOnSurface::globalPosition(), mps_fire::i, training_settings::idx, reco::IPTagInfo< Container, Base >::impactParameterData(), reco::TransientTrack::impactPointState(), diffTreeTool::index, reco::TaggingVariableList::insert(), reco::btag::TrackIPData::ip2d, reco::btag::IP2DSig, edm::Ref< C, T, F >::isNonnull(), 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(), reco::IPTagInfo< Container, Base >::selectedTracks(), trackingPlots::selectedTracks, setTracksPV(), Measurement1D::significance(), reco::IPTagInfo< Container, Base >::sortedIndexes(), caloDeepCSVTagInfos_cfi::svTagInfos, svTagInfos_, combinedMVAV2BJetTags_cfi::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(), badGlobalMuonTaggersAOD_cff::vtx, reco::TrackKinematics::weightedVectorSum(), and reco::btau::z_ratio.
|
private |
Definition at line 719 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 695 of file BoostedDoubleSVProducer.cc.
References reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), reco::Vertex::trackWeight(), and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by setTracksPV().
|
private |
Definition at line 81 of file BoostedDoubleSVProducer.cc.
Referenced by calcNsubjettiness().
|
staticprivate |
Definition at line 101 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 100 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 98 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 94 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 93 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 92 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 97 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 96 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 95 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 91 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
private |
Definition at line 86 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
private |
Definition at line 85 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
private |
Definition at line 84 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
private |
Definition at line 82 of file BoostedDoubleSVProducer.cc.
Referenced by calcNsubjettiness().
|
private |
Definition at line 79 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
private |
Definition at line 87 of file BoostedDoubleSVProducer.cc.
Referenced by produce().
|
private |
Definition at line 88 of file BoostedDoubleSVProducer.cc.
Referenced by produce().