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