LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
CBAlgoTrackSeparate.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CBALGOTRACKSEPARATE_H
15 #define RECOTOOL_CBALGOTRACKSEPARATE_H
16 
17 #include <iostream>
18 #include "math.h"
20 
21 namespace cmtool {
26 
27  public:
28 
31 
33  virtual ~CBAlgoTrackSeparate(){};
34 
39  virtual bool Bool(const ::cluster::ClusterParamsAlg &cluster1,
40  const ::cluster::ClusterParamsAlg &cluster2);
41 
42  void SetVerbose(bool on) { _verbose = on; }
43 
44  void SetDebug(bool on) { _debug = on; }
45 
46  void SetMinNumHits(size_t n) { _MinNumHits = n; }
47 
48  void SetMinAngleDiff(float anglesep) { _MinAngleDiff = anglesep; }
49 
50  void SetMaxOpeningAngle(float maxangle) { _MaxOpeningAngle = maxangle; }
51 
52  void SetMinLength(float minlength) { _MinLength = minlength; }
53 
54  void SetMinPolyHitDensity(float mindensity) { _MinDensity = mindensity; }
55 
56  void SetMaxWidth(float maxwidth) { _MaxWidth = maxwidth; }
57 
58  void SetUseEP(bool flag) { _use_EP = flag; }
59 
60  void SetEPCutoff(float epcut) { _ep_cut = epcut; }
61 
63  virtual void Reset(){}
64 
66  virtual void Report();
67 
68  protected:
69 
70  bool _verbose;
71  bool _debug;
72  bool _use_EP;
73  float _ep_cut;
74  size_t _MinNumHits;
77  float _MinLength;
78  float _MinDensity;
79  float _MaxWidth;
80  double _wire_2_cm;
81  double _time_2_cm;
82  };
83 }
84 
85 #endif
86  // end of doxygen group
87 
Class def header for algorithm classes for CMergeManager.
void SetMaxWidth(float maxwidth)
virtual void Reset()
Function to reset the algorithm instance ... maybe implemented via child class.
virtual void Report()
Function to report what&#39;s going on per merging.
CBAlgoTrackSeparate()
Default constructor.
virtual bool Bool(const ::cluster::ClusterParamsAlg &cluster1, const ::cluster::ClusterParamsAlg &cluster2)
void SetVerbose(bool on)
Setter function for verbosity.
void SetMinPolyHitDensity(float mindensity)
void SetMaxOpeningAngle(float maxangle)
void SetMinLength(float minlength)
Char_t n[5]
virtual ~CBAlgoTrackSeparate()
Default destructor.
void SetMinAngleDiff(float anglesep)