Double_t | fBinWidth | 1/fScale (meters per bin) |
vector<UInt_t> | fHitList | |
vector<std::vector<Hit*> > | fHits | |
UInt_t | fNlevels | Number of levels in the pattern tree |
UInt_t | fNplanes | Number of wire planes contained in the pattern |
Double_t | fOffset | Offset of zero hit position wrt zero det coord (m) |
TreeSearch::Bits** | fPattern | [fNplanes] pattern at all fNlevels resolutions |
Double_t | fScale | 1/(bin resolution) = 2^(fNlevels-1)/width (1/m) |
Allocate memory for new Hitpattern object. Internal utility function called by constructors.
Add hit for given bin in plane to the hit arrays
Set pattern bins corresponding to the exact physical positions between start and end (in m) in the given plane. Positions may range from 0.0 to width. Associate these bins with given hit
Set the points at all depths of the hit pattern that correspond to the hits in plane A. The plane number is extracted from A. The second, optional plane B represents an optional partner plane of A, i.e. a nearby plane with (usually) staggered wires. If B is present, test for pairs of hits in A and B. Naturally, the two planes and their wires must be parallel. Returns number of hits processed
Get array of hits that set the given bin in the given plane
{ SetPositionRange( pos-res, pos+res, plane, hit ); }
Return index into fHits corresponding to the given plane and bin