LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
CFAlgoTimeProf.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CFALGOTIMEPROF_H
15 #define RECOTOOL_CFALGOTIMEPROF_H
16 
18 
19 namespace cmtool {
25  class CFAlgoTimeProf : public CFloatAlgoBase {
26 
27  public:
28 
31 
33  virtual ~CFAlgoTimeProf();
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 
41  virtual float Float(const std::vector<const cluster::ClusterParamsAlg*> &clusters);
42 
43  virtual void Report();
44 
46  virtual void Reset();
47 
51  //virtual void EventBegin(const std::vector<cluster::ClusterParamsAlgNew> &clusters);
52 
56  //virtual void EventEnd();
57 
63  //virtual void IterationBegin(const std::vector<cluster::ClusterParamsAlgNew> &clusters);
64 
68  //virtual void IterationEnd();
69 
70  private:
71 
72  float TProfCompare(std::vector<util::PxHit> hita ,std::vector<util::PxHit> hitb);
73 
74 
75  /*
76 (Form("sig_a"),Form("sig_a"),nts,0,nts);
77  TH1D* siginta(Form("sigint_a"),Form("sigint_a"),nts,0,nts);
78  TH1D* sigb(Form("sig_b"),Form("sig_b"),nts,0,nts);
79  TH1D* sigintb(Form("sigint_b"),Form("sigint_b"),nts,0,nts);
80  */
81 
82  };
83 }
84 #endif
85  // end of doxygen group
86 
Class def header for a class CFloatAlgoBase.
virtual ~CFAlgoTimeProf()
Default destructor.
virtual float Float(const std::vector< const cluster::ClusterParamsAlg * > &clusters)
CFAlgoTimeProf()
Default constructor.
virtual void Reset()
Function to reset the algorithm instance, called together with manager&#39;s Reset()
float TProfCompare(std::vector< util::PxHit > hita, std::vector< util::PxHit > hitb)