LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
CFAlgoWireOverlap.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CFALGOWIREOVERLAP_H
15 #define RECOTOOL_CFALGOWIREOVERLAP_H
16 
18 #include <math.h>
20 
21 namespace cmtool {
28 
29  public:
30 
33 
35  virtual ~CFAlgoWireOverlap(){};
36 
37  //
38  // Author should be aware of 3 functions at least: Float, Report,
39  // and Reset. More possibly-useful functions can be found in the later
40  // part but commented out. All of these functions are virtual and defined
41  // in the base class.
42 
47  virtual float Float(const std::vector<const cluster::ClusterParamsAlg*> &clusters);
48 
53  virtual void Report();
54 
56  virtual void Reset();
57 
59  void SetVerbose( bool on ) { _verbose = on; }
60 
62  void SetDebug( bool on ) { _debug = on; }
63 
65  void SetUseAllPlanes( bool on ) { _UseAllPlanes = on; }
66 
67  private:
68 
69  double _w2cm, _t2cm;
70  bool _verbose;
71  bool _debug;
72  bool _UseAllPlanes; //If True matching only if clusters.size() == 3)
73 
74  };
75 
76 
77 }
78 #endif
79  // end of doxygen group
80 
2D polygon object
CFAlgoWireOverlap()
Default constructor.
Class def header for a class CFloatAlgoBase.
void SetUseAllPlanes(bool on)
Function to set if _UseAllPlanes is on/off.
virtual ~CFAlgoWireOverlap()
Default destructor.
virtual float Float(const std::vector< const cluster::ClusterParamsAlg * > &clusters)
virtual void Reset()
Function to reset the algorithm instance, called together with manager&#39;s Reset()
void SetDebug(bool on)
Function to set debug output.
void SetVerbose(bool on)
Function to set verbose output.