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

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

#include <SimpleCylinderDigiProcessor.h>

Inheritance diagram for SimpleCylinderDigiProcessor:

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.
 
double correctPhiRange (double Phi) const
 

Protected Attributes

std::string _inColName
 
std::string _outColName
 
std::string _outRelColName
 
std::string _gearParametersName
 
int _sub_det_id
 
int _nRun
 
int _nEvt
 
float _pointResoRPhi
 
float _pointResoZ
 
bool _hits_encoded_with_cellID
 
gsl_rng * _rng
 

Detailed Description

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

The geometry should be supplied via parameters in a Gear File Containing the following named parameters:

SensitiveLayerInnerRadius
SensitiveLayerThickness
LayerHalfLength

The positions of "digitized" TrackerHits are obtained by gaussian smearing positions of SimTrackerHits in R-Phi and Z 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 SITCollection)
TrackerHitCollectionNameThe name of output collection of smeared TrackerHits
(default name SITTrackerHits)
PointResolutionRPhi_InnerPoint resolution perpendicular to the ladder (in mm)
(default value 0.004)
PointResolutionZ_InnerPoint resolution along the ladder (in mm)
(default value 0.004)
HitsEncodedWithCellIDMokka has encoded the hits in the cellID0 according to UTIL/ILDConf.h
(default value true)
Sub_Detector_IDID of Sub-Detector using UTIL/ILDConf.h from lcio only used if HitsEncodedWithCellID false
(default value lcio::ILDDetID::SIT)
GearParametersNameName of the Gear Parameters to be used
(default value SIT_Simple)

Member Function Documentation

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