LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
CBAlgoAngleIncompat.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CBALGOANGLEINCOMPAT_H
15 #define RECOTOOL_CBALGOANGLEINCOMPAT_H
16 
17 #include <iostream>
19 
20 namespace cmtool {
27 
28  public:
29 
32 
34  virtual ~CBAlgoAngleIncompat(){};
35 
40  virtual bool Bool(const ::cluster::ClusterParamsAlg &cluster1,
41  const ::cluster::ClusterParamsAlg &cluster2);
42 
43  void SetAllow180Ambig(bool on) { _allow_180_ambig = on; }
44 
45  void SetAngleCut(double angle) { _max_allowed_2D_angle_diff = angle; }
46 
47  void SetUseOpeningAngle(bool on) { _use_opening_angle = on; }
48 
49  void SetMinHits(int n) { _minHits = n; }
50 
51  void SetMinLength(double l) { _min_length = l; }
52 
53  void SetDebug(bool on) { _debug = on; }
54 
55  protected:
56 
57  bool _debug;
60  double _min_length;
62  size_t _minHits;
63  };
64 }
65 #endif
66  // end of doxygen group
67 
Class def header for algorithm classes for CMergeManager.
virtual ~CBAlgoAngleIncompat()
Default destructor.
CBAlgoAngleIncompat()
Default constructor.
virtual bool Bool(const ::cluster::ClusterParamsAlg &cluster1, const ::cluster::ClusterParamsAlg &cluster2)
Char_t n[5]