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

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

#include <CutApplicationProcessor.h>

Inheritance diagram for marlintpc::CutApplicationProcessor:

Public Member Functions

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

Static Public Member Functions

static bool compareHit (const std::pair< TrackerHit *, double > &pair1, const std::pair< TrackerHit *, double > &pair2)
 

Protected Attributes

std::string _inputColName
 
std::string _outputColName
 
double _chipHeight
 
double _chipLength
 
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
 
int _lowcutNHitsPerRowOnTrack
 
int _highcutNHitsPerRowOnTrack
 
float _lowcutPhi
 
float _highcutPhi
 
float _lowcutTanLambda
 
float _highcutTanLambda
 
float _lowcutdEdx
 
float _highcutdEdx
 
float _lowcutOmega
 
float _highcutOmega
 
float _lowcutD0
 
float _highcutD0
 
float _lowcutZ0
 
float _highcutZ0
 
bool _cutIfFitFailed
 cut if fit failed for a track
 
float _lowcutCharge
 
float _highcutCharge
 
double _lowcutX
 
double _highcutX
 
double _lowcutY
 
double _highcutY
 
double _lowcutZ
 
double _highcutZ
 
double _lowCutTrackLength
 
double _highCutTrackLength
 
double _lowCutXTrack
 
double _highCutXTrack
 
double _lowCutYTrack
 
double _highCutYTrack
 

Detailed Description

Applies cuts on all relevant track and hit parameters.

If one hit on the track does not apply to all cut the complete track is skipped.

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 meaningles.

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
SetOutputTransienif not 0 the output collection is set transient, default 0
chipHeightchip height in mm (default: 14.08)
chipLengthchip length in mm (default: 14.08)
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
lowCutChargelower cut on charge of cluster
highCutChargeupper cut on charge of cluster
lowCutD0lower cut on D0
highCutD0upper cut on D0
lowCutZ0lower cut on Z0
highCutZ0upper cut on Z0
lowCutOmegalower cut on Omeg
highCutOmegaupper cut on Omega
lowCutXlower cut on x position of hit
highCutXupper cut on x position of hit
lowCutYlower cut on y position of hit
highCutYupper cut on y position of hit
lowCutZlower cut on z position of hit
highCutZupper cut on z position of hit
lowCutXTracklower cut on x position of track
highCutXTracklower cut on x position of track
lowCutYTracklower cut on y position of track
highCutYTrackupper cut on y position of track
lowCutTrackLengthlower cut track length"
highCutTrackLengthhigh cut track length
CutIfFitFailedcut if fit failed for a track (default: false)
Author
Simone Zimmermann, Martin Killenberg (changes by C.Brezina)

Member Data Documentation

double marlintpc::CutApplicationProcessor::_chipHeight
protected
  • chip height in mm
double marlintpc::CutApplicationProcessor::_chipLength
protected
  • chip length in mm
float marlintpc::CutApplicationProcessor::_highcutCharge
protected
  • upper cut on charge of hit
float marlintpc::CutApplicationProcessor::_highcutD0
protected
  • upper cut on D0
float marlintpc::CutApplicationProcessor::_highcutdEdx
protected
  • upper cut on dEdx (track)
int marlintpc::CutApplicationProcessor::_highcutNHitsOnTrack
protected
  • upper cut on number of hits on track
int marlintpc::CutApplicationProcessor::_highcutNHitsPerRowOnTrack
protected
  • upper cut on number of hits per row on track
int marlintpc::CutApplicationProcessor::_highcutNTracks
protected
  • upper cut on number of tracks
float marlintpc::CutApplicationProcessor::_highcutOmega
protected
  • upper cut on omega
float marlintpc::CutApplicationProcessor::_highcutPhi
protected
  • upper cut on phi
float marlintpc::CutApplicationProcessor::_highcutTanLambda
protected
  • upper cut on tan lambda
double marlintpc::CutApplicationProcessor::_highCutTrackLength
protected
  • upper cut on track length
double marlintpc::CutApplicationProcessor::_highcutX
protected
  • upper cut on x position of hit
double marlintpc::CutApplicationProcessor::_highCutXTrack
protected
  • upper cut on x position of hit
double marlintpc::CutApplicationProcessor::_highcutY
protected
  • upper cut on y position of hit
double marlintpc::CutApplicationProcessor::_highCutYTrack
protected
  • upper cut on y position of hit
double marlintpc::CutApplicationProcessor::_highcutZ
protected
  • upper cut on z position of hit
float marlintpc::CutApplicationProcessor::_highcutZ0
protected
  • upper cut on Z0
std::string marlintpc::CutApplicationProcessor::_inputColName
protected
  • the name of the input collection
float marlintpc::CutApplicationProcessor::_lowcutCharge
protected
  • lower cut on charge of hit
float marlintpc::CutApplicationProcessor::_lowcutD0
protected
  • lower cut on D0
float marlintpc::CutApplicationProcessor::_lowcutdEdx
protected
  • lower cut on dEdx (track)
int marlintpc::CutApplicationProcessor::_lowcutNHitsOnTrack
protected
  • lower cut on number of hits on track
int marlintpc::CutApplicationProcessor::_lowcutNHitsPerRowOnTrack
protected
  • lower cut on number of hits per row on track
int marlintpc::CutApplicationProcessor::_lowcutNTracks
protected
  • lower cut on number of tracks
float marlintpc::CutApplicationProcessor::_lowcutOmega
protected
  • lower cut on omega
float marlintpc::CutApplicationProcessor::_lowcutPhi
protected
  • lower cut on phi
float marlintpc::CutApplicationProcessor::_lowcutTanLambda
protected
  • lower cut on tan lambda
double marlintpc::CutApplicationProcessor::_lowCutTrackLength
protected
  • lower cut on track length
double marlintpc::CutApplicationProcessor::_lowcutX
protected
  • lower cut on x position of hit
double marlintpc::CutApplicationProcessor::_lowCutXTrack
protected
  • lower cut on x position of hit
double marlintpc::CutApplicationProcessor::_lowcutY
protected
  • lower cut on y position of hit
double marlintpc::CutApplicationProcessor::_lowCutYTrack
protected
  • lower cut on y position of hit
double marlintpc::CutApplicationProcessor::_lowcutZ
protected
  • lower cut on z position of hit
float marlintpc::CutApplicationProcessor::_lowcutZ0
protected
  • lower cut on Z0
std::string marlintpc::CutApplicationProcessor::_outputColName
protected
  • the name of the output collection

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