-#ifndef PMDdigit_H
-#define PMDdigit_H
+#ifndef ALIPMDDIGIT_H
+#define ALIPMDDIGIT_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice */
//-----------------------------------------------------//
// //
// Date : August 05 2003 //
// //
//-----------------------------------------------------//
-#include "Riostream.h"
-#include "Rtypes.h"
#include "TObject.h"
-#include "TClonesArray.h"
+class TClonesArray;
class AliPMDdigit : public TObject
{
-
- protected:
- Int_t fTrNumber, fDet, fSMNumber, fCellNumber;
- Float_t fADC;
-
public:
AliPMDdigit();
- AliPMDdigit(Int_t /* trnumber */, Int_t /* det */, Int_t /* smnumber */,
- Int_t /* cellnumber */, Float_t /* adc */);
- AliPMDdigit(AliPMDdigit *pmddigit) {*this = *pmddigit;}
-
+ AliPMDdigit(Int_t trnumber, Int_t trpid, Int_t det, Int_t smnumber,
+ Int_t irow, Int_t icol, Float_t adc);
+ AliPMDdigit(AliPMDdigit *pmddigit);
+ AliPMDdigit (const AliPMDdigit &pmddigit); // copy constructor
+ AliPMDdigit &operator=(const AliPMDdigit &pmddigit); // assignment op
+
virtual ~AliPMDdigit();
Int_t GetTrackNumber() const;
+ Int_t GetTrackPid() const;
Int_t GetDetector() const;
Int_t GetSMNumber() const;
- Int_t GetCellNumber() const;
+ Int_t GetRow() const;
+ Int_t GetColumn() const;
Float_t GetADC() const;
+
+ protected:
+ Int_t fTrNumber; // Parent Track number
+ Int_t fTrPid; // Parent Track pid
+ Int_t fDet; // Detecor Number (0:PRE, 1:CPV)
+ Int_t fSMNumber; // Serial Module Number
+ Int_t fRow; // Cell Row Number (0-47)
+ Int_t fColumn; // Cell Column Number (0-95)
+ Float_t fADC; // Energy deposition(ADC) in a hexagonal cell
- ClassDef(AliPMDdigit,1)
+ ClassDef(AliPMDdigit,5) // Digits object for Detector set:PMD
};
#endif