#include <CandidateBoostedDoubleSecondaryVertexComputer.h>
Public Member Functions | |
CandidateBoostedDoubleSecondaryVertexComputer (const edm::ParameterSet ¶meters) | |
float | discriminator (const TagInfoHelper &tagInfos) const override |
void | initialize (const JetTagComputerRecord &) override |
Public Member Functions inherited from JetTagComputer | |
const std::vector< std::string > & | getInputLabels () const |
JetTagComputer () | |
JetTagComputer (const edm::ParameterSet &configuration) | |
float | operator() (const reco::BaseTagInfo &info) const |
float | operator() (const TagInfoHelper &helper) const |
void | setupDone () |
virtual | ~JetTagComputer () |
Private Member Functions | |
void | calcNsubjettiness (const reco::JetBaseRef &jet, float &tau1, float &tau2, std::vector< fastjet::PseudoJet > ¤tAxes) const |
void | etaRelToTauAxis (const reco::VertexCompositePtrCandidate &vertex, fastjet::PseudoJet &tauAxis, std::vector< float > &tau_trackEtaRel) const |
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 |
void | vertexKinematics (const reco::VertexCompositePtrCandidate &vertex, reco::TrackKinematics &vertexKinematics) const |
Private Attributes | |
const double | beta_ |
const std::string | gbrForestLabel_ |
const double | maxDecayLen_ |
const double | maxDistToAxis_ |
const double | maxSVDeltaRToJet_ |
std::unique_ptr< TMVAEvaluator > | mvaID |
const double | R0_ |
edm::ESHandle < TransientTrackBuilder > | trackBuilder |
reco::V0Filter | trackPairV0Filter |
reco::TrackSelector | trackSelector |
const bool | useAdaBoost_ |
const bool | useCondDB_ |
const bool | useGBRForest_ |
const edm::FileInPath | weightFile_ |
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 | |
Protected Member Functions inherited from JetTagComputer | |
virtual float | discriminator (const reco::BaseTagInfo &) const |
void | uses (unsigned int id, const std::string &label) |
void | uses (const std::string &label) |
Definition at line 19 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
CandidateBoostedDoubleSecondaryVertexComputer::CandidateBoostedDoubleSecondaryVertexComputer | ( | const edm::ParameterSet & | parameters | ) |
Definition at line 19 of file CandidateBoostedDoubleSecondaryVertexComputer.cc.
References mvaID, and JetTagComputer::uses().
|
private |
Definition at line 573 of file CandidateBoostedDoubleSecondaryVertexComputer.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 discriminator().
|
overridevirtual |
Reimplemented from JetTagComputer.
Definition at line 71 of file CandidateBoostedDoubleSecondaryVertexComputer.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, etaRelToTauAxis(), reco::TransientTrack::field(), JetTagComputer::TagInfoHelper::get(), TrajectoryStateOnSurface::globalPosition(), i, customizeTrackingMonitorSeedNumber::idx, reco::IPTagInfo< Container, Base >::impactParameterData(), reco::TransientTrack::impactPointState(), cmsHarvester::index, SiPixelRawToDigiRegional_cfi::inputs, reco::btag::TrackIPData::ip2d, reco::btag::IP2DSig, edm::Ref< C, T, F >::isNonnull(), TrajectoryStateOnSurface::isValid(), metsig::jet, reco::btau::jetNTracks, IPTools::jetTrackDistance(), maxDecayLen_, maxDistToAxis_, maxSVDeltaRToJet_, reco::LeafCandidate::momentum(), mvaID, reco::LeafCandidate::p4(), reco::IPTagInfo< Container, Base >::primaryVertex(), MetAnalyzer::pv(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), edm::second(), TrackCollections2monitor_cff::selectedTracks, reco::IPTagInfo< Container, Base >::selectedTracks(), setTracksPV(), Measurement1D::significance(), python.multivaluedict::sort(), reco::IPTagInfo< Container, Base >::sortedIndexes(), groupFilesInBlocks::temp, reco::btag::toTrack(), trackBuilder, trackPairV0Filter, trackSelector, relativeConstraints::value, reco::TrackKinematics::vectorSum(), vertexKinematics(), and reco::TrackKinematics::weightedVectorSum().
|
private |
Definition at line 670 of file CandidateBoostedDoubleSecondaryVertexComputer.cc.
References funct::abs(), reco::CompositePtrCandidate::daughterPtrVector(), reco::btau::etaRel(), and testEve_cfg::tracks.
Referenced by discriminator().
|
overridevirtual |
Reimplemented from JetTagComputer.
Definition at line 39 of file CandidateBoostedDoubleSecondaryVertexComputer.cc.
References edm::FileInPath::fullPath(), gbrForestLabel_, edm::eventsetup::EventSetupRecord::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), mvaID, trackBuilder, useAdaBoost_, useCondDB_, useGBRForest_, makeLayoutFileForGui::variables, and weightFile_.
|
private |
Definition at line 637 of file CandidateBoostedDoubleSecondaryVertexComputer.cc.
References pat::PackedCandidate::fromPV(), edm::Ptr< T >::get(), pat::PackedCandidate::PVUsedInFit, setTracksPVBase(), and reco::PFCandidate::trackRef().
Referenced by discriminator().
|
private |
Definition at line 614 of file CandidateBoostedDoubleSecondaryVertexComputer.cc.
References reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), and reco::Vertex::trackWeight().
Referenced by setTracksPV().
|
private |
Definition at line 659 of file CandidateBoostedDoubleSecondaryVertexComputer.cc.
References reco::TrackKinematics::add(), reco::CompositePtrCandidate::daughterPtrVector(), and testEve_cfg::tracks.
Referenced by discriminator().
|
private |
Definition at line 34 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by calcNsubjettiness().
|
staticprivate |
Definition at line 62 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by discriminator().
|
staticprivate |
Definition at line 61 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by discriminator().
|
staticprivate |
Definition at line 59 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by discriminator().
|
staticprivate |
Definition at line 55 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by discriminator().
|
staticprivate |
Definition at line 54 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by discriminator().
|
staticprivate |
Definition at line 53 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by discriminator().
|
staticprivate |
Definition at line 58 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by discriminator().
|
staticprivate |
Definition at line 57 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by discriminator().
|
staticprivate |
Definition at line 56 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by discriminator().
|
staticprivate |
Definition at line 52 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by discriminator().
|
private |
Definition at line 39 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by initialize().
|
private |
Definition at line 44 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by discriminator().
|
private |
Definition at line 43 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by discriminator().
|
private |
Definition at line 37 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by discriminator().
|
private |
Definition at line 49 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by CandidateBoostedDoubleSecondaryVertexComputer(), discriminator(), and initialize().
|
private |
Definition at line 35 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by calcNsubjettiness().
|
private |
Definition at line 48 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by discriminator(), and initialize().
|
private |
Definition at line 45 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by discriminator().
|
private |
Definition at line 46 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by discriminator().
|
private |
Definition at line 42 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by initialize().
|
private |
Definition at line 38 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by initialize().
|
private |
Definition at line 41 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by initialize().
|
private |
Definition at line 40 of file CandidateBoostedDoubleSecondaryVertexComputer.h.
Referenced by initialize().