CMS 3D CMS Logo

BTagCalibrationReader.h
Go to the documentation of this file.
1 #ifndef BTagCalibrationReader_H
2 #define BTagCalibrationReader_H
3 
12 #include <memory>
13 #include <string>
14 
17 
18 
20 {
21 public:
23 
26  const std::string & sysType="central",
27  const std::vector<std::string> & otherSysTypes={});
28 
29  void load(const BTagCalibration & c,
31  const std::string & measurementType="comb");
32 
33  double eval(BTagEntry::JetFlavor jf,
34  float eta,
35  float pt,
36  float discr=0.) const;
37 
38  double eval_auto_bounds(const std::string & sys,
40  float eta,
41  float pt,
42  float discr=0.) const;
43 
44  std::pair<float, float> min_max_pt(BTagEntry::JetFlavor jf,
45  float eta,
46  float discr=0.) const;
47 protected:
48  std::shared_ptr<BTagCalibrationReaderImpl> pimpl;
49 };
50 
51 
52 #endif // BTagCalibrationReader_H
std::shared_ptr< BTagCalibrationReaderImpl > pimpl
OperatingPoint
Definition: BTagEntry.h:27
double eval(BTagEntry::JetFlavor jf, float eta, float pt, float discr=0.) const
void load(const BTagCalibration &c, BTagEntry::JetFlavor jf, const std::string &measurementType="comb")
std::pair< float, float > min_max_pt(BTagEntry::JetFlavor jf, float eta, float discr=0.) const
double eval_auto_bounds(const std::string &sys, BTagEntry::JetFlavor jf, float eta, float pt, float discr=0.) const