SliceRemover.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file: SliceRemover.h
3 // \brief Remove hits associated with slices.
4 // \author Justin Vasel <justin.vasel@gmail.com>
5 // \date 2020-01-21
6 ////////////////////////////////////////////////////////////////////////
7 
8 #ifndef SLICEREMOVER_H
9 #define SLICEREMOVER_H
10 
11 #include <cstdint>
12 
16 
17 #include "RecoBase/CellHit.h"
18 #include "RecoBase/Cluster.h"
20 
21 
22 namespace sn {
23  class SliceRemover {
24  public:
25  SliceRemover(sn::HitVetoMap& vetoMap);
26  ~SliceRemover();
27 
28  int NumRemoved() {return fNumRemoved;};
29 
30  void remove(std::vector<art::Ptr<rb::CellHit>>& hits, std::vector<art::Ptr<rb::Cluster>>& clusters);
31 
32  private:
34 
36  };
37 }
38 
39 #endif
void hits()
Definition: readHits.C:15
SliceRemover(sn::HitVetoMap &vetoMap)
Remove hits from hot and cold channels.
sn::HitVetoMap & fVetoMap
Definition: SliceRemover.h:33