"MarlinReco"
1.16.0
|
======= FTDigiProcessor ==========
Produces FTD TrackerHit collection from SimTrackerHit collection.
More...
#include <FTDDigiProcessor.h>
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 |
======= 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()
Processor requires collections of SimTrackerHits in FTD
Processor produces collection of digitized TrackerHits in FTD
CollectionName | The name of input collection of FTD SimTrackerHits (default name ftd01_VXD) |
OutputCollectionName | The name of output collection of TrackerHits (default name FTDTrackerHits) |
PointResolution | Point resolution in (x,y) for the FTD planar detectors (in mm) (default value 0.01) |
RemoveDrays | When this flag is set to 1 hits produced by delta-electrons are removed from output collections (default value 0) |
MomentumCutForDRays | The upper cut on delta-electron momentum (in MeV) (default value 10) |
|
virtual |
Called at the begin of the job before anything is read.
Use to initialize the processor, e.g. book histograms.