X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TRD%2FAliTRDpoints.h;h=67ec7bc8e8ec7c93f1eba15b2aab508579466d4d;hb=0349cc67df7fd77d1df598b3f261e0c9e8e47173;hp=4fd36d8ee04eaa4426bd7d1c9ae8084be2d2dd6c;hpb=46d29e70f4a95bcdfb79ded060b04aee708ac03b;p=u%2Fmrichter%2FAliRoot.git diff --git a/TRD/AliTRDpoints.h b/TRD/AliTRDpoints.h index 4fd36d8ee04..67ec7bc8e8e 100644 --- a/TRD/AliTRDpoints.h +++ b/TRD/AliTRDpoints.h @@ -5,9 +5,14 @@ /* $Id$ */ -#include "AliPoints.h" +//////////////////////////////////////////////////////////////////////////// +// // +// This class contains the TRD points for the ALICE event display. // +// Used to seperately display dEdx and TR photon hits. // +// // +//////////////////////////////////////////////////////////////////////////// -const Int_t kNTRpoints = 75; +#include "AliPoints.h" class AliTRDpoints : public AliPoints { @@ -19,18 +24,20 @@ class AliTRDpoints : public AliPoints { virtual ~AliTRDpoints(); AliTRDpoints &operator=(const AliTRDpoints &p); - virtual void Copy(TObject &p); - virtual void Draw(Option_t *option); + virtual void Copy(TObject &p) const; + virtual void Draw(Option_t *option); - virtual void SetTRpoints(Int_t n, Float_t *coor); + virtual void SetTRpoints(Int_t n, Float_t *coor); protected: - Float_t fTRpoints[kNTRpoints]; // The hits from TR photons - Int_t fNTRpoints; // The number of TR photon hits + enum { kNTRpoints = 75 }; + + Float_t fTRpoints[kNTRpoints]; // The hits from TR photons + Int_t fNTRpoints; // The number of TR photon hits TPolyMarker3D *fTRpolyMarker; //! Polymarker to draw the photon hits - ClassDef(AliTRDpoints,1) // Class to draw TRD hits + ClassDef(AliTRDpoints,1) // Class to draw TRD hits }; #endif