![]() |
DAS
3.0
Das Analysis System
|
Generic plugin class.
If the DT::plugin
has been provided in the options of a command, plugins inheriting from this class may be loaded using -p
options. Several plugins may be given. Plugins are then called at the beginning and at the end (although before filling the tree, if applicable) of the loop:
at the end, they are called in the reverse order.
Typical use cases are:
In case plugins are used, the options can only be given via the config file.
If the DT::plugin
has been provided in the options of a command, plugins inheriting from this class may be loaded using -p
options. Several plugins may be given. Plugins are then called at the beginning and at the end (although before filling the tree, if applicable) of the loop:
at the end, they are called in the reverse order.
Typical use cases are:
In case plugins are used, the options can only be given via the config file.
#include <GenericPlugin.h>
Public Member Functions | |
GenericPlugin ()=default | |
virtual | ~GenericPlugin ()=default |
virtual void | ExecuteAtBegin (const std::set< Darwin::Physics::Variation > &={Darwin::Physics::nominal}) |
virtual void | ExecuteAtEnd (const std::set< Darwin::Physics::Variation > &={Darwin::Physics::nominal}) |
virtual void | Write (TDirectory *) |
GenericPlugin ()=default | |
virtual | ~GenericPlugin ()=default |
virtual void | ExecuteAtBegin (const std::set< Darwin::Physics::Variation > &={Darwin::Physics::nominal}) |
virtual void | ExecuteAtEnd (const std::set< Darwin::Physics::Variation > &={Darwin::Physics::nominal}) |
virtual void | Write (TDirectory *) |
![]() | |
IPlugin ()=default | |
virtual | ~IPlugin () |
void | SetPath (const std::filesystem::path &file) noexcept |
virtual void | Load (Darwin::Tools::Flow &, Darwin::Tools::MetaInfo &, int=0, const boost::property_tree::ptree &={}) |
IPlugin ()=default | |
virtual | ~IPlugin () |
void | SetPath (const std::filesystem::path &file) noexcept |
virtual void | Load (Darwin::Tools::Flow &, Darwin::Tools::MetaInfo &, int=0, const boost::property_tree::ptree &={}) |
Additional Inherited Members | |
![]() | |
virtual int | GetParamsVeto () noexcept |
virtual int | GetParamsVeto () noexcept |
![]() | |
int | steering = none |
bool | isMC = false |
|
default |
Trivial constructor.
|
virtualdefault |
Trivial destructor.
|
default |
Trivial constructor.
|
virtualdefault |
Trivial destructor.
|
inlinevirtual |
Operation to execute at the beginning of the event loop.
Reimplemented in PhysicsObjectFlattener< GenObject, RecObject >, PhysicsObjectFlattener< GenObject, RecObject >, PhysicsObjectFlattener< GenMuon, RecMuon >, PhysicsObjectFlattener< GenMuon, RecMuon >, PhysicsObjectFlattener< GenJet, RecJet >, and PhysicsObjectFlattener< GenJet, RecJet >.
|
inlinevirtual |
Operation to execute at the beginning of the event loop.
Reimplemented in PhysicsObjectFlattener< GenObject, RecObject >, PhysicsObjectFlattener< GenObject, RecObject >, PhysicsObjectFlattener< GenMuon, RecMuon >, PhysicsObjectFlattener< GenMuon, RecMuon >, PhysicsObjectFlattener< GenJet, RecJet >, and PhysicsObjectFlattener< GenJet, RecJet >.
|
inlinevirtual |
Operation to execute at the end of the event loop.
Reimplemented in PhysicsObjectFlattener< GenObject, RecObject >, PhysicsObjectFlattener< GenObject, RecObject >, PhysicsObjectFlattener< GenMuon, RecMuon >, PhysicsObjectFlattener< GenMuon, RecMuon >, PhysicsObjectFlattener< GenJet, RecJet >, and PhysicsObjectFlattener< GenJet, RecJet >.
|
inlinevirtual |
Operation to execute at the end of the event loop.
Reimplemented in PhysicsObjectFlattener< GenObject, RecObject >, PhysicsObjectFlattener< GenObject, RecObject >, PhysicsObjectFlattener< GenMuon, RecMuon >, PhysicsObjectFlattener< GenMuon, RecMuon >, PhysicsObjectFlattener< GenJet, RecJet >, and PhysicsObjectFlattener< GenJet, RecJet >.