#include <BTagPerformanceAnalyzerMC.h>
Classes | |
struct | JetRefCompare |
Public Member Functions | |
virtual void | analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup) |
BTagPerformanceAnalyzerMC (const edm::ParameterSet &pSet) | |
virtual void | endJob () |
~BTagPerformanceAnalyzerMC () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Types | |
typedef std::map < edm::RefToBase< reco::Jet > , unsigned int, JetRefCompare > | FlavourMap |
typedef std::pair< reco::Jet, reco::JetFlavour > | JetWithFlavour |
typedef std::map < edm::RefToBase< reco::Jet > , reco::JetFlavour::Leptons, JetRefCompare > | LeptonMap |
Private Member Functions | |
void | bookHistos (const edm::ParameterSet &pSet) |
EtaPtBin | getEtaPtBin (const int &iEta, const int &iPt) |
bool | getJetWithFlavour (edm::RefToBase< reco::Jet > caloRef, FlavourMap flavours, JetWithFlavour &jetWithFlavour, const edm::EventSetup &es) |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Top level steering routine for b tag performance analysis.
Definition at line 45 of file BTagPerformanceAnalyzerMC.h.
|
private |
Definition at line 68 of file BTagPerformanceAnalyzerMC.h.
|
private |
Definition at line 67 of file BTagPerformanceAnalyzerMC.h.
|
private |
Definition at line 69 of file BTagPerformanceAnalyzerMC.h.
|
explicit |
Definition at line 19 of file BTagPerformanceAnalyzerMC.cc.
References bookHistos(), electronPlots, edm::ParameterSet::getParameter(), jetMatcher, muonPlots, MatchJet::setThreshold(), and tauPlots.
BTagPerformanceAnalyzerMC::~BTagPerformanceAnalyzerMC | ( | ) |
Definition at line 234 of file BTagPerformanceAnalyzerMC.cc.
References binJetTagPlotters, binTagCorrelationPlotters, binTagInfoPlotters, differentialPlots, finalize, makeDiffPlots_, and mcPlots_.
|
virtual |
needed for lepton specific plots
needed for lepton specific plots
Implements edm::EDAnalyzer.
Definition at line 262 of file BTagPerformanceAnalyzerMC.cc.
References abs, edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::begin(), binJetTagPlotters, binTagCorrelationPlotters, binTagInfoPlotters, binTagInfoPlottersToModuleConfig, metsig::electron, electronPlots, edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::end(), eventInitialized, edm::hlt::Exception, finalizeOnly, edm::Event::getByLabel(), getJetWithFlavour(), edm::ProductID::id(), reco::BaseTagInfo::jet(), jetMCSrc, jetSelector, jetTagInputTags, reco_calib_source_client_cfg::labels, EgammaValidation_Wenu_cff::leptons, LogDebug, moduleConfig, metsig::muon, muonPlots, partonKinematics, edm::Handle< T >::product(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::size(), findQualityFiles::size, slInfoTag, tagCorrelationInputTags, tagInfoInputTags, BaseTagInfoPlotter::tagInfoRequirements(), metsig::tau, tauPlots, and tiDataFormatType.
|
private |
Definition at line 60 of file BTagPerformanceAnalyzerMC.cc.
References binJetTagPlotters, binTagCorrelationPlotters, binTagInfoPlotters, binTagInfoPlottersToModuleConfig, TagInfoPlotterFactory::buildPlotter(), BTagDifferentialPlot::constETA, BTagDifferentialPlot::constPT, differentialPlots, etaRanges, finalize, getEtaPtBin(), jetTagInputTags, edm::InputTag::label(), makeDiffPlots_, mcPlots_, moduleConfig, ptRanges, setTDRStyle(), tagCorrelationInputTags, tagInfoInputTags, tiDataFormatType, and update.
Referenced by BTagPerformanceAnalyzerMC().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 495 of file BTagPerformanceAnalyzerMC.cc.
References begin, binJetTagPlotters, binTagInfoPlotters, differentialPlots, epsBaseName, finalize, makeDiffPlots_, produceEps, producePs, psBaseName, and setTDRStyle().
|
private |
Definition at line 203 of file BTagPerformanceAnalyzerMC.cc.
References etaRanges, funct::false, ptRanges, and funct::true.
Referenced by bookHistos().
|
private |
Definition at line 453 of file BTagPerformanceAnalyzerMC.cc.
References eventInitialized, i, edm::ProductID::id(), edm::RefToBase< T >::id(), edm::RefToBase< T >::isNull(), jetCorrector, jetMatcher, LogTrace, MatchJet::matchCollections(), edm::RefToBaseVector< T >::push_back(), CorrectJet::setEventSetup(), and edm::View< T >::size().
Referenced by analyze().
|
private |
Definition at line 83 of file BTagPerformanceAnalyzerMC.h.
|
private |
Definition at line 89 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze(), bookHistos(), endJob(), and ~BTagPerformanceAnalyzerMC().
|
private |
Definition at line 90 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze(), bookHistos(), and ~BTagPerformanceAnalyzerMC().
|
private |
Definition at line 91 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze(), bookHistos(), endJob(), and ~BTagPerformanceAnalyzerMC().
|
private |
Definition at line 99 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze(), and bookHistos().
|
private |
Definition at line 96 of file BTagPerformanceAnalyzerMC.h.
Referenced by bookHistos(), endJob(), and ~BTagPerformanceAnalyzerMC().
|
private |
Definition at line 107 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze(), and BTagPerformanceAnalyzerMC().
|
private |
Definition at line 82 of file BTagPerformanceAnalyzerMC.h.
Referenced by endJob().
|
private |
Definition at line 80 of file BTagPerformanceAnalyzerMC.h.
Referenced by bookHistos(), and getEtaPtBin().
|
private |
Definition at line 106 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze(), and getJetWithFlavour().
|
private |
Definition at line 84 of file BTagPerformanceAnalyzerMC.h.
Referenced by bookHistos(), endJob(), and ~BTagPerformanceAnalyzerMC().
|
private |
Definition at line 85 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze().
|
private |
Definition at line 82 of file BTagPerformanceAnalyzerMC.h.
|
private |
Definition at line 103 of file BTagPerformanceAnalyzerMC.h.
Referenced by getJetWithFlavour().
|
private |
Definition at line 104 of file BTagPerformanceAnalyzerMC.h.
Referenced by BTagPerformanceAnalyzerMC(), and getJetWithFlavour().
|
private |
Definition at line 86 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze().
|
private |
Definition at line 79 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze().
|
private |
Definition at line 92 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze(), and bookHistos().
|
private |
Definition at line 101 of file BTagPerformanceAnalyzerMC.h.
Referenced by bookHistos(), endJob(), and ~BTagPerformanceAnalyzerMC().
|
private |
Definition at line 101 of file BTagPerformanceAnalyzerMC.h.
Referenced by bookHistos(), and ~BTagPerformanceAnalyzerMC().
|
private |
Definition at line 98 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze(), and bookHistos().
|
private |
Definition at line 107 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze(), and BTagPerformanceAnalyzerMC().
|
private |
Definition at line 77 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze().
|
private |
Definition at line 81 of file BTagPerformanceAnalyzerMC.h.
Referenced by endJob().
|
private |
Definition at line 81 of file BTagPerformanceAnalyzerMC.h.
Referenced by endJob().
|
private |
Definition at line 82 of file BTagPerformanceAnalyzerMC.h.
Referenced by endJob().
|
private |
Definition at line 78 of file BTagPerformanceAnalyzerMC.h.
|
private |
Definition at line 78 of file BTagPerformanceAnalyzerMC.h.
|
private |
Definition at line 80 of file BTagPerformanceAnalyzerMC.h.
Referenced by bookHistos(), and getEtaPtBin().
|
private |
Definition at line 87 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze().
|
private |
Definition at line 93 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze(), and bookHistos().
|
private |
Definition at line 94 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze(), and bookHistos().
|
private |
Definition at line 107 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze(), and BTagPerformanceAnalyzerMC().
|
private |
Definition at line 76 of file BTagPerformanceAnalyzerMC.h.
Referenced by analyze(), and bookHistos().
|
private |
Definition at line 83 of file BTagPerformanceAnalyzerMC.h.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.Steps::__setitem__(), python.seqvaluedict.seqdict::__setslice__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), bookHistos(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), python.seqvaluedict.seqdict::extend(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), relval_steps.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().