ROOT logo
AliRoot » ITS » AliITSFOGeneratorSPD

class AliITSFOGeneratorSPD

Author: Henrik Tydesjo

This class is used to generate Fast-OR signals from SPD chips.

This procedure is meant to be used during the digitization,
and will be based on the number of pixels firing in each chip.
The method 'ProcessPixelHit' should be used for each fired
pixel. An efficiency value on Fast-Or signal creation upon a
single fired pixel will then be used. Optionally, there may be
one value per chip or even one value per column. These values
are taken from the class AliITSFOEfficiencySPD, normally placed
in OCDB.

Through a similar class, AliITSFONoiseSPD, there is a
possibility to apply random noise to the generation of fast-or
signals. This will then be performed by method 'ProcessNoise',
normally called after the processing of the fired pixels.

The output signals are represented by the AliITSFOsignalsSPD
class. Basically, it contains a bit map with all the 1200 pixel
chips.

Function Members (Methods)

Data Members

protected:
AliITSFOEfficiencySPD*fOCDBEfflink to FO efficiency obj
AliITSFONoiseSPD*fOCDBNoiselink to FO noise obj
AliITSFOSignalsSPDfSignalsFast-OR signals object

Class Charts

Inheritance Chart:
AliITSFOGeneratorSPD

Function documentation

AliITSFOGeneratorSPD()
 default constructor
AliITSFOGeneratorSPD(AliITSFOEfficiencySPD* ocdbEff, AliITSFONoiseSPD* ocdbNoise)
 constructor
AliITSFOGeneratorSPD(const AliITSFOGeneratorSPD& handle)
 copy constructor
~AliITSFOGeneratorSPD()
 destructor
AliITSFOGeneratorSPD& operator=(const AliITSFOGeneratorSPD& handle)
 assignment operator
void SetEfficiencyAndNoise(AliITSFOEfficiencySPD* ocdbEff, AliITSFONoiseSPD* ocdbNoise)
 Method to give pointers to the OCDB entries, needed by methods ProcessPixelHit and ProcessNoise
void SetEfficiency(AliITSFOEfficiencySPD* ocdbEff)
 Method to give pointer to the OCDB efficiency entry
void SetNoise(AliITSFONoiseSPD* ocdbNoise)
 Method to give pointer to the OCDB noise entry
void ProcessPixelHit(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t col, UInt_t row)
 Here it will be decided wether a fired pixel will give rise to a fast-or signal or not
void ProcessPixelHitM(UInt_t module, UInt_t colM, UInt_t rowM)
 Converts offline coordinates to online, and calls ProcessPixelHit
void ProcessNoise()
Bool_t EfficiencyAndNoiseAreSet()
{return fOCDBEff!=NULL && fOCDBNoise!=NULL;}
void ResetSignals()
AliITSFOSignalsSPD* GetFOSignals()
{return &fSignals;}