Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunesim
dunesim
DetSim
Service
FixedDetPedestalService.h
Go to the documentation of this file.
1
// FixedDetPedestalService.h
2
//
3
// Implementation of lariov::DetPedestalService and its provider lariov::DetPedestal
4
// that returns fixed pedestals depending on wire orientation.
5
6
#ifndef FixedDetPedestalService_H
7
#define FixedDetPedestalService_H
8
9
#include "
art/Framework/Services/Registry/ServiceMacros.h
"
10
#include "
larevt/CalibrationDBI/Interface/DetPedestalService.h
"
11
#include "
larevt/CalibrationDBI/Interface/DetPedestalProvider.h
"
12
#include "
larcore/Geometry/Geometry.h
"
13
14
namespace
fhicl
{
15
class
ParameterSet;
16
}
17
namespace
art
{
18
class
ActivityRegistry;
19
}
20
21
class
FixedDetPedestalService
:
public
lariov::DetPedestalService
,
public
lariov::DetPedestalProvider
{
22
23
public
:
24
25
// Service ctor.
26
FixedDetPedestalService
(
const
fhicl::ParameterSet
& pset,
art::ActivityRegistry
&
reg
);
27
28
// Provider ctor.
29
FixedDetPedestalService
(
const
fhicl::ParameterSet
& pset);
30
31
// Retrieve pedestal information (provider interface).
32
float
PedMean(
raw::ChannelID_t
ch)
const
;
33
float
PedRms(
raw::ChannelID_t
ch)
const
;
34
float
PedMeanErr(
raw::ChannelID_t
ch)
const
;
35
float
PedRmsErr(
raw::ChannelID_t
ch)
const
;
36
37
private
:
38
39
// Return provider (service interface).
40
const
lariov::DetPedestalProvider
& DoGetPedestalProvider()
const
;
41
42
// We use the geometry service to obtain the orientation for each channel.
43
art::ServiceHandle<geo::Geometry>
m_hgeo
;
44
45
// Pedestal value.
46
float
m_PedMeanU
;
47
float
m_PedMeanV
;
48
float
m_PedMeanZ
;
49
float
m_PedRmsU
;
50
float
m_PedRmsV
;
51
float
m_PedRmsZ
;
52
float
m_PedMeanErrU
;
53
float
m_PedMeanErrV
;
54
float
m_PedMeanErrZ
;
55
float
m_PedRmsErrU
;
56
float
m_PedRmsErrV
;
57
float
m_PedRmsErrZ
;
58
59
};
60
61
DECLARE_ART_SERVICE_INTERFACE_IMPL
(
FixedDetPedestalService
,
lariov::DetPedestalService
, LEGACY)
62
63
#endif
FixedDetPedestalService::m_PedMeanErrV
float m_PedMeanErrV
Definition:
FixedDetPedestalService.h:53
art::ServiceHandle< geo::Geometry >
FixedDetPedestalService::m_hgeo
art::ServiceHandle< geo::Geometry > m_hgeo
Definition:
FixedDetPedestalService.h:43
DECLARE_ART_SERVICE_INTERFACE_IMPL
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
FixedDetPedestalService::m_PedRmsV
float m_PedRmsV
Definition:
FixedDetPedestalService.h:50
FixedDetPedestalService::m_PedMeanU
float m_PedMeanU
Definition:
FixedDetPedestalService.h:46
FixedDetPedestalService::m_PedMeanV
float m_PedMeanV
Definition:
FixedDetPedestalService.h:47
FixedDetPedestalService::m_PedRmsU
float m_PedRmsU
Definition:
FixedDetPedestalService.h:49
DetPedestalProvider.h
FixedDetPedestalService::m_PedRmsErrV
float m_PedRmsErrV
Definition:
FixedDetPedestalService.h:56
Geometry.h
art framework interface to geometry description
DetPedestalService.h
FixedDetPedestalService::m_PedRmsErrU
float m_PedRmsErrU
Definition:
FixedDetPedestalService.h:55
fhicl
Definition:
InputSourceFactory.h:7
lariov::DetPedestalService
Definition:
DetPedestalService.h:18
ServiceMacros.h
FixedDetPedestalService::m_PedRmsZ
float m_PedRmsZ
Definition:
FixedDetPedestalService.h:51
FixedDetPedestalService
Definition:
FixedDetPedestalService.h:21
art::ActivityRegistry
Definition:
ActivityRegistry.h:52
FixedDetPedestalService::m_PedMeanZ
float m_PedMeanZ
Definition:
FixedDetPedestalService.h:48
art
Definition:
BasicOptionsHandler.h:9
FixedDetPedestalService::m_PedRmsErrZ
float m_PedRmsErrZ
Definition:
FixedDetPedestalService.h:57
lariov::DetPedestalProvider
Definition:
DetPedestalProvider.h:25
raw::ChannelID_t
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Definition:
RawTypes.h:28
FixedDetPedestalService::m_PedMeanErrU
float m_PedMeanErrU
Definition:
FixedDetPedestalService.h:52
cet::registry_via_id
Definition:
registry_via_id.h:19
FixedDetPedestalService::m_PedMeanErrZ
float m_PedMeanErrZ
Definition:
FixedDetPedestalService.h:54
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11