"MarlinReco"
1.32.0
|
======= VTXNoiseClusters ==========
Adds random noise hits to collection of SimTrackerHits of the vertex detector.
More...
#include <VTXNoiseClusters.h>
Public Member Functions | |
VTXNoiseClusters (const VTXNoiseClusters &)=delete | |
VTXNoiseClusters & | operator= (const VTXNoiseClusters &)=delete |
virtual Processor * | newProcessor () |
virtual const std::string & | name () const |
virtual void | init () |
Called at the begin of the job before anything is read. More... | |
virtual void | processRunHeader (LCRunHeader *run) |
Called for every run. | |
void | modifyEvent (LCEvent *evt) |
Called for every event - the working horse. | |
virtual void | processEvent (LCEvent *evt) |
virtual void | check (LCEvent *evt) |
virtual void | end () |
Called after data processing for clean up. | |
Protected Attributes | |
std::string | _colNameVTX {} |
FloatVec | _densities {} |
StringVec | _rootNames {} |
int | _ranSeed {} |
int | _nRun {} |
int | _nEvt {} |
gsl_rng * | _rng {} |
VXDGeometry * | _vxdGeo {} |
std::vector< TH2F * > | _hist {} |
TFile * | _hfile {} |
Hist1DVec | _hist1DVec {} |
Hist2DVec | _hist2DVec {} |
======= VTXNoiseClusters ==========
Adds random noise hits to collection of SimTrackerHits of the vertex detector.
The number of noise hits are given by the parameter HitDensityPerLayer (hits/cm^2). The noise hits are created with a uniform distribution over the ladder surface. An object of type VXDClusterParameters is added to every hit to describe the extension of the cluster on the ladder surface. The distribution of the cluster sizes is read from ROOT histograms - one per layer.
RootHistograms | root file name and histogram names (one per layer) |
HitDensityPerLayer | hit densities (hits/cm^2) per VXD layer |
VTXCollectionName | collection of VXD SimTrackerhits |
RandomSeed | random number seed |
|
virtual |
Called at the begin of the job before anything is read.
Use to initialize the processor, e.g. book histograms.