"MarlinReco"  1.16.0
Public Member Functions | Protected Attributes | List of all members
VTXNoiseClusters Class Reference

======= VTXNoiseClusters ==========
Adds random noise hits to collection of SimTrackerHits of the vertex detector. More...

#include <VTXNoiseClusters.h>

Inheritance diagram for VTXNoiseClusters:

Public Member Functions

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
 

Detailed Description

======= 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.

Parameters
RootHistogramsroot file name and histogram names (one per layer)
HitDensityPerLayerhit densities (hits/cm^2) per VXD layer
VTXCollectionNamecollection of VXD SimTrackerhits
RandomSeedrandom number seed


Version
Id:
VTXNoiseClusters.h 2553 2011-09-20 14:50:20Z gaede
Author
F.Gaede, DESY

Member Function Documentation

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