LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
CFAlgoTimeOverlap.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CFALGOTIMEOVERLAP_H
15 #define RECOTOOL_CFALGOTIMEOVERLAP_H
16 
18 
19 namespace cmtool {
26 
27  public:
30 
34  float Float(util::GeometryUtilities const&,
35  const std::vector<const cluster::ClusterParamsAlg*>& clusters) override;
36 
37  void SetStartTimeCut(float start_time) { _start_time_cut = start_time; }
38 
39  void SetRatioCut(float ratio) { _time_ratio_cut = ratio; }
40 
41  //Order the theta, phi, hits per plane to make cuts convenient
42  /*
43  virtual void SetMaxMiddleMin(const double first, const double second, const double third,
44  double &most, double &middle, double &least) ;
45  */
46  void SetDebug(bool debug) { _debug = debug; }
47 
48  void SetVerbose(bool verbose) override { _verbose = verbose; }
49 
50  void RequireThreePlanes(bool doit) { _require_3planes = doit; }
51 
52  void Report() override;
53 
54  void Reset() override;
55 
56  protected:
59  bool _debug;
60  bool _verbose;
62  };
63 }
64 #endif
65  // end of doxygen group
void SetStartTimeCut(float start_time)
Class def header for a class CFloatAlgoBase.
DebugStuff debug
Definition: DebugStruct.cxx:4
void SetVerbose(bool verbose) override
Setter function for verbosity.
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