Belle II Software development
|
Storable object for the variables calculated in the SoftwareTriggerModule. More...
#include <SoftwareTriggerVariables.h>
Public Member Functions | |
void | append (const std::string &identifier, const double &value) |
Append a new variable to the collection. Make sure not to override existing ones. | |
const std::map< std::string, double > & | get () const |
Get the whole map of results for analysis. | |
double | getVariable (std::string identifier) const |
Get just one value from the map. | |
bool | has (std::string identifier) const |
Returns true if indentifier is in the map of trigger variables. | |
void | clear () |
Clear all results. | |
Private Member Functions | |
ClassDef (SoftwareTriggerVariables, 1) | |
Making this class a ROOT class. | |
Private Attributes | |
std::map< std::string, double > | m_results |
Internal storage of the variables with names. | |
Storable object for the variables calculated in the SoftwareTriggerModule.
The module will write out instances of this class to the data store if you turn on the debug feature.
This class is more or less only a wrapper around an std::map<string, double> where the strings are the identifier of the variables (prefixed with the base_identifier) and the double are the variables' values.
Definition at line 28 of file SoftwareTriggerVariables.h.
|
inline |
Append a new variable to the collection. Make sure not to override existing ones.
Definition at line 31 of file SoftwareTriggerVariables.h.
|
inline |
Clear all results.
Definition at line 55 of file SoftwareTriggerVariables.h.
|
inline |
Get the whole map of results for analysis.
Definition at line 37 of file SoftwareTriggerVariables.h.
|
inline |
Get just one value from the map.
Definition at line 43 of file SoftwareTriggerVariables.h.
|
inline |
Returns true if indentifier is in the map of trigger variables.
Definition at line 49 of file SoftwareTriggerVariables.h.
|
private |
Internal storage of the variables with names.
Definition at line 62 of file SoftwareTriggerVariables.h.