10#include <tracking/trackFindingCDC/varsets/BaseVarSet.h>
11#include <tracking/trackFindingCDC/varsets/UnionVarSet.h>
13#include <tracking/trackFindingCDC/utilities/EvalVariadic.h>
14#include <tracking/trackFindingCDC/utilities/Named.h>
15#include <tracking/trackFindingCDC/utilities/MayBePtr.h>
27 namespace TrackFindingCDC {
36 template <
class... AVarSets>
94 MayBePtr<Float_t>
find(
const std::string& varName)
override
Generic class that generates some named float values from a given object.
AObject Object
Object type from which variables shall be extracted.
virtual bool extract(const Object *obj)
Main method that extracts the variable values from the complex object.
std::vector< Named< Float_t * > > getNamedVariables()
Getter for the named references to the individual variables.
void initialize() override
Receive and dispatch signal before the start of the event processing.
void addProcessingSignalListener(ProcessingSignalListener *psl)
Register a processing signal listener to be notified.
Class that accommodates many variable sets and presents them as on set of variables.
size_t size() const
Return the number of currently contained variable sets.
bool extract(const Object *obj) final
Main method that extracts the variable values from the complex object.
std::vector< Named< Float_t * > > getNamedVariables(const std::string &prefix) override
Getter for the named references to the individual variables Base implementation returns empty vector.
void push_back(std::unique_ptr< ContainedVarSet > varSet)
Add a variable set to the contained variable sets.
MayBePtr< Float_t > find(const std::string &varName) override
Pointer to the variable with the given name.
Class that accommodates many variable sets and presents them as on set of variables.
typename Super::Object Object
Object type from which variables shall be extracted.
void initialize() final
Initialize all contained variable set before event processing.
bool extract(const Object *obj) final
Main method that extracts the variable values from the complex object.
VariadicUnionVarSet()
Create the union variable set.
std::vector< Named< Float_t * > > getNamedVariables(const std::string &prefix) override
Getter for the named references to the individual variables Base implementation returns empty vector.
UnionVarSet< Object > m_multiVarSet
Container for the multiple variable sets.
MayBePtr< Float_t > find(const std::string &varName) override
Pointer to the variable with the given name.
Abstract base class for different kinds of events.
Structure to serve as a placeholder for a variadic initializer list of statements to be evaluated.