LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ChannelFilter.h
Go to the documentation of this file.
1 //
3 // ChannelFilter class:
4 //
5 // This class has been obsoleted and is now a deprecated interface for
6 // ChannelStatusService.
7 //
8 // Please update your code to use the service directly.
9 //
10 //
11 // Original class: pagebri3@msu.edu
12 //
14 #ifndef CHANNELFILTER_H
15 #define CHANNELFILTER_H
16 
17 // LArSoft libraries
18 namespace lariov {
19  class ChannelStatusProvider;
20 }
21 
22 // C/C++ standard libraries
23 #include <set>
24 #include <stdint.h>
25 
26 namespace filter {
27 
28  class /* [[deprecated]] */ ChannelFilter {
29 
30  public:
31  enum ChannelStatus { GOOD = 0, NOISY = 1, DEAD = 2, NOTPHYSICAL = 3 };
32 
33  ChannelFilter();
34 
35  bool BadChannel(uint32_t channel) const;
36  bool NoisyChannel(uint32_t channel) const;
37  std::set<uint32_t> SetOfBadChannels() const;
38  std::set<uint32_t> SetOfNoisyChannels() const;
39  ChannelStatus GetChannelStatus(uint32_t channel) const;
40 
41  private:
42  lariov::ChannelStatusProvider const& provider;
43 
44  }; //class ChannelFilter
45 }
46 #endif // CHANNELFILTER_H
Framework includes.
Filters for channels, events, etc.
lariov::ChannelStatusProvider const & provider
object doing the job
Definition: ChannelFilter.h:42