Belle II Software  release-08-01-10
SoftwareTriggerVariables Class Reference

Storable object for the variables calculated in the SoftwareTriggerModule. More...

#include <SoftwareTriggerVariables.h>

Inheritance diagram for SoftwareTriggerVariables:
Collaboration diagram for SoftwareTriggerVariables:

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.
 

Detailed Description

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.


The documentation for this class was generated from the following file: