1 #ifndef TrackFinderHoughTrafoProcessor_h
2 #define TrackFinderHoughTrafoProcessor_h 1
13 #include "marlin/Processor.h"
14 #include "lccd/ConditionsMap.hh"
58 virtual Processor* newProcessor()
77 virtual void processRunHeader(lcio::LCRunHeader* run) ;
82 virtual void processEvent(lcio::LCEvent * evt) ;
89 virtual void check(lcio::LCEvent * evt) ;
100 virtual double distanceToTrackFinder(
const double *pos,
114 int hitsontrackvalue = 0,
int orientationvalue = 0)
129 bool operator>(TrackProperties
const trackproperties)
const
131 return (
hitsontrack > trackproperties.hitsontrack);
134 bool operator==(TrackProperties
const trackproperties)
const
136 return(
a == trackproperties.a &&
137 b == trackproperties.b &&
146 static bool sortPredicate(
const TrackProperties& lhs,
const TrackProperties& rhs)
149 return lhs.hitsontrack > rhs.hitsontrack;
153 virtual TrackProperties maxBinFinder(AIDA::IHistogram2D * histo);
155 typedef std::vector<TrackProperties> TPVec;
191 AIDA::IHistogram1D * histod;
192 AIDA::IHistogram2D * HistoEvent;
193 std::vector<AIDA::IHistogram2D *> HistoLineVec;
194 std::vector<AIDA::IHistogram2D *> HistoTrackVec;
195 std::vector<AIDA::IHistogram2D *> HistoHoughVec;
nested helper class that stores the properties of a straight track.
Definition: TrackFinderHoughTrafoProcessor.h:105
double _maxDistanceToTrack
Definition: TrackFinderHoughTrafoProcessor.h:171
int _nRun
Definition: TrackFinderHoughTrafoProcessor.h:180
int _nHitsOnTrack
Definition: TrackFinderHoughTrafoProcessor.h:172
std::string _outputColName
Definition: TrackFinderHoughTrafoProcessor.h:168
float _houghSpaceMaxB
The half range (-max–max) of the hough space histogram in 'b' direction.
Definition: TrackFinderHoughTrafoProcessor.h:188
int _houghSpaceNBinsB
The number of bins in the hough space histogram in 'b' direction.
Definition: TrackFinderHoughTrafoProcessor.h:186
std::string _inputColName
Definition: TrackFinderHoughTrafoProcessor.h:167
int _houghSpaceNBinsA
The number of bins in the hough space histogram in 'a' direction.
Definition: TrackFinderHoughTrafoProcessor.h:185
float _houghSpaceMaxA
The half range (-max..max) of the hough space histogram in 'a' direction.
Definition: TrackFinderHoughTrafoProcessor.h:187
std::string _trackType
Definition: TrackFinderHoughTrafoProcessor.h:169
double a
Definition: TrackFinderHoughTrafoProcessor.h:182
double a
slope of track
Definition: TrackFinderHoughTrafoProcessor.h:108
int orientation
orientation of the track: 0: y = ax + b 1: x = ya + b
Definition: TrackFinderHoughTrafoProcessor.h:111
int _chipID
Definition: TrackFinderHoughTrafoProcessor.h:173
int hitsontrack
number of hits on the track
Definition: TrackFinderHoughTrafoProcessor.h:110
double b
intersection of track on axis set by orientation
Definition: TrackFinderHoughTrafoProcessor.h:109
int _outputIsTransient
give the status which is set to the transient flag of the output collection it is an int instead of a...
Definition: TrackFinderHoughTrafoProcessor.h:178
double b
Definition: TrackFinderHoughTrafoProcessor.h:183
uses the hough transformation to find hits on straight tracks.
Definition: TrackFinderHoughTrafoProcessor.h:50