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

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

#include <SimplePlanarDigiProcessor.h>

Inheritance diagram for SimplePlanarDigiProcessor:

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

double correctPhiRange (double Phi) const
 
int getLadderNumber (const gear::ZPlanarParameters *det, SimTrackerHit *sh, int layerNumber)
 

Protected Attributes

std::string _inColName
 
std::string _outColName
 
std::string _outRelColName
 
int _sub_det_id
 
int _nRun
 
int _nEvt
 
float _pointResU
 
float _pointResV
 
bool _ladder_Number_encoded_in_cellID
 
bool _isStrip
 
gsl_rng * _rng
 

Detailed Description

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

The plannar geometry should be either VXD, SIT or SET described using ZPlannarLayout The positions of "digitized" TrackerHits are obtained by gaussian smearing positions of SimTrackerHits perpendicular and along the ladder according to the specified point resolutions.

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)
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)
Ladder_Number_encoded_in_cellIDladder number has been encoded in the cellID
(default value false)
Sub_Detector_IDID of Sub-Detector using UTIL/ILDConf.h from lcio
(default value lcio::ILDDetID::VXD)

Member Function Documentation

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