"MarlinReco"  1.32.0
Public Member Functions | Protected Attributes | List of all members
VTXDigiProcessor Class Reference

======= VTXDigiProcessor ==========
Produces SIT & VTX TrackerHit collection from SimTrackerHit collections. More...

#include <VTXDigiProcessor.h>

Inheritance diagram for VTXDigiProcessor:

Public Member Functions

 VTXDigiProcessor (const VTXDigiProcessor &)=delete
 
VTXDigiProcessoroperator= (const VTXDigiProcessor &)=delete
 
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 _colNameVTX {}
 
std::string _colNameSIT {}
 
std::string _colNameSET {}
 
std::string _outColNameVTX {}
 
std::string _outColNameSIT {}
 
std::string _outColNameSET {}
 
std::vector< int > _activeSETLayers {}
 
int _nRun {}
 
int _nEvt {}
 
int _smearAlongLadders {}
 
int _debug {}
 
int _removeDRays {}
 
float _pointResoRPhi {}
 
float _pointResoRPhi_VTX {}
 
float _pointResoRPhi_SIT {}
 
float _pointResoRPhi_SET {}
 
float _pointResoZ {}
 
float _pointResoZ_VTX {}
 
float _pointResoZ_SIT {}
 
float _pointResoZ_SET {}
 
float _momCut {}
 
FloatVec _vxdEff {}
 
std::vector< std::pair< long,
long > > 
_vxdCount {}
 
gsl_rng * _rng {}
 

Detailed Description

======= VTXDigiProcessor ==========
Produces SIT & VTX TrackerHit collection from SimTrackerHit collections.


The positions of "digitized" TrackerHits are obtained by gaussian smearing positions of SimTrackerHits in r-phi and z according to the specified point resolutions. Each created TrackerHit is assigned the type via method TrackerHitImpl::setType(int type). The TrackerHit type is encoded in the following way :
type = 100 + layer_index_vtx for vertex hits (layer_index_vtx = 1...5)
type = 400 + layer_index_sit for SIT hits (layer_index_sit = 1,2)
To access this type use method TrackerHit::getType()

Input collections and prerequisites

Processor requires collections of SimTrackerHits in vertex detector and SIT

Output

Processor produces collection of digitized TrackerHits in the vertex detector and SIT

Parameters
VTXCollectionNameThe name of input collection of VTX SimTrackerHits
(default name vxd00_VXD)
SITCollectionNameThe name of input collection of SIT SimTrackerHits
(default name sit00_SIT)
VTXHitCollectionThe name of output collection of digitized VTX TrackerHits
(default name VTXTrackerHits)
SITHitCollectionThe name of output collection of digitized SIT TrackerHits
(default name SITTrackerHits)
PointResolutionRPhi_VTXPoint resolution in r-phi for the vertex detector (in mm)
(default value 0.004)
PointResolutionZ_VTXPoint resolution in z for the vertex detector (in mm)
(default value 0.004)
HitEfficiencyPerLayer_VTXhit efficiencies per layer in the VTX
(default value 1. 1. 1. 1. 1. 1.)
PointResolutionRPhi_SITPoint resolution in r-phi for SIT (in mm)
(default value 0.01)
PointResolutionZ_SITPoint resolution in z for SIT (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)
DebugWhen this flag is set to one, debugging regime is enabled with a lot of printouts
(default value is 0)

F.Gaede: 2008-11-28 added parameter ActiveSETLayers: only SET hits from these layers will be digitized -> used to mimic the stereo layers strip detectors (eg. use only hits from layer 1 )

Author
A. Raspereza, MPI (Munich)

Member Function Documentation

virtual void VTXDigiProcessor::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: