Filter adapter to make a filter work on a set of variables and record the observed instances on invokation.
More...
#include <RecordingFilter.dcl.h>
|
using | Object = typename AFilter::Object |
| Type of the object to be analysed.
|
|
|
| Recording (std::unique_ptr< AVarSet > varSet, const std::string &defaultRootFileName="records.root", const std::string &defaultTreeName="records") |
| Constructor of the filter.
|
|
| ~Recording () |
| Default destructor.
|
|
void | exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) override |
| Expose the set of parameters of the filter to the module parameter list.
|
|
void | initialize () override |
| Initialize the recorder before event processing.
|
|
void | terminate () override |
| Initialize the recorder after event processing.
|
|
Weight | operator() (const Object &obj) final |
| Function to evaluate the cluster for its backgroundness.
|
|
bool | needsTruthInformation () override |
| Checks if any variables need Monte Carlo information.
|
|
std::unique_ptr< AVarSet > | releaseVarSet () && |
| Steal the set of variables form this filter - filter becomes disfunctional afterwards.
|
|
|
MayBePtr< AFilter > | getSkimFilter () const |
| Getter for the skim filter to select objects to be recorded.
|
|
void | setSkimFilter (std::unique_ptr< AFilter > skimFilter) |
| Setter for the skim filter to select objects to be recorded.
|
|
AVarSet & | getVarSet () const |
| Getter for the set of variables.
|
|
void | setVarSet (std::unique_ptr< AVarSet > varSet) |
| Setter for the set of variables.
|
|
template<class AFilter>
class Belle2::TrackFindingCDC::Recording< AFilter >
Filter adapter to make a filter work on a set of variables and record the observed instances on invokation.
Definition at line 34 of file RecordingFilter.dcl.h.
The documentation for this class was generated from the following files: