ChannelSelectorDB.h
Go to the documentation of this file.
1 #ifndef LARWIRECELL_COMPONENTS_CHANNELSELECTORDB
2 #define LARWIRECELL_COMPONENTS_CHANNELSELECTORDB
3 
5 #include "WireCellIface/IChannelNoiseDatabase.h"
6 
7 namespace wcls {
8 
10  {
11  public:
12 
14  virtual ~ChannelSelectorDB();
15 
16  /// IArtEventVisitor.
17  // Note: we don't actually poke at the event but use this
18  // entry to refresh info from services in case they change
19  // event-to-event.
20  virtual void visit(art::Event & event);
21 
22  /// IConfigurable.
23  virtual void configure(const WireCell::Configuration& config);
24 
25  virtual channel_group_t bad_channels() const {
26  return m_bad_channels;
27  }
28  virtual channel_group_t miscfg_channels() const {
29  return m_miscfg_channels;
30  }
31 
32  private:
34  channel_group_t m_bad_channels;
35  channel_group_t m_miscfg_channels;
36  };
37 
38 
39 } // wcls
40 
41 #endif /* LARWIRECELL_COMPONENTS_CHANNELSELECTORDB */
42 
43 // Local Variables:
44 // mode: c++
45 // c-basic-offset: 4
46 // End:
virtual void visit(art::Event &event)
IArtEventVisitor.
virtual channel_group_t bad_channels() const
std::string string
Definition: nybbler.cc:12
virtual channel_group_t miscfg_channels() const
static Config * config
Definition: config.cpp:1054
channel_group_t m_bad_channels
virtual void configure(const WireCell::Configuration &config)
IConfigurable.
channel_group_t m_miscfg_channels
Event finding and building.