MarlinTPC  1.2.0
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
marlintpc::TrackFinderHoughTrafoProcessor Class Reference

uses the hough transformation to find hits on straight tracks. More...

#include <TrackFinderHoughTrafoProcessor.h>

Inheritance diagram for marlintpc::TrackFinderHoughTrafoProcessor:

Classes

struct  TrackProperties
 nested helper class that stores the properties of a straight track. More...
 

Public Types

typedef std::vector
< TrackProperties
TPVec
 

Public Member Functions

virtual Processor * newProcessor ()
 
virtual void init ()
 
virtual void processRunHeader (lcio::LCRunHeader *run)
 
virtual void processEvent (lcio::LCEvent *evt)
 
virtual void check (lcio::LCEvent *evt)
 
virtual void end ()
 
virtual double distanceToTrackFinder (const double *pos, DoubleVec par, std::string _trackType)
 
virtual TrackProperties maxBinFinder (AIDA::IHistogram2D *histo)
 

Static Public Member Functions

static bool sortPredicate (const TrackProperties &lhs, const TrackProperties &rhs)
 

Protected Attributes

std::string _inputColName
 
std::string _outputColName
 
std::string _trackType
 
double _maxDistanceToTrack
 
int _nHitsOnTrack
 
int _chipID
 
int _outputIsTransient
 give the status which is set to the transient flag of the output collection it is an int instead of a boolean, because the processor parameter cannot be a boolean
 
int _nRun
 
double a
 
double b
 
int _houghSpaceNBinsA
 The number of bins in the hough space histogram in 'a' direction.
 
int _houghSpaceNBinsB
 The number of bins in the hough space histogram in 'b' direction.
 
float _houghSpaceMaxA
 The half range (-max..max) of the hough space histogram in 'a' direction.
 
float _houghSpaceMaxB
 The half range (-max–max) of the hough space histogram in 'b' direction.
 

Detailed Description

uses the hough transformation to find hits on straight tracks.

track parameters can be used as starting values for the TrackFitter

handling of conditions data is done by the ConditionsProcessor

Input - Prerequisites

a collection of TrackerHits

Output

collection of Tracks

Parameters
InputCollectionNameName of the input collection (default: TimePixHits)
OutputCollectionNameName of the output collection (default: TimePixTrackCandidates)
SetOutputTransientIf not 0 the output collection is set transient (default: 0)
Author
Simone Zimmermann

Member Data Documentation

int marlintpc::TrackFinderHoughTrafoProcessor::_chipID
protected
  • number of current chip, 0 if single chip
std::string marlintpc::TrackFinderHoughTrafoProcessor::_inputColName
protected
  • the name of the input collection
double marlintpc::TrackFinderHoughTrafoProcessor::_maxDistanceToTrack
protected
  • Maximum distance of a hit to the track in mm
int marlintpc::TrackFinderHoughTrafoProcessor::_nHitsOnTrack
protected
  • minimum nuber if hits on track
int marlintpc::TrackFinderHoughTrafoProcessor::_nRun
protected
  • counts the processed runs
std::string marlintpc::TrackFinderHoughTrafoProcessor::_outputColName
protected
  • the name of the output collection
std::string marlintpc::TrackFinderHoughTrafoProcessor::_trackType
protected
  • the type of track, that is looked for
double marlintpc::TrackFinderHoughTrafoProcessor::a
protected
  • parameter of hough transformation
double marlintpc::TrackFinderHoughTrafoProcessor::b
protected
  • parameter of hough transformation

The documentation for this class was generated from the following files: