Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunecalib
dunecalib
CalibServices
XYZCalibServiceProtoDUNE.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
// \file XYZCalibServiceProtoDUNE.h
3
//
4
// \brief header of service for storing/accessing (x,y,z) calibration corrections for ProtoDUNE
5
//
6
// \author jpaley@fnal.gov
7
//
8
////////////////////////////////////////////////////////////////////////
9
#ifndef XYZCALIBSERVICEPROTODUNE_H
10
#define XYZCALIBSERVICEPROTODUNE_H
11
12
#include "
fhiclcpp/ParameterSet.h
"
13
#include "
art/Framework/Services/Registry/ActivityRegistry.h
"
14
#include "
art/Framework/Services/Registry/ServiceHandle.h
"
15
#include "
art/Framework/Services/Registry/ServiceMacros.h
"
16
#include "
art/Framework/Principal/Run.h
"
17
#include "
dunecalib/Calib/XYZCalibProtoDUNE.h
"
18
#include "
dunecalib/CalibServices/XYZCalibService.h
"
19
20
namespace
calib
{
21
class
XYZCalibServiceProtoDUNE
:
public
XYZCalibService
{
22
public
:
23
24
XYZCalibServiceProtoDUNE
(
fhicl::ParameterSet
const
& pset,
art::ActivityRegistry
&
reg
);
25
26
virtual
void
reconfigure
(
fhicl::ParameterSet
const
& pset)
override
;
27
void
preBeginRun
(
const
art::Run
&
run
);
28
29
30
virtual
provider_type
*
provider
()
const override
{
return
fProp
.get();}
31
32
private
:
33
34
std::unique_ptr<calib::XYZCalibProtoDUNE>
fProp
;
35
36
};
// class XYZCalibServiceProtoDUNE
37
}
//namespace calib
38
DECLARE_ART_SERVICE_INTERFACE_IMPL
(
calib::XYZCalibServiceProtoDUNE
,
calib::XYZCalibService
, LEGACY)
39
#endif // XYZCALIBSERVICEPROTODUNE_H
calib::XYZCalibServiceProtoDUNE::preBeginRun
void preBeginRun(const art::Run &run)
Definition:
XYZCalibServiceProtoDUNE_service.cc:30
calib::XYZCalib
Definition:
XYZCalib.h:14
calib::XYZCalibServiceProtoDUNE::XYZCalibServiceProtoDUNE
XYZCalibServiceProtoDUNE(fhicl::ParameterSet const &pset, art::ActivityRegistry ®)
Definition:
XYZCalibServiceProtoDUNE_service.cc:22
DECLARE_ART_SERVICE_INTERFACE_IMPL
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
calib::XYZCalibServiceProtoDUNE::provider
virtual provider_type * provider() const override
Definition:
XYZCalibServiceProtoDUNE.h:30
filelisting.run
int run
Definition:
filelisting.py:13
art::Run
Definition:
Run.h:17
ParameterSet.h
ServiceHandle.h
XYZCalibService.h
calib::XYZCalibServiceProtoDUNE::reconfigure
virtual void reconfigure(fhicl::ParameterSet const &pset) override
Definition:
XYZCalibServiceProtoDUNE_service.cc:36
calib::XYZCalibServiceProtoDUNE::fProp
std::unique_ptr< calib::XYZCalibProtoDUNE > fProp
Definition:
XYZCalibServiceProtoDUNE.h:34
calib
Definition:
LifetimeCalib.h:12
ServiceMacros.h
calib::XYZCalibServiceProtoDUNE
Definition:
XYZCalibServiceProtoDUNE.h:21
art::ActivityRegistry
Definition:
ActivityRegistry.h:52
ActivityRegistry.h
calib::XYZCalibService
Definition:
XYZCalibService.h:18
cet::registry_via_id
Definition:
registry_via_id.h:19
Run.h
XYZCalibProtoDUNE.h
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11