9 if (!event.
exists(
"OutputMeasurements"))
return;
13 for (
auto& measurement : measurements) {
14 auto global_position{measurement.getGlobalPosition()};
15 auto local_position{measurement.getLocalPosition()};
16 auto layer_id{measurement.getLayerID()};
17 auto time{measurement.getTime()};
20 global_position[1], global_position[2]);
23 histograms_.
fill(
"local_uv_l" + std::to_string(layer_id), local_position[0],
bool exists(const std::string &name, const std::string &passName="", bool unique=true) const
Check for the existence of an object or collection with the given name and pass name in the event.