Definition at line 348 of file CommonUtils.h.
◆ operator()()
float PtErrorAccessor::operator() |
( |
ULong64_t | entry | ) |
|
|
inline |
- Returns
- the calculated error on pT
- Parameters
-
entry | the entry in the tree |
Definition at line 358 of file CommonUtils.h.
358 {
359 if (qop_value != nullptr && qop_error != nullptr &&
360 theta_value != nullptr && theta_error != nullptr) {
361 float qop_v = qop_value->at(entry);
362 float qop_e = qop_error->at(entry);
363 float theta_v = theta_value->at(entry);
364 float theta_e = theta_error->at(entry);
365 return std::cos(theta_v) / qop_v * theta_e -
366 std::sin(theta_v) / (qop_v * qop_v) * qop_e;
367 }
368 return std::numeric_limits<float>::infinity();
369 }
◆ qop_error
std::vector<float>* PtErrorAccessor::qop_error = nullptr |
◆ qop_value
std::vector<float>* PtErrorAccessor::qop_value = nullptr |
◆ theta_error
std::vector<float>* PtErrorAccessor::theta_error = nullptr |
◆ theta_value
std::vector<float>* PtErrorAccessor::theta_value = nullptr |
The documentation for this struct was generated from the following file:
- build/_deps/acts-src/Examples/Scripts/TrackingPerformance/CommonUtils.h