IChannelStatus.h
Go to the documentation of this file.
1 /**
2  IChannelStatus provides information about each channel which
3  potentially could change during the run.
4  */
5 
6 #ifndef WIRECELLIFACE_ICHANNELSTATUS
7 #define WIRECELLIFACE_ICHANNELSTATUS
8 
10 
11 namespace WireCell {
12 
13  class IChannelStatus : public IComponent<IChannelStatus> {
14  public:
15  virtual ~IChannelStatus() ;
16 
17  /// Return the current gain for the preamplifier in units of
18  /// [voltage]/[charge].
19  virtual double preamp_gain(int chid) const = 0;
20 
21  /// Return the current shaping time of the preamplifier for
22  /// the given channel in units of [time].
23  virtual double preamp_shaping(int chid) const = 0;
24 
25  };
26 }
27 
28 #endif
virtual double preamp_gain(int chid) const =0
virtual double preamp_shaping(int chid) const =0
Definition: Main.h:22