DESY Hbb Analysis Framework
|
#include <BTagCalibrationStandalone.h>
Classes | |
struct | Parameters |
Public Types | |
enum | JetFlavor { FLAV_B =0, FLAV_C =1, FLAV_UDSG =2 } |
enum | OperatingPoint { OP_LOOSE =0, OP_MEDIUM =1, OP_TIGHT =2, OP_RESHAPING =3 } |
Public Member Functions | |
BTagEntry () | |
BTagEntry (const std::string &csvLine) | |
BTagEntry (const std::string &func, Parameters p) | |
BTagEntry (const TF1 *func, Parameters p) | |
BTagEntry (const TH1 *histo, Parameters p) | |
std::string | makeCSVLine () const |
~BTagEntry () | |
Static Public Member Functions | |
static std::string | makeCSVHeader () |
static std::string | trimStr (std::string str) |
Public Attributes | |
std::string | formula |
Parameters | params |
Represents one pt- or discriminator-dependent calibration function.
measurement_type: e.g. comb, ttbar, di-mu, boosted, ... sys_type: e.g. central, plus, minus, plus_JEC, plus_JER, ...
Everything is converted into a function, as it is easiest to store it in a txt or json file.
Definition at line 24 of file BTagCalibrationStandalone.h.
enum BTagEntry::JetFlavor |
Enumerator | |
---|---|
FLAV_B | |
FLAV_C | |
FLAV_UDSG |
Definition at line 33 of file BTagCalibrationStandalone.h.
Enumerator | |
---|---|
OP_LOOSE | |
OP_MEDIUM | |
OP_TIGHT | |
OP_RESHAPING |
Definition at line 27 of file BTagCalibrationStandalone.h.
|
inline |
BTagEntry::BTagEntry | ( | const std::string & | csvLine | ) |
BTagEntry::BTagEntry | ( | const std::string & | func, |
Parameters | p | ||
) |
BTagEntry::BTagEntry | ( | const TF1 * | func, |
Parameters | p | ||
) |
BTagEntry::BTagEntry | ( | const TH1 * | histo, |
Parameters | p | ||
) |
|
inline |
Definition at line 71 of file BTagCalibrationStandalone.h.
References makeCSVHeader(), makeCSVLine(), and trimStr().
|
static |
Referenced by ~BTagEntry().
std::string BTagEntry::makeCSVLine | ( | ) | const |
Referenced by ~BTagEntry().
|
static |
Referenced by ~BTagEntry().
std::string BTagEntry::formula |
Definition at line 77 of file BTagCalibrationStandalone.h.
Parameters BTagEntry::params |
Definition at line 78 of file BTagCalibrationStandalone.h.