Mēnsūra
|
Fills histograms that can be used to calculate b-tagging efficiency. More...
#include <BTagEffHistograms.hpp>
Public Member Functions | |
BTagEffHistograms (std::string const &name, BTagger::Algorithm algo, std::list< BTagger::WorkingPoint > const &workingPoints) | |
Creates a plugin with the given name and b-tagging configuration. | |
BTagEffHistograms (BTagger::Algorithm algo, std::list< BTagger::WorkingPoint > const &workingPoints) | |
A short-cut for the above version with a default name "BTagEffHistograms". | |
BTagEffHistograms (BTagEffHistograms const &)=default | |
Default copy constructor. | |
BTagEffHistograms (BTagEffHistograms &&)=default | |
Default move constructor. | |
BTagEffHistograms & | operator= (BTagEffHistograms const &)=delete |
Assignment operator is deleted. | |
virtual | ~BTagEffHistograms () noexcept |
Trivial destructor. | |
virtual void | BeginRun (Dataset const &) override |
Creates histograms for the new dataset. More... | |
virtual Plugin * | Clone () const override |
Creates a newly configured clone. More... | |
virtual void | EndRun () override |
Clears container with histograms. More... | |
void | SetEtaBinning (std::vector< double > const &etaBinning) |
Changes binning in absolute value of pseudorapidity. | |
void | SetPtBinning (std::vector< double > const &ptBinning) |
Changes binning in transverse momentum. | |
![]() | |
AnalysisPlugin (std::string const &name) | |
Constructor. | |
AnalysisPlugin (AnalysisPlugin const &)=default | |
Default copy constructor. | |
AnalysisPlugin (AnalysisPlugin &&)=default | |
Default move constructor. | |
AnalysisPlugin & | operator= (AnalysisPlugin const &)=default |
Default assignment operator. | |
virtual | ~AnalysisPlugin () |
Trivial destructor. | |
![]() | |
Plugin (std::string const &name) | |
Constructor. | |
Plugin (Plugin const &)=default | |
Default copy constructor. | |
Plugin (Plugin &&)=default | |
Default move constructor. | |
Plugin & | operator= (Plugin const &)=default |
Default assignment operator. | |
virtual | ~Plugin () |
Trivial destructor. | |
Processor const & | GetMaster () const |
Returns a reference to the master. More... | |
std::string const & | GetName () const |
Returns name of the plugin. | |
EventOutcome | ProcessEventToOutcome () |
Processes a new event from the current dataset. More... | |
void | SetMaster (Processor const *processor) |
Provides a pointer to an instance of Processor class that owns the plugin. More... | |
Additional Inherited Members | |
![]() | |
enum | EventOutcome { EventOutcome::Ok, EventOutcome::FilterFailed, EventOutcome::NoEvents } |
Outcome of processing of an event. More... | |
![]() | |
Plugin const * | GetDependencyPlugin (std::string const &name) const |
Returns a pointer to a precedent plugin in the path with the given name. More... | |
Fills histograms that can be used to calculate b-tagging efficiency.
This plugin fills histograms with jet distributions in pt and |eta| for each dataset. The histograms are filled for various jet flavours (b, c, other) with all jets in an event and jets passing given working points of a b-tagger. These histograms can then be used to calculate b-tagging efficiencies.
By default, the histograms have very fine binning. It is foreseen that bins will be merged when the efficiencies are calculated.
This plugin only accounts for the event weight due to pile-up.
This plugin depends on a number of services and plugins: BTagWPService (default name "BTagWP"), TFileService ("TFileService"), JetMETReader("JetMET"), PileUpWeight ("PileUpWeight").
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |