MarlinTrkProcessors
2.4.1
|
======= PlanarDigiProcessor ==========
Creates TrackerHits from SimTrackerHits, smearing them according to the input parameters.
More...
#include <PlanarDigiProcessor.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 Attributes | |
std::string | _inColName |
std::string | _outColName |
std::string | _outRelColName |
int | _nRun |
int | _nEvt |
FloatVec | _resU |
FloatVec | _resV |
bool | _isStrip |
gsl_rng * | _rng |
======= PlanarDigiProcessor ==========
Creates TrackerHits from SimTrackerHits, smearing them according to the input parameters.
The SimTrackerHits should come from a planar detector like VXD, SIT, SET or FTD.
WARNING: this processor depends on correctly set CellID0s and is NOT backwards compatible to SimTrackerHit output with wrong CellID0s!!!
The positions of "digitized" TrackerHits are obtained by gaussian smearing positions of SimTrackerHits in u and v direction.
Processor requires a collection of SimTrackerHits
Processor produces collection of smeared TrackerHits
SimTrackHitCollectionName | The name of input collection of SimTrackerHits (default name VXDCollection) |
TrackerHitCollectionName | The name of output collection of smeared TrackerHits (default name VTXTrackerHits) |
SimTrkHitRelCollection | The name of the TrackerHit SimTrackerHit relation collection (default name VTXTrackerHitRelations) |
ResolutionU | resolution in direction of u (in mm) (default value 0.004) |
ResolutionV | Resolution in direction of v (in mm) (default value 0.004) |
IsStrip | whether the hits are 1 dimensional strip measurements (default value false) |
|
virtual |
Called at the begin of the job before anything is read.
Use to initialize the processor, e.g. book histograms.