All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CPAlgoQSum.cxx
Go to the documentation of this file.
2 
3 namespace cmtool {
4 
5  //----------------------------------------------------------
7  //----------------------------------------------------------
8  {
9  _qsum_cut = 0;
10  }
11 
12  //------------------------------------------------------------------------------
13  float CPAlgoQSum::Priority(const ::cluster::ClusterParamsAlg &cluster)
14  //------------------------------------------------------------------------------
15  {
16  if(cluster.GetParams().sum_charge < _qsum_cut) return -1;
17 
18  return cluster.GetParams().sum_charge;
19  }
20 
21 
22 }
CPAlgoQSum()
Default constructor.
Definition: CPAlgoQSum.cxx:6
process_name cluster
Definition: cheaterreco.fcl:51
Class def header for a class CPAlgoQSum.
virtual float Priority(const ::cluster::ClusterParamsAlg &cluster)
Definition: CPAlgoQSum.cxx:13