LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
CFAlgoStartTimeCompat.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CFALGOSTARTTIMECOMPAT_H
15 #define RECOTOOL_CFALGOSTARTTIMECOMPAT_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 
61  void SetTimeDist( double t ) { _timeDist = t; }
62 
63  private:
64 
65  double _w2cm, _t2cm;
66  bool _verbose;
67  double _timeDist; // Max separation in time between start points [cm]
68  };
69 
70 
71 }
72 #endif
73  // end of doxygen group
74 
virtual float Float(const std::vector< const cluster::ClusterParamsAlg * > &clusters)
Class def header for a class CFloatAlgoBase.
CFAlgoStartTimeCompat()
Default constructor.
void SetVerbose(bool on)
Function to set verbose output.
virtual void Reset()
Function to reset the algorithm instance, called together with manager&#39;s Reset()
virtual ~CFAlgoStartTimeCompat()
Default destructor.
void SetTimeDist(double t)
Function to set verbose output.