Belle II Software development
|
class to extract info from individual clusters and combine for SPTC More...
#include <ClusterInfoExtractor.h>
Public Member Functions | |
ClusterInfoExtractor (std::vector< Named< float * > > &variableSet, bool useTimingInfo) | |
Constructor fills variableSet with variables to be extracted. | |
void | extractVariables (std::vector< SpacePoint const * > const &spacePoints) |
extract variables from SpacePoints | |
Protected Member Functions | |
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 | |
Protected Attributes | |
bool | m_UseTimingInfo |
whether to use timing info from cluster | |
std::unordered_map< std::string, float > | m_variables |
unordered_map to associate float value with a string name | |
class to extract info from individual clusters and combine for SPTC
Definition at line 23 of file ClusterInfoExtractor.h.
|
inline |
Constructor fills variableSet with variables to be extracted.
variableSet | set of variable to be filled |
useTimingInfo | whether to use the timing info in clusters |
Definition at line 29 of file ClusterInfoExtractor.h.
|
inlineprotectedinherited |
add a variable to the variable set
Definition at line 27 of file VariableExtractor.h.
|
inline |
extract variables from SpacePoints
Definition at line 44 of file ClusterInfoExtractor.h.
|
inlineprotected |
initialize statistics subsets of variables from clusters that get combined for SPTC
Definition at line 100 of file ClusterInfoExtractor.h.
|
inlineprotected |
calculated statistics and saves them in variable set
Definition at line 110 of file ClusterInfoExtractor.h.
|
protected |
whether to use timing info from cluster
Definition at line 97 of file ClusterInfoExtractor.h.
|
protectedinherited |
unordered_map to associate float value with a string name
Definition at line 35 of file VariableExtractor.h.