"MarlinReco"  1.16.0
Public Member Functions | Protected Attributes | List of all members
FTDDigiProcessor Class Reference

======= FTDigiProcessor ==========
Produces FTD TrackerHit collection from SimTrackerHit collection. More...

#include <FTDDigiProcessor.h>

Inheritance diagram for FTDDigiProcessor:

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 _colName
 Input collection name.
 
std::string _outColName
 
int _nRun
 
int _nEvt
 
float _pointReso
 
float _momCut
 
int _removeDrays
 
gsl_rng * r
 
FTDLayer * _ftdLayers
 

Detailed Description

======= FTDigiProcessor ==========
Produces FTD TrackerHit collection from SimTrackerHit collection.


The positions of "digitized" TrackerHits are obtained by gaussian smearing positions of SimTrackerHits in (x,y) plane according to the specified point resolution. Each created TrackerHit is assigned the type via method TrackerHitImpl::setType(int type). The FTD TrackerHit type is encoded in the following way :
type = 200 + layer_index_ftd for vertex hits (layer_index_ftd = 1...7)
To access this type use method TrackerHit::getType()

Input collections and prerequisites

Processor requires collections of SimTrackerHits in FTD

Output

Processor produces collection of digitized TrackerHits in FTD

Parameters
CollectionNameThe name of input collection of FTD SimTrackerHits
(default name ftd01_VXD)
OutputCollectionNameThe name of output collection of TrackerHits
(default name FTDTrackerHits)
PointResolutionPoint resolution in (x,y) for the FTD planar detectors (in mm)
(default value 0.01)
RemoveDraysWhen this flag is set to 1 hits produced by delta-electrons are removed from output collections
(default value 0)
MomentumCutForDRaysThe upper cut on delta-electron momentum (in MeV)
(default value 10)

Author
A. Raspereza, MPI (Munich)

Member Function Documentation

virtual void FTDDigiProcessor::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 file: