]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDpoints.h
Protection against index out of range
[u/mrichter/AliRoot.git] / TRD / AliTRDpoints.h
CommitLineData
46d29e70 1#ifndef ALITRDPOINTS_H
2#define ALITRDPOINTS_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
3bc9d03e 8////////////////////////////////////////////////////////////////////////////
9// //
10// This class contains the TRD points for the ALICE event display. //
11// Used to seperately display dEdx and TR photon hits. //
12// //
13////////////////////////////////////////////////////////////////////////////
0a29d0f1 14
46d29e70 15#include "AliPoints.h"
16
46d29e70 17class AliTRDpoints : public AliPoints {
18
19 public:
20
21 AliTRDpoints();
22 AliTRDpoints(const AliTRDpoints &p);
23 AliTRDpoints(Int_t nhitsE, Int_t nhitsT);
24 virtual ~AliTRDpoints();
25 AliTRDpoints &operator=(const AliTRDpoints &p);
26
3bc9d03e 27 virtual void Copy(TObject &p) const;
28 virtual void Draw(Option_t *option);
46d29e70 29
3bc9d03e 30 virtual void SetTRpoints(Int_t n, Float_t *coor);
46d29e70 31
32 protected:
33
9bdf1315 34 enum { kNTRpoints = 75 };
35
3bc9d03e 36 Float_t fTRpoints[kNTRpoints]; // The hits from TR photons
37 Int_t fNTRpoints; // The number of TR photon hits
46d29e70 38 TPolyMarker3D *fTRpolyMarker; //! Polymarker to draw the photon hits
39
3bc9d03e 40 ClassDef(AliTRDpoints,1) // Class to draw TRD hits
46d29e70 41
42};
43#endif