LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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:
28 
31 
33  virtual ~CFAlgoTimeOverlap(){};
34 
38  virtual float Float(const std::vector<const cluster::ClusterParamsAlg*> &clusters);
39 
40  void SetStartTimeCut(float start_time) { _start_time_cut = start_time ; }
41 
42  void SetRatioCut(float ratio) { _time_ratio_cut = ratio ; }
43 
44 
45  //Order the theta, phi, hits per plane to make cuts convenient
46  /*
47  virtual void SetMaxMiddleMin(const double first, const double second, const double third,
48  double &most, double &middle, double &least) ;
49  */
50  void SetDebug(bool debug) { _debug = debug ; }
51 
52  void SetVerbose(bool verbose) { _verbose = verbose ; }
53 
54  void RequireThreePlanes(bool doit) { _require_3planes = doit; }
55 
56  virtual void Report();
57 
58  virtual void Reset();
59 
60  protected:
63  bool _debug ;
64  bool _verbose ;
66  };
67 }
68 #endif
69  // end of doxygen group
70 
void SetStartTimeCut(float start_time)
Class def header for a class CFloatAlgoBase.
virtual void Reset()
Function to reset the algorithm instance called within CMergeManager/CMatchManager&#39;s Reset() ...
void SetVerbose(bool verbose)
Setter function for verbosity.
virtual ~CFAlgoTimeOverlap()
Default destructor.
DebugStuff debug
Definition: DebugStruct.cxx:4
virtual float Float(const std::vector< const cluster::ClusterParamsAlg * > &clusters)
void RequireThreePlanes(bool doit)
void SetRatioCut(float ratio)
CFAlgoTimeOverlap()
Default constructor.