HitFilterAlg.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // 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
7 ////////////////////////////////////////////////////////////////////////
8 
9 #ifndef HITFILTERALG_H
10 #define HITFILTERALG_H
11 
12 #include <vector>
13 
14 namespace fhicl { class ParameterSet; }
15 namespace recob { class Hit; }
16 
17 namespace hit{
18 
19  class HitFilterAlg {
20  public:
21  explicit HitFilterAlg(fhicl::ParameterSet const & p);
22  virtual ~HitFilterAlg() {}
23 
24  bool IsGoodHit(const recob::Hit& hit) const;
25 
26  private:
27 
28  const std::vector<float> fMinPulseHeight;
29  const std::vector<float> fMinPulseSigma;
30  };
31 
32 }//end namespace hit
33 #endif
Reconstruction base classes.
const std::vector< float > fMinPulseSigma
Definition: HitFilterAlg.h:29
p
Definition: test.py:223
virtual ~HitFilterAlg()
Definition: HitFilterAlg.h:22
Detector simulation of raw signals on wires.
2D representation of charge deposited in the TDC/wire plane
Definition: Hit.h:48
const std::vector< float > fMinPulseHeight
Definition: HitFilterAlg.h:28