MarlinTrkProcessors
2.4.1
|
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>
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 |
Processor that takes tracks from multiple sources and outputs them (or modified versions, or a subset of them) as one track collection.
Track collections
A single track collection
TrackInputCollections | A vector of the input track collections (default value ForwardTracks SiTracks ) |
TrackOutputCollection | Name of the output track collection (default value SubsetTracks ) |
MultipleScatteringOn | Whether to take multiple scattering into account when fitting the tracks (default value true ) |
EnergyLossOn | Whether to take energyloss into account when fitting the tracks (default value true ) |
SmoothOn | Whether to smooth all measurement sites in fit (default value false ) |
Omega | The 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. |
|
virtual |
Called at the begin of the job before anything is read.
Use to initialize the processor, e.g. book histograms.