Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
garsoft
DetectorInfo
ECALPropertiesServiceStandard.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
// ECALPropertiesServiceStandard.h
3
//
4
// Service interface for Utility ECAL functions
5
//
6
// eldwan.brianne@desy.de
7
//
8
////////////////////////////////////////////////////////////////////////
9
#ifndef ECALPropertiesSERVICESTANDARD_H
10
#define ECALPropertiesSERVICESTANDARD_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/ECALPropertiesStandard.h
"
19
#include "
DetectorInfo/ECALPropertiesService.h
"
20
21
///General GArSoft Utilities
22
namespace
gar
{
23
namespace
detinfo
{
24
class
ECALPropertiesServiceStandard
:
public
ECALPropertiesService
{
25
public
:
26
27
// this enables art to print the configuration help:
28
using
Parameters
=
::art::ServiceTable<gar::detinfo::ECALPropertiesStandard::ConfigurationParameters_t>
;
29
30
ECALPropertiesServiceStandard
(
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::ECALPropertiesStandard>
fProp
;
41
42
};
// class GArPropertiesServiceStandard
43
}
//namespace detinfo
44
}
// gar
45
46
DECLARE_ART_SERVICE_INTERFACE_IMPL
(
gar::detinfo::ECALPropertiesServiceStandard
,
47
gar::detinfo::ECALPropertiesService
,
48
LEGACY)
49
50
#endif // ECALPropertiesSERVICESTANDARD_H
gar::detinfo::ECALPropertiesServiceStandard
Definition:
ECALPropertiesServiceStandard.h:24
gar::detinfo::ECALPropertiesServiceStandard::preBeginRun
void preBeginRun(const ::art::Run &run)
Definition:
ECALPropertiesServiceStandard_service.cc:32
gar::detinfo::ECALPropertiesServiceStandard::ECALPropertiesServiceStandard
ECALPropertiesServiceStandard(fhicl::ParameterSet const &pset,::art::ActivityRegistry ®)
Definition:
ECALPropertiesServiceStandard_service.cc:22
gar::detinfo::ECALProperties
Definition:
ECALProperties.h:21
DECLARE_ART_SERVICE_INTERFACE_IMPL
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
filelisting.run
int run
Definition:
filelisting.py:13
ParameterSet.h
gar::detinfo::ECALPropertiesServiceStandard::provider
virtual const provider_type * provider() const override
Definition:
ECALPropertiesServiceStandard.h:36
ServiceHandle.h
ServiceDeclarationMacros.h
gar::detinfo::ECALPropertiesService
Definition:
ECALPropertiesService.h:21
ECALPropertiesStandard.h
Service provider with utility ECAL functions.
detinfo
General LArSoft Utilities.
Definition:
CalibrationTreeBuilder.h:23
gar::detinfo::ECALPropertiesServiceStandard::fProp
std::unique_ptr< detinfo::ECALPropertiesStandard > fProp
Definition:
ECALPropertiesServiceStandard.h:40
gar
General GArSoft Utilities.
Definition:
anatest_module.cc:57
ECALPropertiesService.h
art::ActivityRegistry
Definition:
ActivityRegistry.h:52
ActivityRegistry.h
ServiceDefinitionMacros.h
gar::detinfo::ECALPropertiesServiceStandard::reconfigure
virtual void reconfigure(fhicl::ParameterSet const &pset) override
Definition:
ECALPropertiesServiceStandard_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