LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
RegionAboveThresholdFinder.h
Go to the documentation of this file.
1 #ifndef REGIONABOVETHRESHOLDFINDER_H
2 #define REGIONABOVETHRESHOLDFINDER_H
3 
15 #include <vector>
16 
17 namespace hit{
18 
20 
21  public:
22  RegionAboveThresholdFinder(float threshold) { fThreshold = threshold; }
23 
24  void FillStartAndEndTicks(const std::vector<float>& signal,
25  std::vector<unsigned int>& start_ticks,
26  std::vector<unsigned int>& end_ticks);
27 
28  private:
29 
30  float fThreshold;
31 
32  };
33 
34 }
35 
36 #endif
void FillStartAndEndTicks(const std::vector< float > &signal, std::vector< unsigned int > &start_ticks, std::vector< unsigned int > &end_ticks)
Detector simulation of raw signals on wires.