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

class to extract results from qualityEstimation More...

#include <FlipRecoTrackExtractor.h>

Inheritance diagram for FlipRecoTrackExtractor:
Collaboration diagram for FlipRecoTrackExtractor:

Public Member Functions

 FlipRecoTrackExtractor (std::vector< Named< float * >> &variableSet, const std::string &prefix="")
 Define names of variables that get extracted. More...
 
void extractVariables (RecoTrack &recoTrack)
 extract the actual variables and write into a variable set
 

Protected Member Functions

void addVariable (const std::string &identifier, std::vector< Named< float * >> &variables)
 add a variable to the variable set
 

Protected Attributes

std::string m_prefix
 prefix for RecoTrack extracted variables
 
std::unordered_map< std::string, float > m_variables
 unordered_map to associate float value with a string name
 

Detailed Description

class to extract results from qualityEstimation

Definition at line 27 of file FlipRecoTrackExtractor.h.

Constructor & Destructor Documentation

◆ FlipRecoTrackExtractor()

FlipRecoTrackExtractor ( std::vector< Named< float * >> &  variableSet,
const std::string &  prefix = "" 
)
inlineexplicit

Define names of variables that get extracted.

Adding variables for 1st mva

Definition at line 31 of file FlipRecoTrackExtractor.h.

31  :
32  VariableExtractor(), m_prefix(prefix)
33  {
35  addVariable(prefix + "seed_pz_estimate", variableSet);
36  addVariable(prefix + "seed_pz_variance", variableSet);
37  addVariable(prefix + "seed_z_estimate", variableSet);
38  addVariable(prefix + "seed_tan_lambda_estimate", variableSet);
39  addVariable(prefix + "seed_pt_estimate", variableSet);
40  addVariable(prefix + "seed_x_estimate", variableSet);
41  addVariable(prefix + "seed_y_estimate", variableSet);
42  addVariable(prefix + "seed_py_variance", variableSet);
43  addVariable(prefix + "seed_d0_estimate", variableSet);
44  addVariable(prefix + "seed_omega_variance", variableSet);
45  addVariable(prefix + "svd_layer6_clsTime", variableSet);
46  addVariable(prefix + "seed_tan_lambda_variance", variableSet);
47  addVariable(prefix + "seed_z_variance", variableSet);
48  addVariable(prefix + "n_svd_hits", variableSet);
49  addVariable(prefix + "n_cdc_hits", variableSet);
50  addVariable(prefix + "svd_layer3_positionSigma", variableSet);
51  addVariable(prefix + "first_cdc_layer", variableSet);
52  addVariable(prefix + "last_cdc_layer", variableSet);
53  addVariable(prefix + "InOutArmTimeDifference", variableSet);
54  addVariable(prefix + "InOutArmTimeDifferenceError", variableSet);
55  addVariable(prefix + "inGoingArmTime", variableSet);
56  addVariable(prefix + "inGoingArmTimeError", variableSet);
57  addVariable(prefix + "outGoingArmTime", variableSet);
58  addVariable(prefix + "outGoingArmTimeError", variableSet);
59 
60  }
std::string m_prefix
prefix for RecoTrack extracted variables
void addVariable(const std::string &identifier, std::vector< Named< float * >> &variables)
add a variable to the variable set

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