ForwardTracking  1.10.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
FTDBackgroundProcessor Class Reference

Generates background hits in the FTD detector. More...

#include <FTDBackgroundProcessor.h>

Inheritance diagram for FTDBackgroundProcessor:

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 Member Functions

CLHEP::Hep3Vector getRandPosition (double rMin, double lengthMin, double lengthMax, double width, double phi, double z)
 

Protected Attributes

std::string _colNameFTDStripTrackerHit
 
std::string _colNameFTDPixelTrackerHit
 
float _resU
 
float _resV
 
int _nRun
 
int _nEvt
 
float _densityRegulator
 
std::vector< float > _backgroundDensity
 
std::vector< float > _backgroundDensitySigma
 
std::vector< int > _integratedBX
 

Detailed Description

Generates background hits in the FTD detector.

Parameters
FTDPixelTrackerHitCollectionNameName of the FTD Pixel TrackerHit collection where the background hits will be added.
(default value FTDPixelTrackerHits)
FTDStripTrackerHitCollectionNameName of the FTD Strip TrackerHit collection where the background hits will be added.
(default value FTDStripTrackerHits)
ResolutionUresolution in direction of u (in mm)
(default value 0.004)
ResolutionVResolution in direction of v (in mm)
(default value 0.004)
BackgroundHitDensitythe densities of the background hits measured in hits / cm^2 /BX (BX= bunchcrossing) for the different layers.
These units are chosen because they are identical with those in the LOI.
(default values 0.013 0.008 0.002 0.002 0.001 0.001 0.001 )
BackgroundHitDensitySigmathe sigmas corresponding to the BackgroundHitDensity. Also in hits / cm^2 /BX.
The actual number of created background hits will be smeared gaussian aroung the BackgroundHitDensity with these values.
(default values 0.005 0.003 0.001 0.001 0.001 0.001 0.001 )
IntegratedBXthe number of integrations of bunchcrossings the FTDs do before readout. For strip detectors this is usually 1 and for Pixels a lot more.
(default values 100 100 1 1 1 1 1 )
DensityRegulatorRegulates all densities. This can be used to dim or amplify all the background.
1 means no change at all, 2 means background is doubled, 0.7 means only 70 percent of the background and so on.
(default value 1. )
Author
Robin Glattauer, HEPHY

Member Function Documentation

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