15 if (!event.
exists(
"OutputMeasurements", output_measurements_passname_))
18 "OutputMeasurements", measurements_passname_)};
20 for (
auto& measurement : measurements) {
21 auto global_position{measurement.getGlobalPosition()};
22 auto local_position{measurement.getLocalPosition()};
23 auto layer_id{measurement.getLayerID()};
24 auto time{measurement.getTime()};
27 global_position[1], global_position[2]);
30 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.