3 //-----------------------------------------------------//
5 // Header File : PMDDigitization.h, Version 00 //
7 // Date : September 20 2002 //
9 //-----------------------------------------------------//
11 #include <Riostream.h>
37 class AliPMDClustering;
39 //using namespace std;
44 AliRunLoader *fRunLoader;
46 AliPMDhit *pmdHit; /* Pointer to specific detector hits. */
47 AliDetector *PMD; /* Get pointers to Alice detectors
48 and Hits containers */
51 TClonesArray *PMDhits;
59 TClonesArray *fSDigits;
60 TClonesArray *fDigits;
71 static const Int_t fTotUM = 24;
72 static const Int_t fRow = 48;
73 static const Int_t fCol = 96;
74 Float_t fCPV[fTotUM][fRow][fCol];
75 Float_t fPMD[fTotUM][fRow][fCol];
76 Int_t fPMDCounter[fTotUM][fRow][fCol];
77 Int_t fPMDTrackNo[fTotUM][fRow][fCol];
78 Int_t fCPVTrackNo[fTotUM][fRow][fCol];
83 virtual ~AliPMDDigitizer();
85 void OpengAliceFile(char * /* galice.root */, Option_t * /* option */);
87 void Hits2SDigits(Int_t /* ievt */);
88 void Hits2Digits(Int_t /* ievt */);
89 void SDigits2Digits(Int_t /* ievt */);
90 void TrackAssignment2Cell();
91 void MeV2ADC(Float_t /* mev */, Float_t & /* adc */);
92 void AddSDigit(Int_t /* trnumber */, Int_t /* det */, Int_t /* smnumber */,
93 Int_t /* cellnumber */, Float_t /* adc */);
94 void AddDigit(Int_t /* trnumber */, Int_t /* det */, Int_t /* smnumber */,
95 Int_t /* cellnumber */, Float_t /* adc */);
96 Int_t Convert2RealSMNumber(Int_t /* smnumber1 */ );
97 void SetZPosition(Float_t /* zpos */);
98 Float_t GetZPosition() const;
103 void UnLoad(Option_t * /* option */);
105 ClassDef(AliPMDDigitizer,2)