Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
larreco
larreco
HitFinder
RegionAboveThresholdFinder.h
Go to the documentation of this file.
1
#ifndef REGIONABOVETHRESHOLDFINDER_H
2
#define REGIONABOVETHRESHOLDFINDER_H
3
4
/*!
5
* Title: RegionAboveThresholdFinder Class
6
* Author: Wes Ketchum (wketchum@lanl.gov)
7
*
8
* Description: Class that finds a region above threshold in which to do
9
* hit-finding.
10
*
11
* Input: Vector of floats (like a recob::Wire vector)
12
* Output: Vector of begin times, and vector of end times.
13
*/
14
15
#include <vector>
16
17
namespace
hit
{
18
19
class
RegionAboveThresholdFinder
{
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
hit::RegionAboveThresholdFinder::fThreshold
float fThreshold
Definition:
RegionAboveThresholdFinder.h:30
hit
process_name hit
Definition:
cheaterreco.fcl:51
hit::RegionAboveThresholdFinder
Definition:
RegionAboveThresholdFinder.h:19
hit::RegionAboveThresholdFinder::FillStartAndEndTicks
void FillStartAndEndTicks(const std::vector< float > &signal, std::vector< unsigned int > &start_ticks, std::vector< unsigned int > &end_ticks)
Definition:
RegionAboveThresholdFinder.cxx:15
hit::RegionAboveThresholdFinder::RegionAboveThresholdFinder
RegionAboveThresholdFinder(float threshold)
Definition:
RegionAboveThresholdFinder.h:22
Generated by
1.8.5