LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
CBAlgoAngleIncompat.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CBALGOANGLEINCOMPAT_H
15 #define RECOTOOL_CBALGOANGLEINCOMPAT_H
16 
19 
20 namespace cmtool {
27 
28  public:
31 
33  virtual ~CBAlgoAngleIncompat(){};
34 
39  virtual bool Bool(const ::cluster::ClusterParamsAlg& cluster1,
40  const ::cluster::ClusterParamsAlg& cluster2);
41 
42  void SetAllow180Ambig(bool on) { _allow_180_ambig = on; }
43 
44  void SetAngleCut(double angle) { _max_allowed_2D_angle_diff = angle; }
45 
46  void SetUseOpeningAngle(bool on) { _use_opening_angle = on; }
47 
48  void SetMinHits(int n) { _minHits = n; }
49 
50  void SetMinLength(double l) { _min_length = l; }
51 
52  void SetDebug(bool on) { _debug = on; }
53 
54  protected:
55  bool _debug;
58  double _min_length;
60  size_t _minHits;
61  };
62 }
63 #endif
64  // end of doxygen group
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]