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

Applies cuts on all relevant track parameters. More...

#include <AnalysisCutSelectorProcessor.h>

Inheritance diagram for marlintpc::AnalysisCutSelectorProcessor:

Public Member Functions

virtual Processor * newProcessor ()
 
virtual void init ()
 
virtual void processRunHeader (lcio::LCRunHeader *run)
 
virtual void processEvent (lcio::LCEvent *evt)
 
virtual void end ()
 

Protected Attributes

std::string _inputColName
 
std::string _outputColName
 
int _outputIsTransient
 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
 
int _lowcutNTracks
 
int _highcutNTracks
 
int _lowcutNHitsOnTrack
 
int _highcutNHitsOnTrack
 
float _lowcutPhi
 
float _highcutPhi
 
float _lowcutChiSq
 
float _highcutChiSq
 
float _lowcutTanLambda
 
float _highcutTanLambda
 
float _lowcutdEdx
 
float _highcutdEdx
 
float _lowcutOmega
 
float _highcutOmega
 
float _lowcutD0
 
float _highcutD0
 
float _lowcutZ0
 
float _highcutZ0
 
double _runZOverride
 
double _runZErrorOverride
 
bool _cutIfFitFailed
 cut if fit failed for a track
 
int _bestModule
 Module with the best row.
 
int _bestRow
 Row with the best resolution.
 
float _zPosHistogramMax
 optional parameter: maximum for z-position histogram range (in case the drift range is larger than the default 600)
 

Detailed Description

Applies cuts on all relevant track parameters.

All cut parameters are optional parameters. If you don't give a value in the steering file the cut is not applied. The default values are meaningless.

The output collection is a subset of the input collection, which means only the pointers to the tracks are stored. Do not remove the input collection from the file. If the output collection is non transient also the input collection has to be non transient.

Input - Prerequisites

Output

Parameters
InputCollectionNameName of input collection of tracks, default TPCTracks
OutputCollectionNamName of the output collection
SetOutputTransientif not 0 the output collection is set transient, default 0
lowCutNTrackslower cut on number of track
highCutNTracksupper cut on number of tracks
lowCutNHitsOnTracklower cut on number of hits on track
highCutNHitsOnTrackupper cut on number of hits on track
lowCutPhilower cut on phi
highCutPhiupper cut on phi
lowCutTanLambalower cut on tan lambda
highCutTanLambdaupper cut on tan lambda
lowCutdEdxlower cut on dEdx
highCutdEdxupper cut on dEdx
lowCutD0lower cut on D0
highCutD0upper cut on D0
lowCutZ0lower cut on Z0
highCutZ0upper cut on Z0
lowCutOmegalower cut on Omega
highCutOmegaupper cut on Omega
CutIfFitFailedcut if fit failed for a track (default: false)
zPosHistogramMaxmaximum for z-position histogram range (default: 600)
Author
F. Mueller

Member Data Documentation

float marlintpc::AnalysisCutSelectorProcessor::_highcutChiSq
protected
  • upper cut on Chi square
float marlintpc::AnalysisCutSelectorProcessor::_highcutD0
protected
  • upper cut on D0
float marlintpc::AnalysisCutSelectorProcessor::_highcutdEdx
protected
  • upper cut on dEdx (track)
int marlintpc::AnalysisCutSelectorProcessor::_highcutNHitsOnTrack
protected
  • upper cut on number of hits on track
int marlintpc::AnalysisCutSelectorProcessor::_highcutNTracks
protected
  • upper cut on number of tracks
float marlintpc::AnalysisCutSelectorProcessor::_highcutOmega
protected
  • upper cut on omega
float marlintpc::AnalysisCutSelectorProcessor::_highcutPhi
protected
  • upper cut on phi
float marlintpc::AnalysisCutSelectorProcessor::_highcutTanLambda
protected
  • upper cut on tan lambda
float marlintpc::AnalysisCutSelectorProcessor::_highcutZ0
protected
  • upper cut on Z0
std::string marlintpc::AnalysisCutSelectorProcessor::_inputColName
protected
  • the name of the input collection
float marlintpc::AnalysisCutSelectorProcessor::_lowcutChiSq
protected
  • lower cut on Chi square
float marlintpc::AnalysisCutSelectorProcessor::_lowcutD0
protected
  • lower cut on D0
float marlintpc::AnalysisCutSelectorProcessor::_lowcutdEdx
protected
  • lower cut on dEdx (track)
int marlintpc::AnalysisCutSelectorProcessor::_lowcutNHitsOnTrack
protected
  • lower cut on number of hits on track
int marlintpc::AnalysisCutSelectorProcessor::_lowcutNTracks
protected
  • lower cut on number of tracks
float marlintpc::AnalysisCutSelectorProcessor::_lowcutOmega
protected
  • lower cut on omega
float marlintpc::AnalysisCutSelectorProcessor::_lowcutPhi
protected
  • lower cut on phi
float marlintpc::AnalysisCutSelectorProcessor::_lowcutTanLambda
protected
  • lower cut on tan lambda
float marlintpc::AnalysisCutSelectorProcessor::_lowcutZ0
protected
  • lower cut on Z0
std::string marlintpc::AnalysisCutSelectorProcessor::_outputColName
protected
  • the name of the output collection
double marlintpc::AnalysisCutSelectorProcessor::_runZErrorOverride
protected
  • Optional user-supplied Z error
double marlintpc::AnalysisCutSelectorProcessor::_runZOverride
protected
  • Optional user-supplied Z

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