DisambigAlg35t.h
Go to the documentation of this file.
1 /////////////////////////////////////////////////////////////////
2 //
3 // Disambiguation algorithm based on Tom Junk's idea of 3-view matching
4 // Start from code written by talion@gmail.com
5 // trj@fnal.gov
6 // tjyang@fnal.gov
7 //
8 ////////////////////////////////////////////////////////////////////
9 #ifndef DisambigAlg35t_H
10 #define DisambigAlg35t_H
11 #include <vector>
12 #include <map>
13 #include <cmath>
14 #include <iostream>
15 #include <stdint.h>
16 
18 #include "fhiclcpp/ParameterSet.h"
22 
28 #include "APAGeometryAlg.h"
30 namespace detinfo {
31  class DetectorClocksData;
32  class DetectorPropertiesData;
33 }
34 
35 #include "TMatrixD.h"
36 #include "TVectorD.h"
37 
38 
39 
40 namespace dune{
41 
42  //---------------------------------------------------------------
44  public:
45 
46 
48 
49  void RunDisambig(detinfo::DetectorClocksData const& clockData,
50  detinfo::DetectorPropertiesData const& detProp,
51  const std::vector< art::Ptr<recob::Hit> > &OrigHits );
52  ///< Run disambiguation as currently configured
53 
54 
55  std::vector< std::pair<art::Ptr<recob::Hit>, geo::WireID> > fDisambigHits;
56  ///< The final list of hits to pass back to be made
57 
58  private:
59 
60  // other classes we will use
62  double fTimeCut;
63  double fDistanceCut;
65  double fTimeWiggle;
68  cluster::DBScanAlg fDBScan; ///< object that implements the DB scan algorithm
69  }; // class DisambigAlg35t
70 
71 } // namespace dune
72 
73 #endif // ifndef DisambigAlg35t_H
dune::apa::APAGeometryAlg fAPAGeo
struct vector vector
std::vector< std::pair< art::Ptr< recob::Hit >, geo::WireID > > fDisambigHits
The final list of hits to pass back to be made.
art framework interface to geometry description
General LArSoft Utilities.
Definition of data types for geometry description.
Declaration of signal hit object.
Contains all timing reference information for the detector.
Declaration of basic channel signal object.
cluster::DBScanAlg fDBScan
object that implements the DB scan algorithm