Class to calculate the jet combination LR value and purity from a root-file with fit functions. More...
#include "TopQuarkAnalysis/TopLeptonSelection/interface/TtSemiLRSignalSelCalc.h"
Public Member Functions | |
void | operator() (TtSemiEvtSolution &) |
TtSemiLRSignalSelCalc () | |
TtSemiLRSignalSelCalc (const TString &, const std::vector< int > &) | |
~TtSemiLRSignalSelCalc () | |
Private Attributes | |
bool | addPurity |
LRHelpFunctions * | myLR |
Class to calculate the jet combination LR value and purity from a root-file with fit functions.
Definition at line 31 of file TtSemiLRSignalSelCalc.h.
TtSemiLRSignalSelCalc::TtSemiLRSignalSelCalc | ( | ) |
TtSemiLRSignalSelCalc::TtSemiLRSignalSelCalc | ( | const TString & | fitInputPath, |
const std::vector< int > & | observables | ||
) |
Definition at line 9 of file TtSemiLRSignalSelCalc.cc.
References addPurity, gather_cfg::cout, myLR, and LRHelpFunctions::readObsHistsAndFits().
TtSemiLRSignalSelCalc::~TtSemiLRSignalSelCalc | ( | ) |
void TtSemiLRSignalSelCalc::operator() | ( | TtSemiEvtSolution & | sol | ) |
Definition at line 21 of file TtSemiLRSignalSelCalc.cc.
References addPurity, LRHelpFunctions::calcLRval(), LRHelpFunctions::calcProb(), TtSemiEvtSolution::getLRSignalEvtObsVal(), myLR, class-composition::o, LRHelpFunctions::obsFitIncluded(), TtSemiEvtSolution::setLRSignalEvtLRval(), and TtSemiEvtSolution::setLRSignalEvtProb().
|
private |
Definition at line 41 of file TtSemiLRSignalSelCalc.h.
Referenced by operator()(), and TtSemiLRSignalSelCalc().
|
private |
Definition at line 40 of file TtSemiLRSignalSelCalc.h.
Referenced by operator()(), TtSemiLRSignalSelCalc(), and ~TtSemiLRSignalSelCalc().