ForwardTracking
1.10.0
|
Generates background hits in the FTD detector. More...
#include <FTDBackgroundProcessor.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 Member Functions | |
CLHEP::Hep3Vector | getRandPosition (double rMin, double lengthMin, double lengthMax, double width, double phi, double z) |
Generates background hits in the FTD detector.
FTDPixelTrackerHitCollectionName | Name of the FTD Pixel TrackerHit collection where the background hits will be added. (default value FTDPixelTrackerHits) |
FTDStripTrackerHitCollectionName | Name of the FTD Strip TrackerHit collection where the background hits will be added. (default value FTDStripTrackerHits) |
ResolutionU | resolution in direction of u (in mm) (default value 0.004) |
ResolutionV | Resolution in direction of v (in mm) (default value 0.004) |
BackgroundHitDensity | the 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 ) |
BackgroundHitDensitySigma | the 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 ) |
IntegratedBX | the 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 ) |
DensityRegulator | Regulates 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. ) |
|
virtual |
Called at the begin of the job before anything is read.
Use to initialize the processor, e.g. book histograms.