X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PMD%2FAliPMDcell.h;h=e22c50757c3448b110785c64e7b667c6494374af;hb=af5d687ef7928c791c222c6ed8df0617987aef83;hp=4f6f91dabfabbdecca6f83ea19affed720e95b46;hpb=24882f83772313b7572fcd2f9b9f034168813df9;p=u%2Fmrichter%2FAliRoot.git diff --git a/PMD/AliPMDcell.h b/PMD/AliPMDcell.h index 4f6f91dabfa..e22c50757c3 100644 --- a/PMD/AliPMDcell.h +++ b/PMD/AliPMDcell.h @@ -1,5 +1,7 @@ -#ifndef PMDcell_H -#define PMDcell_H +#ifndef ALIPMDCELL_H +#define ALIPMDCELL_H +/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * + * See cxx source for full Copyright notice */ //-----------------------------------------------------// // // // Date : August 05 2003 // @@ -8,25 +10,21 @@ // the correct track number to a multiple hit cell // // // //-----------------------------------------------------// - -#include "Riostream.h" -#include "Rtypes.h" +// Author - B.K. Nandi +// #include "TObject.h" -#include "TClonesArray.h" +class TClonesArray; class AliPMDcell : public TObject { - - protected: - Int_t fTrNumber, fSMNumber, fXpos, fYpos; - Float_t fEdep; - public: AliPMDcell(); - AliPMDcell(Int_t /* trnumber */, Int_t /* smnumber */, - Int_t /* xpos */, Int_t /* ypos */, Float_t /* edep */); - AliPMDcell(AliPMDcell *pmdcell) {*this = *pmdcell;} - + AliPMDcell(Int_t trnumber, Int_t smnumber, + Int_t xpos, Int_t ypos, Float_t edep); + AliPMDcell(AliPMDcell *pmdcell); + AliPMDcell (const AliPMDcell &alipmdcell); // copy constructor + AliPMDcell &operator=(const AliPMDcell &alipmdcell); // assignment op + virtual ~AliPMDcell(); Int_t GetTrackNumber() const; @@ -35,7 +33,14 @@ class AliPMDcell : public TObject Int_t GetY() const; Float_t GetEdep() const; - ClassDef(AliPMDcell,1) + protected: + Int_t fTrNumber; // Track Number + Int_t fSMNumber; // Serial Module Number + Int_t fXpos; // x-position of the cell + Int_t fYpos; // y-position of the cell + Float_t fEdep; // Energy deposition in a cell + + ClassDef(AliPMDcell,4) // To keep cell information }; #endif