CMS 3D CMS Logo

Namespaces | Enumerations | Functions | Variables
deep_helpers.cc File Reference
#include "RecoBTag/FeatureTools/interface/deep_helpers.h"
#include "DataFormats/PatCandidates/interface/PackedCandidate.h"

Go to the source code of this file.

Namespaces

 btagbtvdeep
 

Enumerations

enum  btagbtvdeep::qualityFlagsShiftsAndMasks {
  btagbtvdeep::assignmentQualityMask = 0x7, btagbtvdeep::assignmentQualityShift = 0, btagbtvdeep::trackHighPurityMask = 0x8, btagbtvdeep::trackHighPurityShift = 3,
  btagbtvdeep::lostInnerHitsMask = 0x30, btagbtvdeep::lostInnerHitsShift = 4, btagbtvdeep::muonFlagsMask = 0x0600, btagbtvdeep::muonFlagsShift = 9
}
 

Functions

const float btagbtvdeep::catch_infs (const float in, const float replace_value=0.)
 
const float btagbtvdeep::catch_infs_and_bound (const float in, const float replace_value, const float lowerbound, const float upperbound, const float offset=0., const bool use_offsets=true)
 
float btagbtvdeep::lost_inner_hits_from_pfcand (const reco::PFCandidate &pfcand)
 
float btagbtvdeep::mindrsvpfcand (const std::vector< reco::VertexCompositePtrCandidate > &svs, const reco::Candidate *cand, float mindr=0.4)
 
float btagbtvdeep::quality_from_pfcand (const reco::PFCandidate &pfcand)
 
template bool btagbtvdeep::sv_vertex_comparator< reco::VertexCompositePtrCandidate, reco::Vertex > (const reco::VertexCompositePtrCandidate &, const reco::VertexCompositePtrCandidate &, const reco::Vertex &)
 
Measurement1D btagbtvdeep::vertexD3d (const reco::VertexCompositePtrCandidate &svcand, const reco::Vertex &pv)
 
float btagbtvdeep::vertexDdotP (const reco::VertexCompositePtrCandidate &sv, const reco::Vertex &pv)
 
Measurement1D btagbtvdeep::vertexDxy (const reco::VertexCompositePtrCandidate &svcand, const reco::Vertex &pv)
 
float btagbtvdeep::vtx_ass_from_pfcand (const reco::PFCandidate &pfcand, int pv_ass_quality, const reco::VertexRef &pv)
 

Variables

static int btagbtvdeep::qualityMap [8] = {1, 0, 1, 1, 4, 4, 5, 6}