#include <​RecoBTag/​SecondaryVertex/plugins/BoostedDoubleSVProducer.cc>
Public Member Functions | |
BoostedDoubleSVProducer (const edm::ParameterSet &) | |
~BoostedDoubleSVProducer () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 | |
virtual void | beginStream (edm::StreamID) override |
void | calcNsubjettiness (const reco::JetBaseRef &jet, float &tau1, float &tau2, std::vector< fastjet::PseudoJet > ¤tAxes) const |
virtual void | endStream () override |
void | etaRelToTauAxis (const reco::VertexCompositePtrCandidate &vertex, const fastjet::PseudoJet &tauAxis, std::vector< float > &tau_trackEtaRel) const |
virtual 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 | |
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.
BoostedDoubleSVProducer::~BoostedDoubleSVProducer | ( | ) |
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::CompositePtrCandidate::daughterPtrVector(), reco::Candidate::energy(), 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(), and testEve_cfg::tracks.
Referenced by produce().
|
static |
Definition at line 764 of file BoostedDoubleSVProducer.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
overrideprivatevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 145 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::EventSetup::get(), edm::Event::getByToken(), TrajectoryStateOnSurface::globalPosition(), i, customizeTrackingMonitorSeedNumber::idx, reco::IPTagInfo< Container, Base >::impactParameterData(), reco::TransientTrack::impactPointState(), cmsHarvester::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_, reco::LeafCandidate::momentum(), eostools::move(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::nVertices(), reco::LeafCandidate::p4(), reco::IPTagInfo< Container, Base >::primaryVertex(), edm::Event::put(), MetAnalyzer::pv(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), edm::second(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::secondaryVertex(), TrackCollections2monitor_cff::selectedTracks, reco::IPTagInfo< Container, Base >::selectedTracks(), setTracksPV(), Measurement1D::significance(), reco::IPTagInfo< Container, Base >::sortedIndexes(), svTagInfos_, HLT_25ns10e33_v2_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, 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(), 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(), and reco::Vertex::trackWeight().
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().