1 /////////////////////////////////////////////////////////////////////////
3 // - AliEVE implementation -
4 // Containers for visualisation of TRD data structures
5 // - TRDHits - visualisation of MC Hits, Clusters (RecPoints)
6 // - TRDDigits - visualisation of TRD digits
8 // by A.Bercuci (A.Bercuci@gsi.de) Fri Oct 27 2006
9 ///////////////////////////////////////////////////////////////////////
11 #ifndef ALIEVE_TRDData_H
12 #define ALIEVE_TRDData_H
14 #ifndef REVE_QuadSet_H
15 #include <Reve/QuadSet.h>
19 #include <Reve/BoxSet.h>
22 #ifndef REVE_PointSet_H
23 #include <Reve/PointSet.h>
26 #ifndef ROOT_TGedFrame
27 #include <TGedFrame.h>
30 #include "AliTRDdataArrayI.h"
32 class AliTRDdigitsManager;
35 class TRDHits : public Reve::PointSet
38 TRDHits(TRDChamber *p);
40 void PointSelected(Int_t n);
45 ClassDef(TRDHits,1) // Base class for TRD hits visualisation
48 class TRDHitsEditor : public TGedFrame
51 TRDHitsEditor(const TGWindow* p=0, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
54 virtual void SetModel(TObject* obj);
59 ClassDef(TRDHitsEditor,1) // Editor for TRDHits
63 class TRDDigits : public Reve::OldQuadSet, public Reve::RenderElement
65 friend class TRDDigitsEditor;
67 TRDDigits(TRDChamber *p);
69 void ComputeRepresentation();
70 void Paint(Option_t *opt="");
72 void SetData(AliTRDdigitsManager *digits);
79 AliTRDdataArrayI fData;
81 ClassDef(TRDDigits,1) // Digits visualisation for TRD
84 class TRDDigitsEditor : public TGedFrame
87 TRDDigitsEditor(const TGWindow* p=0, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
90 virtual void SetModel(TObject* obj);
95 ClassDef(TRDDigitsEditor,1) // Editor for TRDDigits
99 class TRDClusters : public TRDHits
102 TRDClusters(TRDChamber *p);
104 void PointSelected(Int_t n);
106 ClassDef(TRDClusters,1) // Base class for TRD clusters visualisation