Mēnsūra
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
BTagEntry Class Reference

#include <BTagEntry.hpp>

Classes

struct  Parameters
 

Public Types

enum  OperatingPoint { OP_LOOSE =0, OP_MEDIUM =1, OP_TIGHT =2, OP_RESHAPING =3 }
 
enum  JetFlavor { FLAV_B =0, FLAV_C =1, FLAV_UDSG =2 }
 

Public Member Functions

 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
 

Static Public Member Functions

static std::string makeCSVHeader ()
 
static std::string trimStr (std::string str)
 

Public Attributes

std::string formula
 
Parameters params
 

Detailed Description

BTagEntry

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.


The documentation for this class was generated from the following files: