CPAlgoQSum.cxx
Go to the documentation of this file.
1 #include "CPAlgoQSum.h"
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
Cluster finding and building.
Class def header for a class CPAlgoQSum.
virtual float Priority(const ::cluster::ClusterParamsAlg &cluster)
Definition: CPAlgoQSum.cxx:13