9 #ifndef DETECTORPROPERTIESSERVICE_H
10 #define DETECTORPROPERTIESSERVICE_H
20 #include "art/Framework/Services/Registry/ServiceDeclarationMacros.h"
21 #include "art/Framework/Services/Registry/ServiceHandle.h"
24 class DetectorClocksData;
34 auto const clockData =
35 art::ServiceHandle<detinfo::DetectorClocksService const>()->
DataForJob();
46 auto const clockData =
47 art::ServiceHandle<detinfo::DetectorClocksService const>()->
DataFor(e);
67 #endif // DETECTORPROPERTIESSERVICE_H
DetectorPropertiesData DataFor(art::Event const &e, detinfo::DetectorClocksData const &clockData) const
virtual ~DetectorPropertiesService()=default
DetectorPropertiesData DataForJob() const
virtual DetectorPropertiesData getDataForJob(detinfo::DetectorClocksData const &clockData) const =0
DetectorPropertiesData DataFor(art::Event const &e) const
Contains all timing reference information for the detector.
virtual DetectorPropertiesData getDataFor(art::Event const &e, detinfo::DetectorClocksData const &clockData) const =0
DetectorPropertiesData DataForJob(detinfo::DetectorClocksData const &clockData) const