Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
lardata
lardata
DetectorInfoServices
LArPropertiesServiceStandard.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
// LArPropertiesServiceStandard.h
3
//
4
// Service interface for Utility LAr functions
5
//
6
// jpaley@fnal.gov
7
//
8
////////////////////////////////////////////////////////////////////////
9
#ifndef LARPROPERTIESSERVICESTANDARD_H
10
#define LARPROPERTIESSERVICESTANDARD_H
11
12
#include "
art/Framework/Principal/Run.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 "
fhiclcpp/ParameterSet.h
"
17
#include "
lardata/DetectorInfoServices/LArPropertiesService.h
"
18
#include "
lardataalg/DetectorInfo/LArPropertiesStandard.h
"
19
20
namespace
detinfo
{
21
class
LArPropertiesServiceStandard
:
public
LArPropertiesService
{
22
public
:
23
using
Parameters
=
art::ServiceTable<detinfo::LArPropertiesStandard::ConfigurationParameters_t>
;
24
LArPropertiesServiceStandard
(
Parameters
const
&
params
,
art::ActivityRegistry
&
reg
);
25
26
private
:
27
provider_type
const
*
28
provider
()
const override
29
{
30
return
&
fProp
;
31
}
32
33
void
preBeginRun
(
art::Run
const
&
run
);
34
35
detinfo::LArPropertiesStandard
fProp
;
36
};
37
}
//namespace detinfo
38
39
DECLARE_ART_SERVICE_INTERFACE_IMPL
(
detinfo::LArPropertiesServiceStandard
,
40
detinfo::LArPropertiesService
,
41
SHARED)
42
43
#endif // LARPROPERTIESSERVICESTANDARD_H
detinfo::LArProperties
Definition:
LArProperties.h:20
LArPropertiesStandard.h
Service provider with utility LAr functions.
DECLARE_ART_SERVICE_INTERFACE_IMPL
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
detinfo::LArPropertiesServiceStandard
Definition:
LArPropertiesServiceStandard.h:21
detinfo::LArPropertiesServiceStandard::LArPropertiesServiceStandard
LArPropertiesServiceStandard(Parameters const ¶ms, art::ActivityRegistry ®)
Definition:
LArPropertiesServiceStandard_service.cc:8
filelisting.run
int run
Definition:
filelisting.py:13
art::Run
Definition:
Run.h:17
detinfo::LArPropertiesServiceStandard::provider
provider_type const * provider() const override
Definition:
LArPropertiesServiceStandard.h:28
ParameterSet.h
ServiceHandle.h
ServiceDeclarationMacros.h
detinfo::LArPropertiesServiceStandard::preBeginRun
void preBeginRun(art::Run const &run)
Definition:
LArPropertiesServiceStandard_service.cc:17
detinfo
General LArSoft Utilities.
Definition:
CalibrationTreeBuilder.h:23
detinfo::LArPropertiesServiceStandard::fProp
detinfo::LArPropertiesStandard fProp
Definition:
LArPropertiesServiceStandard.h:35
art::ActivityRegistry
Definition:
ActivityRegistry.h:52
detinfo::LArPropertiesStandard
Properties related to liquid argon environment in the detector.
Definition:
LArPropertiesStandard.h:72
ActivityRegistry.h
params
Definition:
makeNUSYS.cxx:14
LArPropertiesService.h
art::ServiceTable
Definition:
ServiceTable.h:25
detinfo::LArPropertiesService
Definition:
LArPropertiesService.h:18
cet::registry_via_id
Definition:
registry_via_id.h:19
Run.h
Generated by
1.8.11