]>
Commit | Line | Data |
---|---|---|
a282bf09 | 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 | ||
14217b5f | 28 | class AliTRDdigitsManager; |
a282bf09 | 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 | ||
bb299a96 | 42 | class TRDDigits : public Reve::OldQuadSet, public Reve::RenderElement |
a282bf09 | 43 | { |
44 | public: | |
45 | TRDDigits(TRDChamber *p); | |
46 | ||
47 | void ComputeRepresentation(); | |
48 | void Paint(Option_t *opt=""); | |
49 | void Reset(); | |
14217b5f | 50 | void SetData(AliTRDdigitsManager *digits); |
a282bf09 | 51 | |
52 | protected: | |
53 | TRDChamber *fChamber; | |
54 | ||
55 | private: | |
a282bf09 | 56 | Reve::BoxSet fBoxes; |
57 | AliTRDdataArrayI fData; | |
58 | ||
59 | ClassDef(TRDDigits,1) // Digits visualisation for TRD | |
60 | }; | |
61 | } | |
62 | ||
63 | #endif |