CFAlgoTimeOverlap.h
Go to the documentation of this file.
1 /**
2  * \file CFAlgoTimeOverlap.h
3  *
4  * \ingroup CMTool
5  *
6  * \brief Class def header for a class CFAlgoTimeOverlap
7  *
8  * @author ariana hackenburg
9  */
10 
11 /** \addtogroup CMTool
12 
13  @{*/
14 #ifndef RECOTOOL_CFALGOTIMEOVERLAP_H
15 #define RECOTOOL_CFALGOTIMEOVERLAP_H
16 
18 
19 namespace cmtool {
20  /**
21  \class CFAlgoTimeOverlap
22  User implementation for CFloatAlgoBase class
23  doxygen documentation!
24  */
26 
27  public:
28  /// Default constructor
30 
31  /**This algorithm calculates the difference between start and end times for merged clusters,
32  and compares across planes to form matches.
33  */
34  float Float(util::GeometryUtilities const&,
35  const std::vector<const cluster::ClusterParamsAlg*>& clusters) override;
36 
37  void
38  SetStartTimeCut(float start_time)
39  {
40  _start_time_cut = start_time;
41  }
42 
43  void
45  {
47  }
48 
49  //Order the theta, phi, hits per plane to make cuts convenient
50  /*
51  virtual void SetMaxMiddleMin(const double first, const double second, const double third,
52  double &most, double &middle, double &least) ;
53  */
54  void
56  {
57  _debug = debug;
58  }
59 
60  void
61  SetVerbose(bool verbose) override
62  {
63  _verbose = verbose;
64  }
65 
66  void
67  RequireThreePlanes(bool doit)
68  {
69  _require_3planes = doit;
70  }
71 
72  void Report() override;
73 
74  void Reset() override;
75 
76  protected:
79  bool _debug;
80  bool _verbose;
82  };
83 }
84 #endif
85 /** @} */ // end of doxygen group
void SetStartTimeCut(float start_time)
Class def header for a class CFloatAlgoBase.
void SetVerbose(bool verbose) override
Setter function for verbosity.
verbose
Definition: train.py:477
void RequireThreePlanes(bool doit)
void SetRatioCut(float ratio)
CFAlgoTimeOverlap()
Default constructor.
void Reset() override
Function to reset the algorithm instance called within CMergeManager/CMatchManager&#39;s Reset() ...
float Float(util::GeometryUtilities const &, const std::vector< const cluster::ClusterParamsAlg * > &clusters) override