DAS  3.0
Das Analysis System
BTagCalibrationReader

Description

BTagCalibrationReader

Helper class to pull out a specific set of BTagEntry's out of a BTagCalibration. TF1 functions are set up at initialization time.

#include <BTagCalibration.h>

+ Collaboration diagram for BTagCalibrationReader:

Classes

class  BTagCalibrationReaderImpl
 

Public Member Functions

 BTagCalibrationReader ()
 
 BTagCalibrationReader (BTagEntry::OperatingPoint op, const std::string &sysType="central", const std::vector< std::string > &otherSysTypes={})
 
void load (const BTagCalibration &c, BTagEntry::JetFlavor jf, const std::string &measurementType="comb")
 
double eval (BTagEntry::JetFlavor jf, float eta, float pt, float discr=0.) const
 
double eval_auto_bounds (const std::string &sys, BTagEntry::JetFlavor jf, float eta, float pt, float discr=0.) const
 
std::pair< float, float > min_max_pt (BTagEntry::JetFlavor jf, float eta, float discr=0.) const
 

Protected Attributes

std::shared_ptr< BTagCalibrationReaderImplpimpl
 

Constructor & Destructor Documentation

◆ BTagCalibrationReader() [1/2]

158 {}

◆ BTagCalibrationReader() [2/2]

BTagCalibrationReader ( BTagEntry::OperatingPoint  op,
const std::string &  sysType = "central",
const std::vector< std::string > &  otherSysTypes = {} 
)
631  :
632  pimpl(new BTagCalibrationReaderImpl(op, sysType, otherSysTypes)) {}

Member Function Documentation

◆ eval()

double eval ( BTagEntry::JetFlavor  jf,
float  eta,
float  pt,
float  discr = 0. 
) const
645 {
646  return pimpl->eval(jf, eta, pt, discr);
647 }

◆ eval_auto_bounds()

double eval_auto_bounds ( const std::string &  sys,
BTagEntry::JetFlavor  jf,
float  eta,
float  pt,
float  discr = 0. 
) const
654 {
655  return pimpl->eval_auto_bounds(sys, jf, eta, pt, discr);
656 }

◆ load()

void load ( const BTagCalibration c,
BTagEntry::JetFlavor  jf,
const std::string &  measurementType = "comb" 
)
637 {
638  pimpl->load(c, jf, measurementType);
639 }

◆ min_max_pt()

std::pair< float, float > min_max_pt ( BTagEntry::JetFlavor  jf,
float  eta,
float  discr = 0. 
) const
661 {
662  return pimpl->min_max_pt(jf, eta, discr);
663 }

Member Data Documentation

◆ pimpl

std::shared_ptr<BTagCalibrationReaderImpl> pimpl
protected

The documentation for this class was generated from the following files:
jmarExample.pt
pt
Definition: jmarExample.py:19
BTagCalibrationReader::pimpl
std::shared_ptr< BTagCalibrationReaderImpl > pimpl
Definition: BTagCalibration.h:182
jmarExample.eta
eta
DeepAK8/ParticleNet tagging.
Definition: jmarExample.py:19