LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
sppt Namespace Reference

Classes

class  SpacePointAlg_TimeSort
 
class  TTSpacePointFinder
 

Functions

bool HitTimeComparison (art::Ptr< recob::Hit > a, art::Ptr< recob::Hit > b)
 

Detailed Description

Title: SpacePointAlg_TimeSort class Author: wketc.nosp@m.hum@.nosp@m.lanl..nosp@m.gov Inputs: std::vector<recob::Hit> (one for each plane) Outputs: std::vector<recob::SpacePoint>

Description: This space point algorithm tries to improve speed by (1) keeping hit collections distinct among planes; (2) sorting hit collections by time; and, (3) having a lookup table for (y,z) coordinate positions. The original use case for this code was with the TTHitFinder, which produces an incredibly large number of hits per plane, making some sorted space point alg more attractive.

This code is totally microboone specific, btw.

Title: TTSpacePointFinder class Author: wketc.nosp@m.hum@.nosp@m.lanl..nosp@m.gov Inputs: recob::Hit Outputs: recob::SpacePoint

Description: This module, TimeTickSpacePointFinder (or TTSpacePointFinder for short) was originally designed to produce a spacepoint object based on hits from TTHitFinder, with the intention to allow for a significant number of ghost spacepoints, where some downstream application would deal with the results.

In reality, it is just a generic SpacePointFinder implementing the SpacePointAlg_TimeSort algorithm.

This code is totally microboone specific, btw.

Function Documentation

bool sppt::HitTimeComparison ( art::Ptr< recob::Hit a,
art::Ptr< recob::Hit b 
)

Definition at line 32 of file SpacePointAlg_TimeSort.h.

References recob::Hit::PeakTime().

Referenced by sppt::SpacePointAlg_TimeSort::sortHitsByTime().

32 { return a->PeakTime() < b->PeakTime(); }
float PeakTime() const
Time of the signal peak, in tick units.
Definition: Hit.h:219