ChannelNoiseDB.h
Go to the documentation of this file.
1 #ifndef LARWIRECELL_COMPONENTS_CHANNELNOISEDB
2 #define LARWIRECELL_COMPONENTS_CHANNELNOISEDB
3 
4 #include "WireCellSigProc/OmniChannelNoiseDB.h"
6 
7 namespace wcls {
8 
9  class ChannelNoiseDB : public WireCell::SigProc::OmniChannelNoiseDB,
10  public IArtEventVisitor
11  {
12  public:
14  virtual ~ChannelNoiseDB();
15 
16  /// IArtEventVisitor.
17  //
18  // Note: we don't actually poke at the event but use this
19  // entry to refresh info from services in case they change
20  // event-to-event.
21  virtual void visit(art::Event & event);
22 
23  /// IConfigurable.
24  //
25  // Defer default to parent. By default this class does not
26  // overriding.
27 
28  // Defer to parent but override if asked to.
29  virtual void configure(const WireCell::Configuration& config);
30 
31  /// All IChannelNoiseDatabase interface is defered to parent.
32 
33  private:
34 
35  // The policy for overriding parent class information.
37  kNothing = 0, // this class leaves info untouched.
38  kReplace, // this class replaces all parent info with what is given by service.
39  kUnion // this class adds to parent only for channels given by service.
40  };
41 
43 
44 
45 
48  double m_fgstgs[4];
49  };
50 
51 
52 } // wcls
53 
54 #endif /* LARWIRECELL_COMPONENTS_CHANNELNOISEDB */
55 
56 // Local Variables:
57 // mode: c++
58 // c-basic-offset: 4
59 // End:
OverridePolicy_t m_bad_channel_policy
virtual void configure(const WireCell::Configuration &config)
IConfigurable.
OverridePolicy_t m_misconfig_channel_policy
OverridePolicy_t
All IChannelNoiseDatabase interface is defered to parent.
static Config * config
Definition: config.cpp:1054
OverridePolicy_t parse_policy(const WireCell::Configuration &jpol)
virtual void visit(art::Event &event)
IArtEventVisitor.
Event finding and building.