]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/TRDData.h
Fix handling of AliESDfriends.root.
[u/mrichter/AliRoot.git] / EVE / Alieve / TRDData.h
1 /////////////////////////////////////////////////////////////////////////
2 //
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
7 //
8 // by A.Bercuci (A.Bercuci@gsi.de)   Fri Oct 27 2006
9 ///////////////////////////////////////////////////////////////////////
10
11 #ifndef ALIEVE_TRDData_H
12 #define ALIEVE_TRDData_H
13
14 #ifndef REVE_QuadSet_H
15 #include <Reve/QuadSet.h>
16 #endif
17
18 #ifndef REVE_BoxSet_H
19 #include <Reve/BoxSet.h>
20 #endif
21
22 #ifndef REVE_PointSet_H
23 #include <Reve/PointSet.h>
24 #endif
25
26 #include "AliTRDdataArrayI.h"
27
28 class AliTRDdigitsManager;
29 namespace Alieve {
30         class TRDChamber;
31         class TRDHits : public Reve::PointSet
32         {
33         public:
34                 TRDHits(const Text_t* name, Int_t n_points = 0);
35
36                 void PointSelected(Int_t n);
37
38         ClassDef(TRDHits,1) // Base class for TRD hits visualisation
39         };
40
41                 
42         class TRDDigits : public Reve::OldQuadSet, public Reve::RenderElement
43         {
44         public:
45                 TRDDigits(TRDChamber *p);
46
47                 void                    ComputeRepresentation();
48                 void                    Paint(Option_t *opt="");
49                 void                    Reset();
50                 void                    SetData(AliTRDdigitsManager *digits);
51
52         protected:
53                 TRDChamber *fChamber;
54         
55         private:
56                 Reve::BoxSet                    fBoxes;
57                 AliTRDdataArrayI        fData;
58                 
59                 ClassDef(TRDDigits,1) // Digits visualisation for TRD
60         };
61 }
62
63 #endif