![]() |
Belle II Software
release-05-02-19
|
Generic class that generates some named float values from a given object. More...
#include <BaseVarSet.h>


Public Types | |
| using | Object = AObject |
| Object type from which variables shall be extracted. | |
Public Member Functions | |
| virtual | ~BaseVarSet ()=default |
| Making destructor virtual. | |
| virtual bool | extract (const Object *obj __attribute__((unused))) |
| Main method that extracts the variable values from the complex object. More... | |
| bool | extract (const Object &obj) |
| Method for extraction from an object instead of a pointer. | |
| virtual std::vector< Named< Float_t * > > | getNamedVariables (const std::string &prefix __attribute__((unused))) |
| Getter for the named references to the individual variables Base implementaton returns empty vector. More... | |
| std::vector< Named< Float_t * > > | getNamedVariables () |
| Getter for the named references to the individual variables. | |
| std::map< std::string, Float_t > | getNamedValues (const std::string &prefix) const |
| Getter for a map of names to float values. More... | |
| std::map< std::string, Float_t > | getNamedValues () const |
| Getter for a map of names to float values. | |
| virtual MayBePtr< Float_t > | find (const std::string &varName) |
| Pointer to the variable with the given name. More... | |
| void | initialize () override |
| Receive and dispatch signal before the start of the event processing. | |
| void | beginRun () override |
| Receive and dispatch signal for the beginning of a new run. | |
| void | beginEvent () override |
| Receive and dispatch signal for the start of a new event. | |
| void | endRun () override |
| Receive and dispatch signal for the end of the run. | |
| void | terminate () override |
| Receive and dispatch Signal for termination of the event processing. | |
Protected Member Functions | |
| void | addProcessingSignalListener (ProcessingSignalListener *psl) |
| Register a processing signal listener to be notified. | |
| int | getNProcessingSignalListener () |
| Get the number of currently registered listeners. | |
Private Types | |
| using | Super = ProcessingSignalListener |
| Type of the base class. | |
Private Attributes | |
| std::vector< ProcessingSignalListener * > | m_subordinaryProcessingSignalListeners |
| References to subordinary signal processing listener contained in this findlet. | |
| bool | m_initialized = false |
| Flag to keep track whether initialization happend before. | |
| bool | m_terminated = false |
| Flag to keep track whether termination happend before. | |
| std::string | m_initializedAs |
| Name of the type during initialisation. | |
Generic class that generates some named float values from a given object.
Base class defining the interface for various different implementation of sets of variables.
Definition at line 43 of file BaseVarSet.h.
|
inlinevirtual |
Main method that extracts the variable values from the complex object.
Definition at line 58 of file BaseVarSet.h.
|
inlinevirtual |
Pointer to the variable with the given name.
Returns nullptr if not found.
Reimplemented in VariadicUnionVarSet< AVarSets >, UnionVarSet< AObject >, UnionVarSet< Object >, FilterVarSet< AFilter >, RelationVarSet< ABaseVarSet >, VarSet< AVarNames >, VarSet< PXDStateBasicVarNames >, VarSet< BasicSegmentPairVarNames >, VarSet< SegmentTrackTruthVarNames >, VarSet< HitGapSegmentRelationVarNames >, VarSet< SVDResultTruthVarNames >, VarSet< BasicSegmentPairRelationVarNames >, VarSet< CDCStateTruthVarNames >, VarSet< FitlessSegmentPairVarNames >, VarSet< PXDResultTruthVarNames >, VarSet< TruthSegmentPairVarNames >, VarSet< FitlessSegmentRelationVarNames >, VarSet< BendFacetRelationVarNames >, VarSet< FitSegmentPairVarNames >, VarSet< HitGapSegmentPairVarNames >, VarSet< BestMatchedTruthVarNames >, VarSet< BasicTrackRelationVarNames >, VarSet< TruthSegmentPairRelationVarNames >, VarSet< FitlessFacetVarNames >, VarSet< AdvancedSegmentVarNames >, VarSet< BasicAxialSegmentPairVarNames >, VarSet< FitFacetRelationVarNames >, VarSet< BasicSegmentVarNames >, VarSet< FitSegmentRelationVarNames >, VarSet< StereoHitTruthVarNames >, VarSet< StereoHitVarNames >, VarSet< BasicTrackVarSetNames >, VarSet< SVDStateBasicVarNames >, VarSet< TruthSegmentVarNames >, VarSet< BendFacetVarNames >, VarSet< CDCPathTruthVarNames >, VarSet< CDCfromEclPathTruthVarNames >, VarSet< CDCStateBasicVarNames >, VarSet< FilterVarNames< AFilter > >, VarSet< RelationSVDResultVarNames >, VarSet< BasicFacetVarNames >, VarSet< CDCPathBasicVarNames >, VarSet< TruthTrackVarNames >, VarSet< BasicSegmentRelationVarNames >, VarSet< BkgTruthClusterVarNames >, VarSet< FitFacetVarNames >, VarSet< FitSegmentPairRelationVarNames >, VarSet< FitTrackRelationVarNames >, VarSet< BasicFacetRelationVarNames >, VarSet< HitGapAxialSegmentPairVarNames >, VarSet< SVDResultVarNames >, VarSet< PXDResultVarNames >, VarSet< PXDStateTruthVarNames >, VarSet< SVDStateTruthVarNames >, VarSet< FitlessAxialSegmentPairVarNames >, VarSet< CDCfromEclStateTruthVarNames >, VarSet< HitGapTrackRelationVarNames >, VarSet< SVDStateVarNames >, VarSet< SegmentTrackVarNames >, VarSet< TrailSegmentPairVarNames >, VarSet< TruthAxialSegmentPairVarNames >, VarSet< FitAxialSegmentPairVarNames >, and VarSet< BasicClusterVarNames >.
Definition at line 112 of file BaseVarSet.h.
|
inline |
Getter for a map of names to float values.
| prefix | Name prefix to apply to all variable names. |
Definition at line 90 of file BaseVarSet.h.
|
inlinevirtual |
Getter for the named references to the individual variables Base implementaton returns empty vector.
| prefix | Name prefix to apply to all variable names. |
Definition at line 74 of file BaseVarSet.h.