class to extract info from individual clusters and combine for SPTC
More...
#include <HitInfoExtractor.h>
|
void | initializeStats (const std::string &identifier, std::vector< Named< float * >> &variables) |
| initialize statistics subsets of variables from clusters that get combined for SPTC
|
|
void | setStats (const std::string &identifier, std::vector< float > &values) |
| calculated statistics and saves them in variable set
|
|
void | addVariable (const std::string &identifier, std::vector< Named< float * >> &variables) |
| add a variable to the variable set
|
|
|
std::unordered_map< std::string, float > | m_variables |
| unordered_map to associate float value with a string name
|
|
|
const float | m_valueIfNAN = -1.0 |
| Define a default value to use if a variable cannot be calculated. More...
|
|
class to extract info from individual clusters and combine for SPTC
Definition at line 26 of file HitInfoExtractor.h.
◆ HitInfoExtractor()
Constructor fills variableSet with variables to be extracted.
- Parameters
-
variableSet | set of variable to be filled |
Definition at line 31 of file HitInfoExtractor.h.
34 addVariable(
"N_TrackPoints_without_KalmanFitterInfo", variableSet);
35 addVariable(
"N_Hits_without_TrackPoint", variableSet);
◆ m_valueIfNAN
const float m_valueIfNAN = -1.0 |
|
private |
Define a default value to use if a variable cannot be calculated.
A value different from NAN, but which is not obtainable otherwise, can be useful if one wants the MVA classifier to train on the variable not being available instead of ignoring it.
Definition at line 206 of file HitInfoExtractor.h.
The documentation for this class was generated from the following file: