LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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  float fThreshold;
30  };
31 
32 }
33 
34 #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.