ColdHotChannelsRemover.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \brief Remove hits from hot and cold channels
3 /// \author Justin Vasel <justin.vasel@gmail.com>
4 /// \date 5 December 2019
5 ////////////////////////////////////////////////////////////////////////
6 #ifndef COLDHOCHANNELSREMOVER_H
7 #define COLDHOCHANNELSREMOVER_H
8 
9 #include <cstdint>
10 
11 #include "RawData/RawDigit.h"
12 #include "RecoBase/CellHit.h"
15 
16 namespace sn {
18  public:
19  ColdHotChannelsRemover(sn::HitVetoMap& vetoMap, sn::DaqChannelMask& channelMask, float coldRateThreshold, float hotRateThreshold);
21 
22  void remove(art::Ptr<rawdata::RawDigit> hit);
23  void remove(std::vector<art::Ptr<rawdata::RawDigit>> hits);
24  void remove(art::Ptr<rb::CellHit> hit);
25  void remove(std::vector<art::Ptr<rb::CellHit>> hits);
26 
27  float NumRemovedCold();
28  float NumRemovedHot();
29 
30  private:
33 
36 
39  };
40 }
41 
42 #endif
void hits()
Definition: readHits.C:15
ColdHotChannelsRemover(sn::HitVetoMap &vetoMap, sn::DaqChannelMask &channelMask, float coldRateThreshold, float hotRateThreshold)
Remove hits from hot and cold channels.
Definition: structs.h:12
Definition: fwd.h:28
sn::DaqChannelMask & fChannelMask