MarlinTrkProcessors
2.4.1
|
======= SimpleDiscDigiProcessor ==========
Produces a TrackerHit collection from SimTrackerHit collection.
More...
#include <SimpleDiscDigiProcessor.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 | _inColName |
Input collection name. | |
std::string | _outColName |
std::string | _outRelColName |
int | _sub_det_id |
int | _nRun |
int | _nEvt |
bool | _SimHits_encoded_with_cellID |
bool | _use_FTDLayerLayout_from_GEAR |
float | _pointReso |
bool | _keepHitsFromDeltas |
std::vector< double > | _FTDZCoordinate |
std::vector< double > | _diskInnerRadius |
std::vector< double > | _diskOuterRadius |
int | _petalsPerDisk |
int | _sensorsPerPetal |
gsl_rng * | r |
======= SimpleDiscDigiProcessor ==========
Produces a 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.
Processor requires collections of SimTrackerHits
Processor produces collection of smeared TrackerHits
CollectionName | The name of input collection of the SimTrackerHits (default name FTDCollection) |
OutputCollectionName | The name of output collection of TrackerHits (default name FTDTrackerHits) |
PointResolution | Point resolution in (x,y) for the planar detectors (in mm) (default value 0.01) |
Sub_Detector_ID | ID of Sub-Detector using UTIL/ILDConf.h from lcio (default value lcio::ILDDetID::FTD) |
keepHitsFromDeltas | Whether to include hits from secondary particles. Mokka also stores hits from secondary particles. Due to the way they are created by SensitiveDetector class in Mokka they are not on the exact detector measurement surface as the surface of a hit is calculated as (entrypoint+exitpoint)/2. Secondary particles however come to existence within the silicon and will die there too. So their entry point is not really the beginning of the silicon but already within. The same is true for the exit point. The middle between them is therefore usually not at the exact z-postion of the detector measurement plane. So only if keepHitsFromDeltas is set to true, will hits with a z-position not corresponding to the measurement plane produce TrackerHits. (default value false) |
PetalsPerDisk | The number of petals per disk. (Although there are no real petals implemented, hits get a CellID0 corresponding to the petal they would be on.) A value of 1 means there is only one petal spanning the whole disk. The petals start from the x-axis with the beginning of the first petal aligned with the axis. (default value 1) |
SensorsPerPetal | The number of sensors per Petal. A petal will be split up into n Sensors, equally distributed. So if the values is 1, there will be one sensor filling the whole petal. If the value is 2, there will be two sensors, splitting the petal at (Rmin-Rmax)/2. As this digitiser simulates a PixelDisk, there there are no sensors at the back. (default value 1) |
|
virtual |
Called at the begin of the job before anything is read.
Use to initialize the processor, e.g. book histograms.