AliPHOSDigitizer


class description - source file - inheritance tree

class AliPHOSDigitizer : public TTask

    private:
Bool_t Combinator() void Init() void PrintDigits(Option_t* option) Bool_t ReadSDigits() void WriteDigits() public:
AliPHOSDigitizer AliPHOSDigitizer() AliPHOSDigitizer AliPHOSDigitizer(const char* HeaderFile, const char* SDigitsBrancheFile = 0) AliPHOSDigitizer AliPHOSDigitizer(AliPHOSDigitizer&) virtual void ~AliPHOSDigitizer() static TClass* Class() void Digitize(Option_t* option) virtual void Exec(Option_t* option) Float_t GetCPVNoise() const Float_t GetCPVThreshold() const TArrayI* GetCurrentEvents() char* GetDigitsBranch() const Float_t GetEMCThreshold() const TClonesArray* GetHeadersFiles() Float_t GetPedestal() const Float_t GetPinNoise() const Float_t GetPPSDNoise() const Float_t GetPPSDThreshold() const Float_t GetSlope() const virtual TClass* IsA() const void MixWith(char* HeaderFile, char* SDigitsFile = 0) virtual void Print(Option_t* option) const void Reset() void SetCPVNoise(Float_t CPVNoise) void SetCPVThreshold(Float_t CPVThreshold) void SetDigitsBranch(const char* file) void SetEMCThreshold(Float_t EMCThreshold) void SetPinNoise(Float_t PinNoise) void SetPPSDNoise(Float_t PPSDNoise) void SetPPSDThreshold(Float_t PPSDThreshold) void SetSDigitsBranch(const char* file) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

private:
TClonesArray* fSDigitsFiles Names of sdigits branches TClonesArray* fHeaderFiles Names of files with headers to merge TString fDigitsFile Name of the Digits Branch TClonesArray* fSDigits ! Lists of SDigits TClonesArray* fDigits ! Final list of digits AliPHOSSDigitizer* fSDigitizer ! SDigitizer to extarct some sdigitizing parameters Int_t fNinputs Number of input files Bool_t fInitialized TArrayI* fIevent events to read at the next ReadSDigits() call TArrayI* fIeventMax Maximal number of events in each input file Float_t fPedestal Calibration parameters Float_t fSlope read from SDigitizer Float_t fPinNoise Electronics noise in EMC Float_t fEMCDigitThreshold Threshold for storing digits in EMC Float_t fCPVNoise Noise in CPV Float_t fCPVDigitThreshold Threshold for storing digits in CPV Float_t fPPSDNoise Noise in PPSD Float_t fPPSDDigitThreshold Threshold for storing digits in PPSD protected:
public:

Class Description

*-- Author :  Dmitri Peressounko (SUBATECH & Kurchatov Institute)

 Class performs digitization of Summable digits (in the PHOS case this is just
 sum of contributions of all primary particles into given cell).
 In addition it performs mixing of summable digits from different events.
 Examples of use:
 root[0] AliPHOSDigitizer * d = new AliPHOSDigitizer() ;
 root[1] d->ExecuteTask()
 Warning in <TDatabasePDG::TDatabasePDG>: object already instantiated
                       //Digitizes SDigitis in all events found in file galice.root
                       //Depending on variable "CONFIG_SPLIT_FILE" reads branches stored in galice.root
                       //or in PHOS.SDigits.root
 root[2] AliPHOSDigitizer * d1 = new AliPHOSDigitizer("galice1.root") ;
                       // Will read sdigits from galice1.root
 root[3] d1->MixWith("galice2.root")
 Warning in <TDatabasePDG::TDatabasePDG>: object already instantiated
                       // Reads another portion of sdigits from galice2.root
 root[3] d1->MixWith("galice3.root")
                       // Reads another portion of sdigits from galice3.root
 root[4] d->ExecuteTask("deb timing")
                       // Reads SDigits from files galice1.root, galice2.root ....
                       // mixes them and stores produced Digits in file galice1.root
                       // deb - prints number of produced digits
                       // deb all - prints list of produced digits
                       // timing  - prints time used for digitization

 For each event two branches are created in TreeD:
   "PHOS" - list of digits
   "AliPHOSDigitizer" - AliPHOSDigitizer with all parameters used in digitization

 Note, that one can specify new file name for digits branch, and repeat digitization with
 another set of parameters.

AliPHOSDigitizer():TTask("AliPHOSDigitizer","")
 ctor

void Init()
 Mades all memory allocations and defiles,
 whether first (default) file will be output file (isOutFile !=0)

AliPHOSDigitizer(const char *HeaderFile,const char *DigitsFile):TTask("AliPHOSDigitizer","")
 ctor

~AliPHOSDigitizer()
 dtor

void Reset()
sets current event number to the beginning

Bool_t Combinator()

void Digitize(Option_t *option)

void WriteDigits()

void Exec(Option_t *option)
manager

Bool_t ReadSDigits()
 Reads summable digits from the opened files for the particular set of events given by fIevent

void MixWith(char* HeaderFile, char* SDigitsFile)

void Print(Option_t* option)const

void PrintDigits(Option_t * option)

void SetSDigitsBranch(const char* file)
 we set name of the SDigits branch file in the first! header file

void SetDigitsBranch(const char* file)
Sets the name of the file to which Digits branch will be diverted



Inline Functions


                 Float_t GetCPVNoise() const
                 Float_t GetCPVThreshold() const
                 Float_t GetEMCThreshold() const
                 Float_t GetPedestal() const
                 Float_t GetPinNoise() const
                 Float_t GetPPSDNoise() const
                 Float_t GetPPSDThreshold() const
                 Float_t GetSlope() const
                   char* GetDigitsBranch() const
           TClonesArray* GetHeadersFiles()
                TArrayI* GetCurrentEvents()
                    void SetCPVNoise(Float_t CPVNoise)
                    void SetCPVThreshold(Float_t CPVThreshold)
                    void SetEMCThreshold(Float_t EMCThreshold)
                    void SetPinNoise(Float_t PinNoise)
                    void SetPPSDNoise(Float_t PPSDNoise)
                    void SetPPSDThreshold(Float_t PPSDThreshold)
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
        AliPHOSDigitizer AliPHOSDigitizer(AliPHOSDigitizer&)


Copyright (c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.