LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 #include "fhiclcpp/ParameterSet.h"
15 
16 namespace hit{
17 
18  class HitFilterAlg {
19  public:
20  explicit HitFilterAlg(fhicl::ParameterSet const & p);
21  virtual ~HitFilterAlg() {}
22 
23  void reconfigure(fhicl::ParameterSet const & p);
24  bool IsGoodHit(const recob::Hit& hit) const;
25 
26  private:
27 
28  std::vector<float> fMinPulseHeight;
29  std::vector<float> fMinPulseSigma;
30  };
31 
32 }//end namespace hit
33 #endif
bool IsGoodHit(const recob::Hit &hit) const
Declaration of signal hit object.
std::vector< float > fMinPulseHeight
Definition: HitFilterAlg.h:28
void reconfigure(fhicl::ParameterSet const &p)
virtual ~HitFilterAlg()
Definition: HitFilterAlg.h:21
Detector simulation of raw signals on wires.
std::vector< float > fMinPulseSigma
Definition: HitFilterAlg.h:29
2D representation of charge deposited in the TDC/wire plane
Definition: Hit.h:49
HitFilterAlg(fhicl::ParameterSet const &p)
Definition: HitFilterAlg.cxx:6