Belle II Software development
|
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. | |
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(). | |
bool | isValid () |
checks if any value is still not set and returns false if that is the case. | |
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.
|
inlineexplicit |
constructor, expects to get a vector of names for filters.
Definition at line 148 of file FilterValueDataSet.h.
|
inline |
returns pointer to value of given filterName, nullptr if filterName has not been found.
Definition at line 176 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.
unsigned evtNo |
number of the event this dataset is taken from.
Definition at line 133 of file FilterValueDataSet.h.
unsigned expNo |
number of the experiment this dataset is taken from.
Definition at line 127 of file FilterValueDataSet.h.
|
protected |
map containing a value for each key==name of filter.
Definition at line 122 of file FilterValueDataSet.h.
int pdg |
Pdg given by reference track.
Definition at line 139 of file FilterValueDataSet.h.
unsigned runNo |
number of the run this dataset is taken from.
Definition at line 130 of file FilterValueDataSet.h.
SecIDSetType secIDs |
contains the secIDs.
Definition at line 142 of file FilterValueDataSet.h.
unsigned trackNo |
number of the reference track this dataset is taken from (its ID in the datastore).
Definition at line 136 of file FilterValueDataSet.h.