CP3-llbb Framework
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
BTaggingScaleFactors Class Reference
Inheritance diagram for BTaggingScaleFactors:
Inheritance graph
[legend]

Public Types

typedef std::tuple< Algorithm, SystFlavor, std::string > branch_key_type
 
typedef std::tuple< Algorithm, Flavor, std::string > sf_key_type
 

Public Member Functions

 BTaggingScaleFactors (ROOT::TreeGroup &tree)
 
virtual void create_branches (const edm::ParameterSet &) final
 
virtual void store_scale_factors (Algorithm algo, Flavor flavor, const Parameters &, bool isData) final
 
virtual bool has_scale_factors (Algorithm algo) final
 

Static Public Member Functions

static std::string algorithm_to_string (Algorithm algo)
 
static Algorithm string_to_algorithm (const std::string &algo)
 
static std::string flavor_to_string (Flavor flavor)
 
static SystFlavor flavor_to_syst_flavor (Flavor flavor)
 
static std::string syst_flavor_to_string (SystFlavor flavor)
 
static Flavor string_to_flavor (const std::string &flavor)
 
static Flavor get_flavor (int hadron_flavor)
 

Static Public Attributes

static std::array< SystFlavor, 2 > SystFlavors = {{SystFlavor::HEAVY, SystFlavor::LIGHT}}
 

Protected Member Functions

virtual float get_scale_factor (Algorithm algo, Flavor flavor, const std::string &wp, size_t index, Variation variation=Variation::Nominal) final
 

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