All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
bool IsGoodHit(const recob::Hit &hit) const
pdgs p
Definition: selectors.fcl:22
process_name hit
Definition: cheaterreco.fcl:51
const std::vector< float > fMinPulseSigma
Definition: HitFilterAlg.h:29
virtual ~HitFilterAlg()
Definition: HitFilterAlg.h:22
2D representation of charge deposited in the TDC/wire plane
Definition: Hit.h:48
HitFilterAlg(fhicl::ParameterSet const &p)
const std::vector< float > fMinPulseHeight
Definition: HitFilterAlg.h:28