LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
CFAlgoChargeDistrib.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CFALGOCHARGEDISTRIB_H
15 #define RECOTOOL_CFALGOCHARGEDISTRIB_H
16 
18 
19 namespace cmtool {
26 
27  public:
28 
31 
33  virtual ~CFAlgoChargeDistrib(){};
34 
35  //
36  // Author should be aware of 3 functions at least: Float, Report,
37  // and Reset. More possibly-useful functions can be found in the later
38  // part but commented out. All of these functions are virtual and defined
39  // in the base class.
40 
45  virtual float Float(const std::vector<const cluster::ClusterParamsAlg*> &clusters);
46 
51  virtual void Report();
52 
54  virtual void Reset();
55 
56  private:
57 
58  float TProfConvol(std::vector<util::PxHit> hita ,std::vector<util::PxHit> hitb);
59 
60  void SetVerbose(bool on) { _verbose = on; }
61 
62  void SetDebug(bool on) { _debug = on; }
63 
64  bool _verbose;
65  bool _debug;
66 
67 
68  };
69 }
70 #endif
71  // end of doxygen group
72 
float TProfConvol(std::vector< util::PxHit > hita, std::vector< util::PxHit > hitb)
Class def header for a class CFloatAlgoBase.
void SetVerbose(bool on)
Setter function for verbosity.
CFAlgoChargeDistrib()
Default constructor.
virtual float Float(const std::vector< const cluster::ClusterParamsAlg * > &clusters)
virtual ~CFAlgoChargeDistrib()
Default destructor.
virtual void Reset()
Function to reset the algorithm instance, called together with manager&#39;s Reset()