1 #ifndef TRACK_FINDER_RECTANGULAR_PROCESSOR_H
2 #define TRACK_FINDER_RECTANGULAR_PROCESSOR_H
12 #include <marlin/Processor.h>
13 #include <EVENT/LCEvent.h>
14 #include <EVENT/LCRunHeader.h>
15 #include <IMPL/TrackerHitImpl.h>
16 #include <EVENT/Track.h>
17 #include <gear/PadRowLayout2D.h>
58 virtual Processor* newProcessor()
80 virtual void check(lcio::LCEvent * evt) ;
142 void createNewIsInTrackFlags();
181 #endif//TRACK_FINDER_LINEAR_ROW_BASED_H
int _verbosityLevel
Flag about verbosity of the processor.
Definition: TrackFinderRectangularProcessor.h:127
struct marlintpc::TrackFinderRectangularProcessor::@0 straightLine
Straight line for linear regression.
int _nRun
!!!!! This information should come from the conditions data! Implemented as processor parameter for f...
Definition: TrackFinderRectangularProcessor.h:114
Processor to find linear tracks using linear regression, based on a modified version of the track fol...
Definition: TrackFinderRectangularProcessor.h:53
bool * isInTrack
Array of flags whether a hit is in a track.
Definition: TrackFinderRectangularProcessor.h:129
virtual void init()
Called at the begin of the job before anything is read.
Definition: TrackFinderRectangularProcessor.cc:94
std::string _outputColName
Definition: TrackFinderRectangularProcessor.h:91
virtual void processEvent(lcio::LCEvent *evt)
Called for every event - the working horse.
Definition: TrackFinderRectangularProcessor.cc:142
void zeroFlags(bool *IsIn)
Set flags if hit is in a track to zero.
Definition: TrackFinderRectangularProcessor.cc:122
std::string _inputColName
Definition: TrackFinderRectangularProcessor.h:90
int _minTrackHits
Minimum number of hits on track.
Definition: TrackFinderRectangularProcessor.h:103
float _deltaX
Maximum distances between predicted and measured hit.
Definition: TrackFinderRectangularProcessor.h:107
bool * isInTrackCandidate
Array of flags whether a hit is in the current track candidate.
Definition: TrackFinderRectangularProcessor.h:130
gear::PadRowLayout2D const * _padLayout
The pad layout as defined in GEAR.
Definition: TrackFinderRectangularProcessor.h:99
virtual void end()
Called after data processing for clean up.
Definition: TrackFinderRectangularProcessor.cc:553
int _outputIsTransient
give the status which is set to the transient flag of the output collection it is an int instead of a...
Definition: TrackFinderRectangularProcessor.h:96
unsigned int nHits
Number of hits in the current event.
Definition: TrackFinderRectangularProcessor.h:131
virtual void processRunHeader(lcio::LCRunHeader *run)
Called for every run.
Definition: TrackFinderRectangularProcessor.cc:107
IMPL::TrackerHitImpl extrapolateNextHit(double y)
Extrapolate the next expected hit on the track.
Definition: TrackFinderRectangularProcessor.cc:642
void doRegression(EVENT::Track *trackCandidate)
Calculate the track parameters from the hits.
Definition: TrackFinderRectangularProcessor.cc:563
int _maxSkipRows
Maximum number of missing hits.
Definition: TrackFinderRectangularProcessor.h:104
int _nEvt
The total number of events.
Definition: TrackFinderRectangularProcessor.h:115
void addTrackCandidateFlags()
Add the hits of the track candidate to the isInTrack flag array.
Definition: TrackFinderRectangularProcessor.cc:130