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

======= PlanarDigiProcessor ==========
Creates TrackerHits from SimTrackerHits, smearing them according to the input parameters. More...

#include <PlanarDigiProcessor.h>

Inheritance diagram for PlanarDigiProcessor:

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
 

Detailed Description

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

Input collections and prerequisites

Processor requires a collection of SimTrackerHits

Output

Processor produces collection of smeared TrackerHits

Parameters
SimTrackHitCollectionNameThe name of input collection of SimTrackerHits
(default name VXDCollection)
TrackerHitCollectionNameThe name of output collection of smeared TrackerHits
(default name VTXTrackerHits)
SimTrkHitRelCollectionThe name of the TrackerHit SimTrackerHit relation collection
(default name VTXTrackerHitRelations)
ResolutionUresolution in direction of u (in mm)
(default value 0.004)
ResolutionVResolution in direction of v (in mm)
(default value 0.004)
IsStripwhether the hits are 1 dimensional strip measurements
(default value false)

Member Function Documentation

void PlanarDigiProcessor::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: