3 //-----------------------------------------------------//
5 // Header File : PMDDigitization.h, Version 00 //
7 // Date : September 20 2002 //
9 //-----------------------------------------------------//
11 #include <Riostream.h>
35 class AliPMDClustering;
40 AliRunLoader *fRunLoader;
42 AliPMDhit *pmdHit; /* Pointer to specific detector hits. */
43 AliDetector *PMD; /* Get pointers to Alice detectors
44 and Hits containers */
47 TClonesArray *PMDhits;
55 TClonesArray *fSDigits;
56 TClonesArray *fDigits;
66 static const Int_t fTotUM = 24;
67 static const Int_t fRow = 48;
68 static const Int_t fCol = 96;
69 Float_t fCPV[fTotUM][fRow][fCol];
70 Float_t fPMD[fTotUM][fRow][fCol];
71 Int_t fPMDCounter[fTotUM][fRow][fCol];
72 Int_t fPMDTrackNo[fTotUM][fRow][fCol];
73 Int_t fCPVTrackNo[fTotUM][fRow][fCol];
78 virtual ~AliPMDDigitizer();
80 void OpengAliceFile(char * /* galice.root */, Option_t * /* option */);
82 void Hits2SDigits(Int_t /* ievt */);
83 void Hits2Digits(Int_t /* ievt */);
84 void SDigits2Digits(Int_t /* ievt */);
85 void TrackAssignment2Cell();
86 void MeV2ADC(Float_t /* mev */, Float_t & /* adc */);
87 void AddSDigit(Int_t /* trnumber */, Int_t /* det */, Int_t /* smnumber */,
88 Int_t /* cellnumber */, Float_t /* adc */);
89 void AddDigit(Int_t /* trnumber */, Int_t /* det */, Int_t /* smnumber */,
90 Int_t /* cellnumber */, Float_t /* adc */);
91 Int_t Convert2RealSMNumber(Int_t /* smnumber1 */ );
92 void SetZPosition(Float_t /* zpos */);
93 Float_t GetZPosition() const;
98 void UnLoad(Option_t * /* option */);
100 ClassDef(AliPMDDigitizer,2)