Mēnsūra
|
Filter to perform event selection based on jet multiplicity. More...
#include <JetFilter.hpp>
Public Member Functions | |
JetFilter (std::string const name, double minPt, BTagger const &bTagger) noexcept | |
Creates filter with the given name and parameters for jet counting. More... | |
JetFilter (double minPt, BTagger const &bTagger) noexcept | |
A short-cut for the above version with default name "JetFilter". | |
JetFilter (JetFilter const &)=default | |
JetFilter (JetFilter &&)=default | |
Default move constructor. | |
JetFilter & | operator= (JetFilter const &)=delete |
Assignment operator is disabled. | |
virtual | ~JetFilter () noexcept |
Trivial destructor. | |
void | AddSelectionBin (unsigned minJets, unsigned maxJets, unsigned minTags, unsigned maxTags) |
Adds a new selection bin. | |
void | AddSelectionBin (unsigned nJets, unsigned nTags) |
Adds a new selection bin. More... | |
virtual void | BeginRun (Dataset const &) override |
Performs initialization for a new dataset. More... | |
virtual Plugin * | Clone () const override |
Creates a newly configured clone. More... | |
![]() | |
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. | |
virtual void | EndRun () |
Performs necessary actions needed after processing of a dataset is finished. More... | |
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... | |
Filter to perform event selection based on jet multiplicity.
The filter counts jets above a user-defined pt threshold. Out of the selected jets, it also counts those that are b-tagged according to the provided algorithm and working point. The event is accepted if these two multiplicities fall into one of 2D regions of acceptance (selection bins)provided by the user.
The filter relies on the presence of a JetMETReader and a BTagWPService. The default names are "JetMET" and "BTagWP" respectively.
|
noexcept |
Creates filter with the given name and parameters for jet counting.
Only jets with transverse momenta larger than the given threshold are considered. Among them, b-tagged jets are defined by the given b tagger.
void JetFilter::AddSelectionBin | ( | unsigned | nJets, |
unsigned | nTags | ||
) |
Adds a new selection bin.
The bin consists of a single point in the multiplicity plane.
|
overridevirtual |
|
overridevirtual |