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

Processor that takes tracks from multiple sources and outputs them (or modified versions, or a subset of them) as one track collection. More...

#include <TrackSubsetProcessor.h>

Inheritance diagram for TrackSubsetProcessor:

Public Member Functions

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

Protected Member Functions

void removeShortTracks (std::vector< EVENT::Track * > &tracks)
 helper method that removes short tracks from the list that have the same hits as another, longer track in the list by setting the corresponding pointer to NULL.
 

Protected Attributes

std::vector< std::string > _trackInputColNames
 Input collection names.
 
std::string _trackOutputColName
 Output collection name.
 
MarlinTrk::IMarlinTrkSystem * _trkSystem
 
std::string _trkSystemName
 
bool _MSOn
 
bool _ElossOn
 
bool _SmoothOn
 
bool _removeShortTracks
 
float _initialTrackError_d0
 
float _initialTrackError_phi0
 
float _initialTrackError_omega
 
float _initialTrackError_z0
 
float _initialTrackError_tanL
 
double _maxChi2PerHit
 
float _bField
 
int _nRun
 
int _nEvt
 
double _omega
 

Detailed Description

Processor that takes tracks from multiple sources and outputs them (or modified versions, or a subset of them) as one track collection.

Input - Prerequisites

Track collections

Output

A single track collection

Parameters
TrackInputCollectionsA vector of the input track collections
(default value ForwardTracks SiTracks )
TrackOutputCollectionName of the output track collection
(default value SubsetTracks )
MultipleScatteringOnWhether to take multiple scattering into account when fitting the tracks
(default value true )
EnergyLossOnWhether to take energyloss into account when fitting the tracks
(default value true )
SmoothOnWhether to smooth all measurement sites in fit
(default value false )
OmegaThe parameter omega for the HNN. Controls the influence of the quality indicator. Between 0 and 1: 1 means high influence of quality indicator, 0 means no influence.
Author
Robin Glattauer, HEPHY

Member Function Documentation

void TrackSubsetProcessor::init ( )
virtual

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

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


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