|
DAS
3.0
Das Analysis System
|
Go to the documentation of this file.
52 std::string measurement_type=
"comb",
53 std::string sys_type=
"central",
55 float eta_min=-99999.,
60 float discr_max=99999.
67 BTagEntry(
const std::string &func, Parameters
p);
73 static std::string
trimStr(std::string str);
84 #ifndef BTagCalibration_H
85 #define BTagCalibration_H
122 void readCSV(
const std::string &s);
123 void makeCSV(std::ostream &s)
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={});
165 const std::string & measurementType=
"comb");
170 float discr=0.)
const;
176 float discr=0.)
const;
180 float discr=0.)
const;
182 std::shared_ptr<BTagCalibrationReaderImpl>
pimpl;
186 #endif // BTagCalibrationReader_H
std::string measurementType
Definition: BTagCalibration.h:39
float discrMin
Definition: BTagCalibration.h:46
BTagCalibrationReader()
Definition: BTagCalibration.h:158
std::string tagger() const
Definition: BTagCalibration.h:116
~BTagCalibration()
Definition: BTagCalibration.h:114
pt
Definition: jmarExample.py:19
const std::vector< BTagEntry > & getEntries(const BTagEntry::Parameters &par) const
Definition: BTagCalibration.cc:301
JetFlavor jetFlavor
Definition: BTagCalibration.h:41
~BTagEntry()
Definition: BTagCalibration.h:70
Definition: BTagCalibration.h:109
@ FLAV_C
Definition: BTagCalibration.h:34
std::string formula
Definition: BTagCalibration.h:76
p
Definition: Ntupliser_cfg.py:358
@ OP_LOOSE
Definition: BTagCalibration.h:27
float discrMax
Definition: BTagCalibration.h:47
OperatingPoint operatingPoint
Definition: BTagCalibration.h:38
@ OP_MEDIUM
Definition: BTagCalibration.h:28
Definition: BTagCalibration.h:24
Definition: BTagCalibration.h:154
OperatingPoint
Definition: BTagCalibration.h:26
float etaMin
Definition: BTagCalibration.h:42
Definition: BTagCalibration.h:37
BTagEntry()
Definition: BTagCalibration.h:65
std::pair< float, float > min_max_pt(BTagEntry::JetFlavor jf, float eta, float discr=0.) const
Definition: BTagCalibration.cc:658
double eval(BTagEntry::JetFlavor jf, float eta, float pt, float discr=0.) const
Definition: BTagCalibration.cc:641
std::string makeCSVLine() const
Definition: BTagCalibration.cc:243
std::string tagger_
Definition: BTagCalibration.h:129
std::string sysType
Definition: BTagCalibration.h:40
double eval_auto_bounds(const std::string &sys, BTagEntry::JetFlavor jf, float eta, float pt, float discr=0.) const
Definition: BTagCalibration.cc:649
std::shared_ptr< BTagCalibrationReaderImpl > pimpl
Definition: BTagCalibration.h:182
@ OP_RESHAPING
Definition: BTagCalibration.h:30
JetFlavor
Definition: BTagCalibration.h:32
std::map< std::string, std::vector< BTagEntry > > data_
Definition: BTagCalibration.h:130
float etaMax
Definition: BTagCalibration.h:43
BTagCalibration()
Definition: BTagCalibration.h:111
Parameters params
Definition: BTagCalibration.h:77
static std::string token(const BTagEntry::Parameters &par)
Definition: BTagCalibration.cc:359
void addEntry(const BTagEntry &entry)
Definition: BTagCalibration.cc:296
void load(const BTagCalibration &c, BTagEntry::JetFlavor jf, const std::string &measurementType="comb")
Definition: BTagCalibration.cc:634
@ OP_TIGHT
Definition: BTagCalibration.h:29
std::string makeCSV() const
Definition: BTagCalibration.cc:352
@ FLAV_B
Definition: BTagCalibration.h:33
static std::string trimStr(std::string str)
Definition: BTagCalibration.cc:261
static std::string makeCSVHeader()
Definition: BTagCalibration.cc:228
float ptMax
Definition: BTagCalibration.h:45
Definition: BTagCalibration.cc:372
@ FLAV_UDSG
Definition: BTagCalibration.h:35
eta
DeepAK8/ParticleNet tagging.
Definition: jmarExample.py:19
float ptMin
Definition: BTagCalibration.h:44
void readCSV(std::istream &s)
Definition: BTagCalibration.cc:320
Parameters(OperatingPoint op=OP_TIGHT, std::string measurement_type="comb", std::string sys_type="central", JetFlavor jf=FLAV_B, float eta_min=-99999., float eta_max=99999., float pt_min=0., float pt_max=99999., float discr_min=0., float discr_max=99999.)
Definition: BTagCalibration.cc:10