#include <CalibrationDataInterfaceBase.h>
Public Types | |
enum | variableType { kEta, kAbsEta, kPt } |
known variable types that can be used as function arguments | |
Public Member Functions | |
virtual | ~CalibrationDataInterfaceBase ()=0 |
const std::string & | EffCalibrationName (const std::string &flavour, unsigned int mapIndex=0) const |
void | setEffCalibrationNames (const std::map< std::string, std::vector< std::string > > &names) |
const std::string & | SFCalibrationName (const std::string &flavour) const |
void | setSFCalibrationNames (const std::map< std::string, std::string > &names) |
Protected Member Functions | |
std::string | getContainername (const std::string &flavour, bool SF, unsigned int mapIndex=0) const |
auxiliary function for string concatenation | |
std::string | getBasename (const std::string &name) const |
double | combinedUncertainty (double stat, const std::pair< double, double > &syst) const |
utility function for combination of statistical and (a priori asymmetric) systematic uncertainty. NB perhaps this should be in its own | |
Protected Attributes | |
std::string | m_taggerName |
tagging algorithm name |
This class provides some common functionality for other classes wishing to access Flavour Tagging performance estimates.
Analysis::CalibrationDataInterfaceBase::~CalibrationDataInterfaceBase | ( | ) | [pure virtual] |
default destructor
const std::string & Analysis::CalibrationDataInterfaceBase::EffCalibrationName | ( | const std::string & | flavour, | |
unsigned int | mapIndex = 0 | |||
) | const |
Main interface methods accessing the flavour tagging performance information. Note that for both of the following, the label is assumed to adhere to the TruthInfo conventions (see package PhysicsAnalysis/JetTagging/JetTagInfo).
std::string Analysis::CalibrationDataInterfaceBase::getBasename | ( | const std::string & | name | ) | const [protected] |
auxiliary function for retrieval of name within the directory
std::string Analysis::CalibrationDataInterfaceBase::getContainername | ( | const std::string & | flavour, | |
bool | SF, | |||
unsigned int | mapIndex = 0 | |||
) | const [protected] |
auxiliary function for string concatenation
auxiliary function for retrieval of container name