void SDigits2Digits(Int_t ievt);
void Exec(Option_t *option);
void MergeSDigits(Int_t filenumber, Int_t troffset);
+ void TrackAssignment2CPVCell();
void TrackAssignment2Cell();
void MeV2ADC(Float_t mev, Float_t & adc) const;
- void AddSDigit(Int_t trnumber, Int_t det, Int_t smnumber,
+ void AddSDigit(Int_t trnumber, Int_t trpid, Int_t det, Int_t smnumber,
Int_t irow, Int_t icol, Float_t adc);
- void AddDigit(Int_t trnumber, Int_t det, Int_t smnumber,
+ void AddDigit(Int_t trnumber, Int_t trpid, Int_t det, Int_t smnumber,
Int_t irow, Int_t icol, Float_t adc);
void SetZPosition(Float_t zpos);
Float_t GetZPosition() const;
TClonesArray *fSDigits; //! List of summable digits
TClonesArray *fDigits; //! List of digits
+ TObjArray fCPVCell; //! List of cpv cells
TObjArray fCell; //! List of pmd cells
-
+
Int_t fNsdigit; // Summable digits counter
Int_t fNdigit; // Digits counter
Int_t fDetNo; // Detector Number (0:PRE, 1:CPV)
static const Int_t fgkTotUM = 24; // Total Unit modules in one detector
static const Int_t fgkRow = 48; // Total number of rows in one unitmodule
static const Int_t fgkCol = 96; // Total number of cols in one unitmodule
+
Float_t fCPV[fgkTotUM][fgkRow][fgkCol]; //! CPV Array containing total edep
Float_t fPRE[fgkTotUM][fgkRow][fgkCol]; //! PRE Array containing total edep
+
+ Int_t fCPVCounter[fgkTotUM][fgkRow][fgkCol]; //! Number of times each cell
+ // is fired in CPV
Int_t fPRECounter[fgkTotUM][fgkRow][fgkCol]; //! Number of times each cell
// is fired in PMD
- Int_t fPRETrackNo[fgkTotUM][fgkRow][fgkCol]; //! PRE Array containing track number
- Int_t fCPVTrackNo[fgkTotUM][fgkRow][fgkCol]; //! CPV Array containing track number
- ClassDef(AliPMDDigitizer,7) // To digitize PMD Hits
+ Int_t fCPVTrackNo[fgkTotUM][fgkRow][fgkCol]; //! CPV Array containing
+ // track number
+ Int_t fPRETrackNo[fgkTotUM][fgkRow][fgkCol]; //! PRE Array containing
+ // track number
+
+ Int_t fCPVTrackPid[fgkTotUM][fgkRow][fgkCol]; //! CPV Array containing
+ // track number
+ Int_t fPRETrackPid[fgkTotUM][fgkRow][fgkCol]; //! PRE Array containing
+ // track number
+
+
+ ClassDef(AliPMDDigitizer,9) // To digitize PMD Hits
};
#endif