![]() |
![]() |
#include <BTagDifferentialPlot.h>
Public Types | |
enum | ConstVarType { constPT, constETA } |
Public Member Functions | |
void | addBinPlotter (std::shared_ptr< JetTagPlotter > aPlotter) |
BTagDifferentialPlot (double bEff, const ConstVarType &constVariable, const std::string &tagName, unsigned int mc) | |
void | epsPlot (const std::string &name) |
TH1F * | getDifferentialHistoB_b () |
TH1F * | getDifferentialHistoB_c () |
TH1F * | getDifferentialHistoB_d () |
TH1F * | getDifferentialHistoB_dus () |
TH1F * | getDifferentialHistoB_dusg () |
TH1F * | getDifferentialHistoB_g () |
TH1F * | getDifferentialHistoB_ni () |
TH1F * | getDifferentialHistoB_pu () |
TH1F * | getDifferentialHistoB_s () |
TH1F * | getDifferentialHistoB_u () |
void | plot (TCanvas &theCanvas) |
void | plot (const std::string &name, const std::string &ext) |
void | process (DQMStore::IBooker &ibook) |
void | psPlot (const std::string &name) |
~BTagDifferentialPlot () | |
Private Member Functions | |
void | bookHisto (DQMStore::IBooker &ibook) |
void | fillHisto () |
std::pair< double, double > | getMistag (const double &fixedBEfficiency, TH1F *effPurHist) |
void | setVariableName () |
Private Attributes | |
std::string | commonName |
ConstVarType | constVar |
std::string | constVariableName |
std::pair< double, double > | constVariableValue |
std::string | diffVariableName |
double | fixedBEfficiency |
unsigned int | mcPlots_ |
bool | noProcessing |
bool | processed |
std::vector< std::shared_ptr< JetTagPlotter > > | theBinPlotters |
MonitorElement * | theDifferentialHistoB_b |
MonitorElement * | theDifferentialHistoB_c |
MonitorElement * | theDifferentialHistoB_d |
MonitorElement * | theDifferentialHistoB_dus |
MonitorElement * | theDifferentialHistoB_dusg |
MonitorElement * | theDifferentialHistoB_g |
MonitorElement * | theDifferentialHistoB_ni |
MonitorElement * | theDifferentialHistoB_pu |
MonitorElement * | theDifferentialHistoB_s |
MonitorElement * | theDifferentialHistoB_u |
Definition at line 16 of file BTagDifferentialPlot.h.
BTagDifferentialPlot::BTagDifferentialPlot | ( | double | bEff, |
const ConstVarType & | constVariable, | ||
const std::string & | tagName, | ||
unsigned int | mc | ||
) |
Definition at line 20 of file BTagDifferentialPlot.cc.
BTagDifferentialPlot::~BTagDifferentialPlot | ( | ) |
Definition at line 40 of file BTagDifferentialPlot.cc.
|
inline |
Definition at line 26 of file BTagDifferentialPlot.h.
References epsPlot(), dataset::name, plot(), process(), psPlot(), AlCaHLTBitMon_QueryRunRegistry::string, and theBinPlotters.
|
private |
Definition at line 203 of file BTagDifferentialPlot.cc.
References HistoProviderDQM::book1D(), commonName, constVariableName, constVariableValue, diffVariableName, fixedBEfficiency, EtaPtBin::getEtaActive(), EtaPtBin::getEtaMax(), EtaPtBin::getEtaMin(), EtaPtBin::getPtActive(), EtaPtBin::getPtMax(), EtaPtBin::getPtMin(), label, mcPlots_, MatrixUtil::remove(), python.rootplot.root2matplotlib::replace(), AlCaHLTBitMon_QueryRunRegistry::string, theBinPlotters, theDifferentialHistoB_b, theDifferentialHistoB_c, theDifferentialHistoB_d, theDifferentialHistoB_dus, theDifferentialHistoB_dusg, theDifferentialHistoB_g, theDifferentialHistoB_ni, theDifferentialHistoB_pu, theDifferentialHistoB_s, and theDifferentialHistoB_u.
Referenced by getDifferentialHistoB_pu(), and process().
void BTagDifferentialPlot::epsPlot | ( | const std::string & | name | ) |
Definition at line 159 of file BTagDifferentialPlot.cc.
References plot().
Referenced by addBinPlotter().
|
private |
Definition at line 260 of file BTagDifferentialPlot.cc.
References diffVariableName, Exception, fixedBEfficiency, EffPurFromHistos::getEffFlavVsBEff_b(), EffPurFromHistos::getEffFlavVsBEff_c(), EffPurFromHistos::getEffFlavVsBEff_d(), EffPurFromHistos::getEffFlavVsBEff_dus(), EffPurFromHistos::getEffFlavVsBEff_dusg(), EffPurFromHistos::getEffFlavVsBEff_g(), EffPurFromHistos::getEffFlavVsBEff_ni(), EffPurFromHistos::getEffFlavVsBEff_pu(), EffPurFromHistos::getEffFlavVsBEff_s(), EffPurFromHistos::getEffFlavVsBEff_u(), EtaPtBin::getEtaActive(), EtaPtBin::getEtaMax(), EtaPtBin::getEtaMin(), getMistag(), EtaPtBin::getPtActive(), EtaPtBin::getPtMax(), EtaPtBin::getPtMin(), MonitorElement::getTH1F(), mcPlots_, theBinPlotters, theDifferentialHistoB_b, theDifferentialHistoB_c, theDifferentialHistoB_d, theDifferentialHistoB_dus, theDifferentialHistoB_dusg, theDifferentialHistoB_g, theDifferentialHistoB_ni, theDifferentialHistoB_pu, theDifferentialHistoB_s, and theDifferentialHistoB_u.
Referenced by getDifferentialHistoB_pu(), and process().
|
inline |
Definition at line 45 of file BTagDifferentialPlot.h.
References MonitorElement::getTH1F(), and theDifferentialHistoB_b.
|
inline |
Definition at line 44 of file BTagDifferentialPlot.h.
References MonitorElement::getTH1F(), and theDifferentialHistoB_c.
|
inline |
Definition at line 41 of file BTagDifferentialPlot.h.
References MonitorElement::getTH1F(), and theDifferentialHistoB_d.
|
inline |
Definition at line 48 of file BTagDifferentialPlot.h.
References MonitorElement::getTH1F(), and theDifferentialHistoB_dus.
|
inline |
Definition at line 49 of file BTagDifferentialPlot.h.
References MonitorElement::getTH1F(), and theDifferentialHistoB_dusg.
|
inline |
Definition at line 46 of file BTagDifferentialPlot.h.
References MonitorElement::getTH1F(), and theDifferentialHistoB_g.
|
inline |
Definition at line 47 of file BTagDifferentialPlot.h.
References MonitorElement::getTH1F(), and theDifferentialHistoB_ni.
|
inline |
Definition at line 50 of file BTagDifferentialPlot.h.
References bookHisto(), fillHisto(), fixedBEfficiency, getMistag(), MonitorElement::getTH1F(), setVariableName(), and theDifferentialHistoB_pu.
|
inline |
Definition at line 43 of file BTagDifferentialPlot.h.
References MonitorElement::getTH1F(), and theDifferentialHistoB_s.
|
inline |
Definition at line 42 of file BTagDifferentialPlot.h.
References MonitorElement::getTH1F(), and theDifferentialHistoB_u.
|
private |
Definition at line 320 of file BTagDifferentialPlot.cc.
References mps_fire::i.
Referenced by fillHisto(), and getDifferentialHistoB_pu().
void BTagDifferentialPlot::plot | ( | TCanvas & | theCanvas | ) |
Definition at line 48 of file BTagDifferentialPlot.cc.
References MillePedeFileConverter_cfg::e, MonitorElement::getTH1F(), mcPlots_, processed, theDifferentialHistoB_c, theDifferentialHistoB_dus, theDifferentialHistoB_g, and theDifferentialHistoB_ni.
Referenced by addBinPlotter(), epsPlot(), plot(), and psPlot().
void BTagDifferentialPlot::plot | ( | const std::string & | name, |
const std::string & | ext | ||
) |
Definition at line 169 of file BTagDifferentialPlot.cc.
References commonName, plot(), and processed.
void BTagDifferentialPlot::process | ( | DQMStore::IBooker & | ibook | ) |
Definition at line 178 of file BTagDifferentialPlot.cc.
References bookHisto(), fillHisto(), noProcessing, processed, and setVariableName().
Referenced by addBinPlotter(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::dumpPython(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::open(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::setProcess(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::setProperty().
void BTagDifferentialPlot::psPlot | ( | const std::string & | name | ) |
Definition at line 164 of file BTagDifferentialPlot.cc.
References plot().
Referenced by addBinPlotter().
|
private |
Definition at line 187 of file BTagDifferentialPlot.cc.
References constETA, constPT, constVar, constVariableName, constVariableValue, diffVariableName, and theBinPlotters.
Referenced by getDifferentialHistoB_pu(), and process().
|
private |
Definition at line 80 of file BTagDifferentialPlot.h.
Referenced by bookHisto(), and plot().
|
private |
Definition at line 70 of file BTagDifferentialPlot.h.
Referenced by setVariableName().
|
private |
Definition at line 72 of file BTagDifferentialPlot.h.
Referenced by bookHisto(), and setVariableName().
|
private |
Definition at line 77 of file BTagDifferentialPlot.h.
Referenced by bookHisto(), and setVariableName().
|
private |
Definition at line 74 of file BTagDifferentialPlot.h.
Referenced by bookHisto(), fillHisto(), and setVariableName().
|
private |
Definition at line 64 of file BTagDifferentialPlot.h.
Referenced by bookHisto(), fillHisto(), and getDifferentialHistoB_pu().
|
private |
Definition at line 98 of file BTagDifferentialPlot.h.
Referenced by bookHisto(), fillHisto(), and plot().
|
private |
Definition at line 67 of file BTagDifferentialPlot.h.
Referenced by process().
|
private |
Definition at line 68 of file BTagDifferentialPlot.h.
|
private |
Definition at line 83 of file BTagDifferentialPlot.h.
Referenced by addBinPlotter(), bookHisto(), fillHisto(), and setVariableName().
|
private |
Definition at line 90 of file BTagDifferentialPlot.h.
Referenced by bookHisto(), fillHisto(), and getDifferentialHistoB_b().
|
private |
Definition at line 89 of file BTagDifferentialPlot.h.
Referenced by bookHisto(), fillHisto(), getDifferentialHistoB_c(), and plot().
|
private |
Definition at line 86 of file BTagDifferentialPlot.h.
Referenced by bookHisto(), fillHisto(), and getDifferentialHistoB_d().
|
private |
Definition at line 93 of file BTagDifferentialPlot.h.
Referenced by bookHisto(), fillHisto(), getDifferentialHistoB_dus(), and plot().
|
private |
Definition at line 94 of file BTagDifferentialPlot.h.
Referenced by bookHisto(), fillHisto(), and getDifferentialHistoB_dusg().
|
private |
Definition at line 91 of file BTagDifferentialPlot.h.
Referenced by bookHisto(), fillHisto(), getDifferentialHistoB_g(), and plot().
|
private |
Definition at line 92 of file BTagDifferentialPlot.h.
Referenced by bookHisto(), fillHisto(), getDifferentialHistoB_ni(), and plot().
|
private |
Definition at line 95 of file BTagDifferentialPlot.h.
Referenced by bookHisto(), fillHisto(), and getDifferentialHistoB_pu().
|
private |
Definition at line 88 of file BTagDifferentialPlot.h.
Referenced by bookHisto(), fillHisto(), and getDifferentialHistoB_s().
|
private |
Definition at line 87 of file BTagDifferentialPlot.h.
Referenced by bookHisto(), fillHisto(), and getDifferentialHistoB_u().