// Store cellhits associated to a cluster //
// //
//-----------------------------------------------------//
-
+// Author - B.K. Nandi
+//
#include "TObject.h"
class TClonesArray;
{
public:
AliPMDrechit();
- AliPMDrechit(Int_t cellx, Int_t celly);
- AliPMDrechit(AliPMDrechit *pmdrechit) {*this = *pmdrechit;}
+ AliPMDrechit(Int_t cellx, Int_t celly, Int_t celltr,
+ Int_t cellpid, Float_t celladc);
+ AliPMDrechit(AliPMDrechit *pmdrechit);
AliPMDrechit (const AliPMDrechit &alipmdrechit); // copy constructor
AliPMDrechit &operator=(const AliPMDrechit &alipmdrechit); // assignment op
Int_t GetCellX() const;
Int_t GetCellY() const;
+ Int_t GetCellTrack() const;
+ Int_t GetCellPid() const;
+ Float_t GetCellAdc() const;
protected:
Int_t fXcell; // x-position of the cell
Int_t fYcell; // y-position of the cell
+ Int_t fTrcell; // track no of the cell
+ Int_t fPidcell; // track pid of the cell
+ Float_t fAdccell; // cell Adc
- ClassDef(AliPMDrechit,1) // To keep cell hit information
+ ClassDef(AliPMDrechit,5) // To keep cell hit information
};
#endif