LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
HitFilterAlg.h
Go to the documentation of this file.
1 // Class: HitFilterAlg
3 // Purpose: Provide configurable hit filtering functions for identifying
4 // noise and other undesireable hits
5 //
6 // Original code by Tracy Usher, converted to a larsoft algorithm by Brandon Eberly
8 
9 #ifndef HITFILTERALG_H
10 #define HITFILTERALG_H
11 
12 #include <vector>
13 
14 namespace fhicl {
15  class ParameterSet;
16 }
17 namespace recob {
18  class Hit;
19 }
20 
21 namespace hit {
22 
23  class HitFilterAlg {
24  public:
25  explicit HitFilterAlg(fhicl::ParameterSet const& p);
26  virtual ~HitFilterAlg() {}
27 
28  bool IsGoodHit(const recob::Hit& hit) const;
29 
30  private:
31  const std::vector<float> fMinPulseHeight;
32  const std::vector<float> fMinPulseSigma;
33  };
34 
35 } //end namespace hit
36 #endif
Reconstruction base classes.
const std::vector< float > fMinPulseSigma
Definition: HitFilterAlg.h:32
parameter set interface
virtual ~HitFilterAlg()
Definition: HitFilterAlg.h:26
Detector simulation of raw signals on wires.
2D representation of charge deposited in the TDC/wire plane
Definition: Hit.h:46
const std::vector< float > fMinPulseHeight
Definition: HitFilterAlg.h:31