LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
CFloatAlgoBase.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CFLOATALGOBASE_H
15 #define RECOTOOL_CFLOATALGOBASE_H
16 
18 namespace util {
19  class GeometryUtilities;
20 }
21 
22 #include <vector>
23 
24 namespace cmtool {
25 
32  class CFloatAlgoBase : public CMAlgoBase {
33  public:
38  virtual float Float(util::GeometryUtilities const&,
39  const std::vector<const cluster::ClusterParamsAlg*>& clusters)
40  {
41  if (clusters.size())
42  return 1;
43  else
44  return -1;
45  }
46  };
47 
48 }
49 
50 #endif
51  // end of doxygen group
Namespace for general, non-LArSoft-specific utilities.
Definition: PIDAAlg.h:26
virtual float Float(util::GeometryUtilities const &, const std::vector< const cluster::ClusterParamsAlg * > &clusters)
Class def header for a class CMAlgoBase.