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