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