3 //-----------------------------------------------------//
5 // Header File : PMDDigitization.h, Version 00 //
7 // Date : September 20 2002 //
9 //-----------------------------------------------------//
11 #include <Riostream.h>
37 class AliPMDClustering;
38 class AliPMDContainer;
46 AliRunLoader *fRunLoader;
48 AliPMDhit *pmdHit; /* Pointer to specific detector hits. */
49 AliDetector *PMD; /* Get pointers to Alice detectors
50 and Hits containers */
53 TClonesArray *PMDhits;
62 TClonesArray *fSDigits;
63 TClonesArray *fDigits;
64 TClonesArray *fRecpoints;
75 static const Int_t fTotSM = 27;
76 static const Int_t fNCell = 72;
77 Float_t fCPV[fTotSM][fNCell][fNCell];
78 Float_t fPMD[fTotSM][fNCell][fNCell];
79 Int_t fPMDCounter[fTotSM][fNCell][fNCell];
80 Int_t fPMDTrackNo[fTotSM][fNCell][fNCell];
81 Int_t fCPVTrackNo[fTotSM][fNCell][fNCell];
86 virtual ~AliPMDDigitizer();
88 void OpengAliceFile(char * /* galice.root */, Option_t * /* option */);
90 void Hits2SDigits(Int_t /* ievt */);
91 void Hits2Digits(Int_t /* ievt */);
92 void SDigits2Digits(Int_t /* ievt */);
93 void TrackAssignment2Cell();
94 void MeV2ADC(Float_t /* mev */, Float_t & /* adc */);
95 void AddSDigit(Int_t /* trnumber */, Int_t /* det */, Int_t /* smnumber */,
96 Int_t /* cellnumber */, Float_t /* adc */);
97 void AddDigit(Int_t /* trnumber */, Int_t /* det */, Int_t /* smnumber */,
98 Int_t /* cellnumber */, Float_t /* adc */);
99 Int_t Convert2RealSMNumber(Int_t /* smnumber1 */ );
100 void SetZPosition(Float_t /* zpos */);
101 Float_t GetZPosition() const;
106 void UnLoad(Option_t * /* option */);
108 ClassDef(AliPMDDigitizer,1)