MarlinTPC  1.2.0
Public Member Functions | Protected Attributes | List of all members
marlintpc::TrackFitterKalmanProcessor Class Reference

A processor which instantiates a TrackFitterKalman and fits the tracks with it. More...

#include <TrackFitterKalmanProcessor.h>

Inheritance diagram for marlintpc::TrackFitterKalmanProcessor:

Public Member Functions

 TrackFitterKalmanProcessor ()
 Default constructor.
 
 ~TrackFitterKalmanProcessor ()
 Destructor.
 
Processor * newProcessor ()
 Return a new instance of this processor.
 
void init ()
 In this processor the init function set the collection parameters for the track collection and instantiates the TrackFitterFactory.
 
void processRunHeader (lcio::LCRunHeader *run)
 Called once per run to process the event's header.
 
virtual void processEvent (lcio::LCEvent *evt)
 Process event requests a track fitter from the TrackFitterFactory for each event (to update possible conditions data). More...
 
virtual void check (lcio::LCEvent *evt)
 Called for every event - right after processEvent() has been called for all processors.
 
virtual void end ()
 Called after data processing for clean up in the inverse order of the init() method so that resources allocated in the first processor also will be available for all following processors.
 
void bookNtuple ()
 Book histograms This method is used to books all required histograms.
 

Protected Attributes

AIDA::ITuple * _hResXintuple
 
std::string _input_seed_tracks_collection_name
 The name of the input collection of seed tracks.
 
std::string _output_tracks_collection_name
 The name of the output collection with the fitted tracks.
 
int _outputIsTransient
 Give the status which is set to the transient flag of the output collection. More...
 
EVENT::LCParameters * _trackCollectionParameters
 
float _transDefocussing
 
float _longDefocussing
 
float _transDiffusionCoef
 
float _longDiffusionCoef
 
int _nGoodFits
 
int _nBadFits
 

Detailed Description

A processor which instantiates a TrackFitterKalman and fits the tracks with it.

Author
M. Killenberg(University of Bonn)

Input - Prerequisites

Output

Parameters
InputTrackCandidatesThe the name of the input collection of track candidates (default: TPCTrackCandidates)
OutputTracksThe name of the collection the straight tracks be stored under (default: TPCTracks)
SetOutputTransientIf not 0 the output collection is set transient (default: 0)
TransDefocussingThe transverse defocussing in the readout structure $\sigma_{0,{\mathrm trans}}$ (in mm) (default: 1)
LongDefocussingThe longitudinal defocussing in the readout structure $\sigma_{0,{\mathrm long}}$ (in mm) (default: 1)
TransDiffusionCoefThe transverse diffusion coefficient (in mm/ $\sqrt{\mathrm mm}$) (default: 0)
TransDefocussingThe longitudinal diffusion coefficient (in mm/ $\sqrt{\mathrm mm}$) (default: 0)

Member Function Documentation

virtual void marlintpc::TrackFitterKalmanProcessor::processEvent ( lcio::LCEvent *  evt)
virtual

Process event requests a track fitter from the TrackFitterFactory for each event (to update possible conditions data).

Afterwards it loops all tracks and fits them.

Member Data Documentation

int marlintpc::TrackFitterKalmanProcessor::_outputIsTransient
protected

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. Hits and tracks can be set separately.


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