#include <DetectorPropertiesServiceProtoDUNEsp.h>
Classes | |
struct | ServiceConfiguration_t |
Public Types | |
using | Parameters = art::ServiceTable< ServiceConfiguration_t > |
Public Types inherited from detinfo::DetectorPropertiesService | |
using | provider_type = detinfo::DetectorProperties |
Public Member Functions | |
DetectorPropertiesServiceProtoDUNEsp (fhicl::ParameterSet const &pset, art::ActivityRegistry ®) | |
void | reconfigure (fhicl::ParameterSet const &pset) |
void | preProcessEvent (const art::Event &evt, art::ScheduleContext) |
void | postOpenFile (const std::string &filename) |
void | preOpenFile (const std::string &filename) |
void | preBeginRun (const art::Run &run) |
Public Member Functions inherited from detinfo::DetectorPropertiesService | |
virtual | ~DetectorPropertiesService ()=default |
DetectorPropertiesData | DataForJob () const |
DetectorPropertiesData | DataForJob (detinfo::DetectorClocksData const &clockData) const |
DetectorPropertiesData | DataFor (art::Event const &e) const |
DetectorPropertiesData | DataFor (art::Event const &e, detinfo::DetectorClocksData const &clockData) const |
Private Member Functions | |
bool | isDetectorPropertiesServiceProtoDUNEsp (const fhicl::ParameterSet &ps) const |
detinfo::DetectorPropertiesData | getDataForJob (detinfo::DetectorClocksData const &clockData) const override |
detinfo::DetectorPropertiesData | getDataFor (art::Event const &, detinfo::DetectorClocksData const &clockData) const override |
Private Attributes | |
std::unique_ptr< spdp::DetectorPropertiesProtoDUNEsp > | fProp |
fhicl::ParameterSet | fPS |
Original parameter set. More... | |
bool | isNewRun |
bool | fInheritNumberTimeSamples |
Flag saying whether to inherit NumberTimeSamples. More... | |
This service passes the whole configuration down to its service provider, but it also reacts to:
Definition at line 42 of file DetectorPropertiesServiceProtoDUNEsp.h.
using spdp::DetectorPropertiesServiceProtoDUNEsp::Parameters = art::ServiceTable<ServiceConfiguration_t> |
Definition at line 63 of file DetectorPropertiesServiceProtoDUNEsp.h.
spdp::DetectorPropertiesServiceProtoDUNEsp::DetectorPropertiesServiceProtoDUNEsp | ( | fhicl::ParameterSet const & | pset, |
art::ActivityRegistry & | reg | ||
) |
Definition at line 31 of file DetectorPropertiesServiceProtoDUNEsp_service.cc.
|
inlineoverrideprivatevirtual |
Implements detinfo::DetectorPropertiesService.
Definition at line 88 of file DetectorPropertiesServiceProtoDUNEsp.h.
|
inlineoverrideprivatevirtual |
Implements detinfo::DetectorPropertiesService.
Definition at line 82 of file DetectorPropertiesServiceProtoDUNEsp.h.
|
private |
Definition at line 214 of file DetectorPropertiesServiceProtoDUNEsp_service.cc.
void spdp::DetectorPropertiesServiceProtoDUNEsp::postOpenFile | ( | const std::string & | filename | ) |
Definition at line 96 of file DetectorPropertiesServiceProtoDUNEsp_service.cc.
void spdp::DetectorPropertiesServiceProtoDUNEsp::preBeginRun | ( | const art::Run & | run | ) |
Definition at line 79 of file DetectorPropertiesServiceProtoDUNEsp_service.cc.
void spdp::DetectorPropertiesServiceProtoDUNEsp::preOpenFile | ( | const std::string & | filename | ) |
void spdp::DetectorPropertiesServiceProtoDUNEsp::preProcessEvent | ( | const art::Event & | evt, |
art::ScheduleContext | |||
) |
void spdp::DetectorPropertiesServiceProtoDUNEsp::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 70 of file DetectorPropertiesServiceProtoDUNEsp_service.cc.
|
private |
Flag saying whether to inherit NumberTimeSamples.
Definition at line 77 of file DetectorPropertiesServiceProtoDUNEsp.h.
|
private |
Definition at line 74 of file DetectorPropertiesServiceProtoDUNEsp.h.
|
private |
Original parameter set.
Definition at line 75 of file DetectorPropertiesServiceProtoDUNEsp.h.
|
private |
Definition at line 76 of file DetectorPropertiesServiceProtoDUNEsp.h.