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 
15 
16 namespace fhicl {
17 class ParameterSet;
18 }
19 namespace art {
20 class ActivityRegistry;
21 }
22 
24 
25 public:
26 
27  // Service ctor.
29 
30  // Provider ctor.
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.
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;
57  float m_PedRmsErrX;
58  float m_PedRmsErrY;
59  float m_PedRmsErrZ;
60 
61 };
62 
64 
65 #endif
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
art framework interface to geometry description
art::ServiceHandle< geo::Geometry > m_hgeo
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Definition: RawTypes.h:28