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