13 #ifndef MergeCluster_h 14 #define MergeCluster_h 18 #include "art_root_io/TFileService.h" 37 class MergeClusterAlg;
45 TVector2
const& centre,
46 TVector2
const& direction,
49 double FindClusterOverlap(TVector2
const& direction,
50 TVector2
const& centre,
51 TVector2
const& start1,
53 TVector2
const& start2,
54 TVector2
const& end2)
const;
55 double FindCrossingDistance(TVector2
const& direction1,
56 TVector2
const& centre1,
57 TVector2
const& direction2,
58 TVector2
const& centre2)
const;
61 double FindProjectedWidth(TVector2
const& centre1,
62 TVector2
const& start1,
64 TVector2
const& centre2,
65 TVector2
const& start2,
66 TVector2
const& end2)
const;
72 bool PassCuts(
double angle,
73 double crossingDistance,
74 double projectedWidth,
76 double longLength)
const;
art::ServiceHandle< geo::Geometry const > fGeom
Declaration of signal hit object.
art::ServiceHandle< art::TFileService const > tfs
Cluster finding and building.
decltype(auto) constexpr end(T &&obj)
ADL-aware version of std::end.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
IDparameter< geo::WireID > WireID
Member type of validated geo::WireID parameter.
double fProjWidthThreshold
std::map< int, int > trueClusterMap
Detector simulation of raw signals on wires.
unsigned int fMinMergeClusterSize
Namespace collecting geometry-related classes utilities.
art framework interface to geometry description
double fMaxMergeSeparation