MarlinTrkProcessors  2.4.1
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RefitProcessor Class Reference

Track Refitter processor for marlin. More...

#include <RefitProcessor.h>

Inheritance diagram for RefitProcessor:

Classes

struct  compare_r
 

Public Member Functions

virtual marlin::Processor * newProcessor ()
 
virtual void init ()
 Called at the begin of the job before anything is read. More...
 
virtual void processRunHeader (lcio::LCRunHeader *run)
 Called for every run.
 
virtual void processEvent (lcio::LCEvent *evt)
 Called for every event - the working horse.
 
virtual void check (lcio::LCEvent *evt)
 
virtual void end ()
 Called after data processing for clean up.
 

Protected Member Functions

lcio::LCCollection * GetCollection (lcio::LCEvent *evt, std::string colName)
 
lcio::LCRelationNavigator * GetRelations (lcio::LCEvent *evt, std::string RelName)
 

Protected Attributes

std::string _input_track_col_name
 Input track collection name for refitting.
 
std::string _input_track_rel_name
 Input track relations name for refitting.
 
std::string _output_track_col_name
 refitted track collection name.
 
std::string _output_track_rel_name
 Output track relations name for refitting.
 
MarlinTrk::IMarlinTrkSystem * _trksystem
 pointer to the IMarlinTrkSystem instance
 
bool _MSOn
 
bool _ElossOn
 
bool _SmoothOn
 
float _initialTrackError_d0
 
float _initialTrackError_phi0
 
float _initialTrackError_omega
 
float _initialTrackError_z0
 
float _initialTrackError_tanL
 
float _maxChi2PerHit
 
double _mass
 
int _n_run
 
int _n_evt
 
int _initialTrackState
 
int _fitDirection
 
std::string _trkSystemName
 
float _bField
 

Detailed Description

Track Refitter processor for marlin.

Refits an input track collection, producing a new collection of tracks

Input - Prerequisites

Needs a collection of LCIO Tracks.

Output

Refitted LCIO Track Collection

Parameters
InputTrackCollectionNameName of the Track collection to be refitted
OutputTrackCollectionNameName of the refitted Track collection to be refitted
TrackSystemNamename of the track fitting system to be used (KalTest, DDKalTest, aidaTT, ... )
Author
S. J. Aplin, DESY Nov 2014 F.Gaede CERN/DESY added processor parameter to instantiate other implementations of IMarlinTrk

Member Function Documentation

void RefitProcessor::init ( )
virtual

Called at the begin of the job before anything is read.

Use to initialize the processor, e.g. book histograms.

References _trksystem.


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