Belle II Software
release-08-01-10
|
contains the relevant information needed for filling a TTree containing train-data for the secMap. More...
#include <FilterValueDataSet.h>
Public Member Functions | |
FilterValueDataSet (std::vector< std::string > filterNames) | |
constructor, expects to get a vector of names for filters. | |
void | setValueOfFilter (std::string filterName, double value) |
for given filterName a value is set. More... | |
double * | getValuePtr (std::string filterName) |
returns pointer to value of given filterName, nullptr if filterName has not been found. | |
void | reset () |
resets all values stored to std::numeric_limits< double>::max(). More... | |
bool | isValid () |
checks if any value is still not set and returns false if that is the case. More... | |
Public Attributes | |
unsigned | expNo |
number of the experiment this dataset is taken from. | |
unsigned | runNo |
number of the run this dataset is taken from. | |
unsigned | evtNo |
number of the event this dataset is taken from. | |
unsigned | trackNo |
number of the reference track this dataset is taken from (its ID in the datastore). | |
int | pdg |
Pdg given by reference track. | |
SecIDSetType | secIDs |
contains the secIDs. | |
Protected Attributes | |
std::map< std::string, double > | m_values |
map containing a value for each key==name of filter. | |
contains the relevant information needed for filling a TTree containing train-data for the secMap.
Definition at line 119 of file FilterValueDataSet.h.
|
inline |
checks if any value is still not set and returns false if that is the case.
(only completely set values in the dataSet are valid).
Definition at line 202 of file FilterValueDataSet.h.
|
inline |
resets all values stored to std::numeric_limits< double>::max().
and all FilterIDs to std::numeric_limits< unsigned>::max()
Definition at line 187 of file FilterValueDataSet.h.
|
inline |
for given filterName a value is set.
if filterName does not exist, an error is produced and nothing gets stored.
Definition at line 163 of file FilterValueDataSet.h.