Mēnsūra
|
A plugin that evaluates and stores basic kinematical variables. More...
#include <BasicKinematicsPlugin.hpp>
Public Member Functions | |
BasicKinematicsPlugin (std::string const name="BasicKinematics") | |
Constructor. | |
BasicKinematicsPlugin (BasicKinematicsPlugin &&)=default | |
Default move constructor. | |
BasicKinematicsPlugin & | operator= (BasicKinematicsPlugin const &)=delete |
Assignment operator is deleted. | |
virtual | ~BasicKinematicsPlugin () noexcept |
Trivial destructor. | |
virtual void | BeginRun (Dataset const &dataset) override |
Creates a new output file and sets up a tree. 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... | |
A plugin that evaluates and stores basic kinematical variables.
This plugin represents an example of producing custom trees with some representative observables. It uses a TFileService with a default name "TFileService" to create the output tree. Inputs are access with dedicated readers with default names "Leptons", "JetMET", and "PileUp". In case of simulation, combined event weights are read from a WeightCollector with a default name "EventWeights".
|
overridevirtual |
|
overridevirtual |