Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
garsoft
DetectorInfo
GArPropertiesServiceStandard.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
// GArPropertiesServiceStandard.h
3
//
4
// Service interface for Utility LAr functions
5
//
6
// jpaley@fnal.gov
7
//
8
////////////////////////////////////////////////////////////////////////
9
#ifndef GArPropertiesSERVICESTANDARD_H
10
#define GArPropertiesSERVICESTANDARD_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/ServiceDeclarationMacros.h
"
16
#include "
art/Framework/Services/Registry/ServiceDefinitionMacros.h
"
17
#include "
art/Framework/Principal/Run.h
"
18
#include "
DetectorInfo/GArPropertiesStandard.h
"
19
#include "
DetectorInfo/GArPropertiesService.h
"
20
21
///General GArSoft Utilities
22
namespace
gar
{
23
namespace
detinfo
{
24
class
GArPropertiesServiceStandard
:
public
GArPropertiesService
{
25
public
:
26
27
// this enables art to print the configuration help:
28
using
Parameters
=
::art::ServiceTable<gar::detinfo::GArPropertiesStandard::ConfigurationParameters_t>
;
29
30
GArPropertiesServiceStandard
(
fhicl::ParameterSet
const
& pset,
31
::
art::ActivityRegistry
&
reg
);
32
33
virtual
void
reconfigure
(
fhicl::ParameterSet
const
& pset)
override
;
34
void
preBeginRun
(const ::art::Run&
run
);
35
36
virtual
const
provider_type
*
provider
()
const override
{
return
fProp
.get();}
37
38
private
:
39
40
std::unique_ptr<detinfo::GArPropertiesStandard>
fProp
;
41
42
};
// class GArPropertiesServiceStandard
43
}
//namespace detinfo
44
}
// gar
45
46
DECLARE_ART_SERVICE_INTERFACE_IMPL
(
gar::detinfo::GArPropertiesServiceStandard
,
47
gar::detinfo::GArPropertiesService
,
48
LEGACY)
49
50
#endif // GArPropertiesSERVICESTANDARD_H
gar::detinfo::GArPropertiesService
Definition:
GArPropertiesService.h:21
DECLARE_ART_SERVICE_INTERFACE_IMPL
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
gar::detinfo::GArProperties
Definition:
GArProperties.h:21
GArPropertiesService.h
gar::detinfo::GArPropertiesServiceStandard::provider
virtual const provider_type * provider() const override
Definition:
GArPropertiesServiceStandard.h:36
filelisting.run
int run
Definition:
filelisting.py:13
ParameterSet.h
ServiceHandle.h
ServiceDeclarationMacros.h
gar::detinfo::GArPropertiesServiceStandard::preBeginRun
void preBeginRun(const ::art::Run &run)
Definition:
GArPropertiesServiceStandard_service.cc:32
gar::detinfo::GArPropertiesServiceStandard::GArPropertiesServiceStandard
GArPropertiesServiceStandard(fhicl::ParameterSet const &pset,::art::ActivityRegistry ®)
Definition:
GArPropertiesServiceStandard_service.cc:22
gar::detinfo::GArPropertiesServiceStandard::fProp
std::unique_ptr< detinfo::GArPropertiesStandard > fProp
Definition:
GArPropertiesServiceStandard.h:40
detinfo
General LArSoft Utilities.
Definition:
CalibrationTreeBuilder.h:23
GArPropertiesStandard.h
gar::detinfo::GArPropertiesServiceStandard
Definition:
GArPropertiesServiceStandard.h:24
gar
General GArSoft Utilities.
Definition:
anatest_module.cc:57
art::ActivityRegistry
Definition:
ActivityRegistry.h:52
ActivityRegistry.h
ServiceDefinitionMacros.h
gar::detinfo::GArPropertiesServiceStandard::reconfigure
virtual void reconfigure(fhicl::ParameterSet const &pset) override
Definition:
GArPropertiesServiceStandard_service.cc:41
art::ServiceTable
Definition:
ServiceTable.h:25
cet::registry_via_id
Definition:
registry_via_id.h:19
Run.h
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11