LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
CPAlgoQSum.cxx
Go to the documentation of this file.
1 #ifndef RECOTOOL_CPALGOQSUM_CXX
2 #define RECOTOOL_CPALGOQSUM_CXX
3 
4 #include "CPAlgoQSum.h"
5 
6 namespace cmtool {
7 
8  //----------------------------------------------------------
10  //----------------------------------------------------------
11  {
12  _qsum_cut = 0;
13  }
14 
15  //------------------------------------------------------------------------------
16  float CPAlgoQSum::Priority(const ::cluster::ClusterParamsAlg &cluster)
17  //------------------------------------------------------------------------------
18  {
19  if(cluster.GetParams().sum_charge < _qsum_cut) return -1;
20 
21  return cluster.GetParams().sum_charge;
22  }
23 
24 
25 }
26 #endif
CPAlgoQSum()
Default constructor.
Definition: CPAlgoQSum.cxx:9
Cluster finding and building.
Class def header for a class CPAlgoQSum.
virtual float Priority(const ::cluster::ClusterParamsAlg &cluster)
Definition: CPAlgoQSum.cxx:16