LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
EndPointAlg.h
Go to the documentation of this file.
1 
8 #ifndef ENDPOINTALG_H
9 #define ENDPOINTALG_H
10 
11 namespace art {
12  class Event;
13 }
15 namespace fhicl {
16  class ParameterSet;
17 }
18 
19 #include <string>
20 #include <vector>
21 
25 
26 namespace cluster {
27 
29  class EndPointAlg {
30 
31  public:
32  explicit EndPointAlg(fhicl::ParameterSet const& pset);
33 
34  void reconfigure(fhicl::ParameterSet const& pset);
35 
36  size_t EndPoint(const art::PtrVector<recob::Cluster>& clusIn,
37  std::vector<recob::EndPoint2D>& vtxcol,
39  art::Event const& evt,
40  std::string const& label) const;
41 
42  private:
43  double Gaussian(int x, int y, double sigma) const;
44  double GaussianDerivativeX(int x, int y) const;
45  double GaussianDerivativeY(int x, int y) const;
46  void VSSaveBMPFile(const char* fileName, unsigned char* pix, int dx, int dy) const;
47 
48  int fTimeBins;
50  double fGsigma;
51  int fWindow;
52  double fThreshold;
54  };
55 
56 }
57 
58 #endif // ENDPOINTALG_H
Float_t x
Definition: compare.C:6
Declaration of signal hit object.
Float_t y
Definition: compare.C:6
Cluster finding and building.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Definition: DumpUtils.h:289
parameter set interface
Declaration of cluster object.
Algorithm to find 2D end points.
Definition: EndPointAlg.h:29
Definition: MVAAlg.h:12
TCEvent evt
Definition: DataStructs.cxx:8