#include <TaggingVariablePlotter.h>
|
void | analyzeTag (const reco::BaseTagInfo *baseTagInfo, double jec, int jetFlavour, float w=1) override |
|
void | analyzeTag (const reco::TaggingVariableList &variables, int jetFlavour, float w=1) |
|
void | epsPlot (const std::string &name) override |
|
void | finalize (DQMStore::IBooker &ibook_, DQMStore::IGetter &igetter_) override |
|
void | psPlot (const std::string &name) override |
|
| TaggingVariablePlotter (const std::string &tagName, const EtaPtBin &etaPtBin, const edm::ParameterSet &pSet, unsigned int mc, bool willFinalize, DQMStore::IBooker &ibook, const std::string &category=std::string()) |
|
| ~TaggingVariablePlotter () override |
|
virtual void | analyzeTag (const std::vector< const reco::BaseTagInfo * > &tagInfos, double jec, int jetFlavour, float w=1) |
|
| BaseTagInfoPlotter (const std::string &tagName, const EtaPtBin &etaPtBin) |
|
virtual void | setEventSetup (const edm::EventSetup &setup) |
|
virtual std::vector< std::string > | tagInfoRequirements () const |
|
| ~BaseTagInfoPlotter () override |
|
| BaseBTagPlotter (const std::string &tagName, const EtaPtBin &etaPtBin) |
|
const EtaPtBin & | etaPtBin () |
|
virtual | ~BaseBTagPlotter () |
|
Definition at line 14 of file TaggingVariablePlotter.h.
TaggingVariablePlotter::TaggingVariablePlotter |
( |
const std::string & |
tagName, |
|
|
const EtaPtBin & |
etaPtBin, |
|
|
const edm::ParameterSet & |
pSet, |
|
|
unsigned int |
mc, |
|
|
bool |
willFinalize, |
|
|
DQMStore::IBooker & |
ibook, |
|
|
const std::string & |
category = std::string() |
|
) |
| |
TaggingVariablePlotter::~TaggingVariablePlotter |
( |
| ) |
|
|
override |
void TaggingVariablePlotter::analyzeTag |
( |
const reco::BaseTagInfo * |
baseTagInfo, |
|
|
double |
jec, |
|
|
int |
jetFlavour, |
|
|
float |
w = 1 |
|
) |
| |
|
overridevirtual |
Definition at line 71 of file TaggingVariablePlotter.cc.
References looper::cfg, reco::TaggingVariableList::getList(), TaggingVariablePlotter::VariableConfig::Plot::histo, TaggingVariablePlotter::VariableConfig::Plot::index, plotFactory::plot, findQualityFiles::size, heppy_batch::val, MuonErrorMatrixValues_cff::values, and variables.
73 for (
const VariableConfig&
cfg: variables) {
74 const std::vector<TaggingValue>
values(
vars.getList(
cfg.var,
false));
80 for (
const VariableConfig::Plot&
plot:
cfg.plots) {
81 if (plot.index == 0) {
83 plot.histo->fill(jetFlavour,
val,
w);
84 }
else if (plot.index - 1 < size)
85 plot.histo->fill(jetFlavour, values[plot.index - 1],
w);
void TaggingVariablePlotter::epsPlot |
( |
const std::string & |
name | ) |
|
|
inlineoverridevirtual |
void TaggingVariablePlotter::psPlot |
( |
const std::string & |
name | ) |
|
|
inlineoverridevirtual |
unsigned int TaggingVariablePlotter::mcPlots_ |
|
private |