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