Definition at line 302 of file CommonUtils.h.
◆ operator()()
float QopResidualAccessor::operator() |
( |
ULong64_t | entry | ) |
|
|
inline |
- Returns
- the calculated Residual for q/p
- Parameters
-
entry | the entry in the tree |
Definition at line 312 of file CommonUtils.h.
312 {
313 if (qop_value != nullptr && reference_charge != nullptr &&
314 reference_p != nullptr) {
315 float v = qop_value->at(entry);
316 float q_true = reference_charge->at(entry);
317 float p_true = reference_p->at(entry);
318 return (v - q_true / p_true);
319 }
320 return std::numeric_limits<float>::infinity();
321 }
◆ qop_value
std::vector<float>* QopResidualAccessor::qop_value = nullptr |
◆ reference_charge
std::vector<int>* QopResidualAccessor::reference_charge = nullptr |
◆ reference_p
std::vector<float>* QopResidualAccessor::reference_p = nullptr |
The documentation for this struct was generated from the following file:
- build/_deps/acts-src/Examples/Scripts/TrackingPerformance/CommonUtils.h