27 float minClusterHitMult);
29 std::vector<std::vector<const ldmx::CalorimeterHit *> > runDBSCAN(
30 const std::vector<const ldmx::CalorimeterHit *> &hits,
bool debug);
33 std::vector<const ldmx::CalorimeterHit *> hits,
34 bool logEnergyWeight);
36 void setMinHitEnergy(
float x) { minHitEnergy_ = x; }
38 void setMinHitDistance(
float x) { clusterHitDist_ = x; }
40 void setZBias(
float x) {
44 void setMinHitMultiplicity(
int x) { minClusterHitMult_ = x; }
46 float getMinHitEnergy()
const {
return minHitEnergy_; };
48 float setMinHitDistance()
const {
return clusterHitDist_; }
50 int setMinHitMultiplicity()
const {
return minClusterHitMult_; }
53 bool isIn(
unsigned int i, std::vector<unsigned int> l) {
54 return std::find(l.begin(), l.end(), i) != l.end();
63 float minHitEnergy_{0};
64 float clusterHitDist_{100.};
65 float clusterZBias_{1.};
66 int minClusterHitMult_{2};
68 enableLogging(
"DBScanClusterBuilder")