1 #ifndef SPACEPOINTALG_TIMESORT_H 2 #define SPACEPOINTALG_TIMESORT_H 28 #include "boost/multi_array.hpp" 47 std::unique_ptr<std::vector<recob::SpacePoint> > &spptCollection,
SpacePointAlg_TimeSort(fhicl::ParameterSet const &pset)
float fYDiffMax
Maximum allowed time difference.
Declaration of signal hit object.
boost::multi_array< double, 2 > coordinates_UV_y
float fZDiffMax
Maximum allowed y-coordinate difference.
boost::multi_array< double, 2 > coordinates_UY_z
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
bool TIME_OFFSET_SET
Maximum allowed z-coordinate difference.
bool HitTimeComparison(art::Ptr< recob::Hit > a, art::Ptr< recob::Hit > b)
void createSpacePoints(std::vector< art::Ptr< recob::Hit > > &hitVec_U, std::vector< art::Ptr< recob::Hit > > &hitVec_V, std::vector< art::Ptr< recob::Hit > > &hitVec_Y, std::unique_ptr< std::vector< recob::SpacePoint > > &spptCollection, std::unique_ptr< std::vector< std::vector< art::Ptr< recob::Hit > > > > &spptAssociatedHits)
float PeakTime() const
Time of the signal peak, in tick units.
boost::multi_array< double, 2 > coordinates_UY_y
void reconfigure(fhicl::ParameterSet const &pset)
void fillCoordinatesArrays()
~SpacePointAlg_TimeSort()
void sortHitsByTime(std::vector< art::Ptr< recob::Hit > > &hits_handle)
boost::multi_array< double, 2 > coordinates_UV_z