38 OperatingPoint operatingPoint;
39 std::string measurementType;
51 OperatingPoint op=OP_TIGHT,
52 std::string measurement_type=
"comb",
53 std::string sys_type=
"central",
55 float eta_min=-99999.,
60 float discr_max=99999.
71 static std::string makeCSVHeader();
72 std::string makeCSVLine()
const;
73 static std::string trimStr(std::string str);
84 #ifndef BTagCalibration_H 85 #define BTagCalibration_H 113 BTagCalibration(
const std::string &tagger,
const std::string &filename);
116 std::string tagger()
const {
return tagger_;}
121 void readCSV(std::istream &s);
122 void readCSV(
const std::string &s);
123 void makeCSV(std::ostream &s)
const;
124 std::string makeCSV()
const;
130 std::map<std::string, std::vector<BTagEntry> > data_;
134 #endif // BTagCalibration_H 137 #ifndef BTagCalibrationReader_H 138 #define BTagCalibrationReader_H 160 const std::string & sysType=
"central",
161 const std::vector<std::string> & otherSysTypes={});
164 BTagEntry::JetFlavor jf,
165 const std::string & measurementType=
"comb");
167 double eval(BTagEntry::JetFlavor jf,
170 float discr=0.)
const;
172 double eval_auto_bounds(
const std::string & sys,
173 BTagEntry::JetFlavor jf,
176 float discr=0.)
const;
178 std::pair<float, float> min_max_pt(BTagEntry::JetFlavor jf,
180 float discr=0.)
const;
182 std::shared_ptr<BTagCalibrationReaderImpl> pimpl;
186 #endif // BTagCalibrationReader_H Definition: BTagCalibrationStandalone.h:153
Definition: BTagCalibrationStandalone.cpp:369
Definition: BTagCalibrationStandalone.h:108
Definition: BTagCalibrationStandalone.h:23
Definition: BTagCalibrationStandalone.h:37