All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RFFHitFinderAlg.h
Go to the documentation of this file.
1 #ifndef RFFHITFINDERALG_H
2 #define RFFHITFINDERALG_H
3 
4 /*!
5  * Title: RFFHitFinderAlg Class
6  * Author: Wes Ketchum (wketchum@lanl.gov)
7  *
8  * Description:
9  * Class that runs the RFF HitFinder. Implements an RFFHitFitter, and takes
10  * the result and stores it in recob::Hit objects.
11  *
12  * Input: recob::Wire
13  * Output: recob::Hit
14 */
15 
16 #include <vector>
17 
20 
23 
24 #include "RFFHitFitter.h"
25 
26 namespace fhicl { class ParameterSet; }
27 namespace geo { class Geometry; }
28 
29 namespace hit{
30 
32 
33  const float SQRT_TWO_PI = 2.506628;
34 
35  public:
36  RFFHitFinderAlg(fhicl::ParameterSet const&);
37 
39  void Run(std::vector<recob::Wire> const&,
40  std::vector<recob::Hit>&,
41  geo::Geometry const&);
42 
43  private:
44 
45  std::vector<float> fMatchThresholdVec;
46  std::vector<unsigned int> fMergeMultiplicityVec;
47  std::vector<float> fAmpThresholdVec;
48 
49  void SetFitterParams(unsigned int);
50 
51  void EmplaceHit(std::vector<recob::Hit>&,
52  recob::Wire const&,
53  float const&,
54  raw::TDCtick_t const&, raw::TDCtick_t const&,
55  geo::SigType_t const&, geo::WireID const&);
56 
57 
59 
60  };
61 
62 }
63 
64 
65 #endif
void EmplaceHit(std::vector< recob::Hit > &, recob::Wire const &, float const &, raw::TDCtick_t const &, raw::TDCtick_t const &, geo::SigType_t const &, geo::WireID const &)
void Run(std::vector< recob::Wire > const &, std::vector< recob::Hit > &, geo::Geometry const &)
Declaration of signal hit object.
process_name hit
Definition: cheaterreco.fcl:51
void SetFitterParamsVectors(geo::Geometry const &)
int TDCtick_t
Type representing a TDC tick.
Definition: RawTypes.h:25
enum geo::_plane_sigtype SigType_t
std::vector< float > fAmpThresholdVec
std::vector< float > fMatchThresholdVec
The geometry of one entire detector, as served by art.
Definition: Geometry.h:181
Definition of data types for geometry description.
RFFHitFinderAlg(fhicl::ParameterSet const &)
std::vector< unsigned int > fMergeMultiplicityVec
void SetFitterParams(unsigned int)
Class holding the regions of interest of signal from a channel.
Definition: Wire.h:118
Declaration of basic channel signal object.