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

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

#include <DDPlanarDigiProcessor.h>

Inheritance diagram for DDPlanarDigiProcessor:

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
 
std::string _subDetName
 
int _nRun
 
int _nEvt
 
FloatVec _resU
 
FloatVec _resV
 
bool _isStrip
 
gsl_rng * _rng
 
const DD4hep::DDRec::SurfaceMap * _map
 
bool _forceHitsOntoSurface
 
std::vector< TH1F * > _h
 

Detailed Description

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

The positions of "digitized" TrackerHits are obtained by gaussian smearing positions of SimTrackerHits perpendicular and along the ladder according to the specified point resolutions. The geometry of the surface is retreived from DDRec::Surface associated to the hit via cellID.

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)

Author
F.Gaede CERN/DESY, S. Aplin DESY
Date
Dec 2014

Member Function Documentation

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