Mēnsūra
|
An abstract base class for a reader plugin that provides collection jets and MET. More...
#include <JetMETReader.hpp>
Public Member Functions | |
JetMETReader (std::string const name="JetMET") | |
Creates plugin with the given name. More... | |
JetMETReader (JetMETReader const &)=default | |
Default copy constructor. | |
JetMETReader (JetMETReader &&)=default | |
Default move constructor. | |
JetMETReader & | operator= (JetMETReader const &)=default |
Default assignment operator. | |
virtual | ~JetMETReader () noexcept |
Trivial destructor. | |
std::vector< Jet > const & | GetJets () const |
Returns collection of corrected jets in the current event. | |
virtual double | GetJetRadius () const =0 |
Returns radius parameter used in the jet clustering algorithm. | |
MET const & | GetMET () const |
Returns corrected MET in the current event. | |
MET const & | GetRawMET () const |
Returns raw MET in the current event. | |
![]() | |
ReaderPlugin (std::string const &name) | |
Constructor. | |
ReaderPlugin (ReaderPlugin const &)=default | |
Default copy constructor. | |
ReaderPlugin (ReaderPlugin &&)=default | |
Default move constructor. | |
ReaderPlugin & | operator= (ReaderPlugin const &)=default |
Default assignment operator. | |
virtual | ~ReaderPlugin () |
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 | BeginRun (Dataset const &dataset) |
Performs initialization needed when processing of a new dataset starts. More... | |
virtual Plugin * | Clone () const =0 |
Clones the object. More... | |
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... | |
Protected Attributes | |
std::vector< Jet > | jets |
Collection of (corrected) jets in the current event. | |
MET | met |
Corrected MET in the current event. | |
MET | rawMET |
Raw MET in the current event. | |
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... | |
An abstract base class for a reader plugin that provides collection jets and MET.
Reconstructed jets and MET are expected to be fully corrected.
JetMETReader::JetMETReader | ( | std::string const | name = "JetMET" | ) |
Creates plugin with the given name.
User is encouraged to keep the default name.