LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 #include "larevt/CalibrationDBI/Interface/ChannelStatusProvider.h"
19 
20 // C/C++ standard libraries
21 #include <set>
22 #include <stdint.h>
23 
24 
25 namespace filter {
26 
27  class /* [[deprecated]] */ ChannelFilter {
28 
29  public:
30 
31  enum ChannelStatus { GOOD = 0,
32  NOISY = 1,
33  DEAD = 2,
35  };
36 
37  ChannelFilter();
38 
39  bool BadChannel(uint32_t channel) const;
40  bool NoisyChannel(uint32_t channel) const;
41  std::set<uint32_t> SetOfBadChannels() const;
42  std::set<uint32_t> SetOfNoisyChannels() const;
43  ChannelStatus GetChannelStatus(uint32_t channel) const;
44 
45  private:
46  lariov::ChannelStatusProvider const& provider;
47 
48  }; //class ChannelFilter
49 }
50 #endif // CHANNELFILTER_H
bool NoisyChannel(uint32_t channel) const
ChannelStatus GetChannelStatus(uint32_t channel) const
bool BadChannel(uint32_t channel) const
Framework includes.
std::set< uint32_t > SetOfNoisyChannels() const
lariov::ChannelStatusProvider const & provider
object doing the job
Definition: ChannelFilter.h:46
std::set< uint32_t > SetOfBadChannels() const