Public Member Functions | Private Attributes | List of all members
calib::XYZCalibServiceProtoDUNE Class Reference

#include <XYZCalibServiceProtoDUNE.h>

Inheritance diagram for calib::XYZCalibServiceProtoDUNE:
calib::XYZCalibService

Public Member Functions

 XYZCalibServiceProtoDUNE (fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
 
virtual void reconfigure (fhicl::ParameterSet const &pset) override
 
void preBeginRun (const art::Run &run)
 
virtual provider_typeprovider () const override
 
- Public Member Functions inherited from calib::XYZCalibService
virtual ~XYZCalibService ()=default
 

Private Attributes

std::unique_ptr< calib::XYZCalibProtoDUNEfProp
 

Additional Inherited Members

- Public Types inherited from calib::XYZCalibService
typedef calib::XYZCalib provider_type
 

Detailed Description

Definition at line 21 of file XYZCalibServiceProtoDUNE.h.

Constructor & Destructor Documentation

calib::XYZCalibServiceProtoDUNE::XYZCalibServiceProtoDUNE ( fhicl::ParameterSet const &  pset,
art::ActivityRegistry reg 
)

Definition at line 22 of file XYZCalibServiceProtoDUNE_service.cc.

23 {
24  fProp.reset(new calib::XYZCalibProtoDUNE(pset));
25 
27 }
std::unique_ptr< calib::XYZCalibProtoDUNE > fProp
GlobalSignal< detail::SignalResponseType::FIFO, void(Run const &)> sPreBeginRun

Member Function Documentation

void calib::XYZCalibServiceProtoDUNE::preBeginRun ( const art::Run run)

Definition at line 30 of file XYZCalibServiceProtoDUNE_service.cc.

31 {
32  fProp->Update(run.id().run());
33 }
RunID id() const
Definition: Run.cc:17
RunNumber_t run() const
Definition: RunID.h:64
std::unique_ptr< calib::XYZCalibProtoDUNE > fProp
virtual provider_type* calib::XYZCalibServiceProtoDUNE::provider ( ) const
inlineoverridevirtual

Implements calib::XYZCalibService.

Definition at line 30 of file XYZCalibServiceProtoDUNE.h.

30 { return fProp.get();}
std::unique_ptr< calib::XYZCalibProtoDUNE > fProp
void calib::XYZCalibServiceProtoDUNE::reconfigure ( fhicl::ParameterSet const &  pset)
overridevirtual

Implements calib::XYZCalibService.

Definition at line 36 of file XYZCalibServiceProtoDUNE_service.cc.

37 {
38  fProp->Configure(pset);
39  return;
40 }
std::unique_ptr< calib::XYZCalibProtoDUNE > fProp

Member Data Documentation

std::unique_ptr<calib::XYZCalibProtoDUNE> calib::XYZCalibServiceProtoDUNE::fProp
private

Definition at line 34 of file XYZCalibServiceProtoDUNE.h.


The documentation for this class was generated from the following files: