LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
CFAlgoStartPointCompat.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CFALGOSTARTPOINTCOMPAT_H
15 #define RECOTOOL_CFALGOSTARTPOINTCOMPAT_H
16 
18 #include <math.h>
19 
20 namespace cmtool {
27 
28  public:
29 
32 
35 
36  //
37  // Author should be aware of 3 functions at least: Float, Report,
38  // and Reset. More possibly-useful functions can be found in the later
39  // part but commented out. All of these functions are virtual and defined
40  // in the base class.
41 
46  virtual float Float(const std::vector<const cluster::ClusterParamsAlg*> &clusters);
47 
52  virtual void Report();
53 
55  virtual void Reset();
56 
58  void SetVerbose( bool on ) { _verbose = on; }
59 
60  private:
61 
62  double _w2cm, _t2cm;
63  //double _MaxArea;
64  bool _verbose;
65  };
66 
67 
68 }
69 #endif
70  // end of doxygen group
71 
Class def header for a class CFloatAlgoBase.
virtual ~CFAlgoStartPointCompat()
Default destructor.
void SetVerbose(bool on)
Function to set verbose output.
virtual float Float(const std::vector< const cluster::ClusterParamsAlg * > &clusters)
CFAlgoStartPointCompat()
Default constructor.
virtual void Reset()
Function to reset the algorithm instance, called together with manager&#39;s Reset()