]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/EveDet/AliEveTPCSector3D.h
update for the new location of TRD performance train
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTPCSector3D.h
CommitLineData
d810d0de 1// $Id$
2// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4/**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
51346b82 7 * full copyright notice. *
d810d0de 8 **************************************************************************/
9
a15e6d7d 10#ifndef AliEveTPCSector3D_H
11#define AliEveTPCSector3D_H
d810d0de 12
cb4245bb 13#include <EveDet/AliEveTPCSectorViz.h>
14#include <EveDet/AliEveTPCSectorData.h>
d810d0de 15
16#include <TEveBoxSet.h>
17#include <TEvePointSet.h>
18
a15e6d7d 19//------------------------------------------------------------------------------
20// AliEveTPCSector3D
21//
22// Visualization of TPC raw-data in 3D.
d810d0de 23
24class AliEveTPCSector3D : public AliEveTPCSectorViz
25{
26 friend class AliEveTPCSector3DEditor;
27 friend class AliEveTPCSector3DGL;
28
4b456ebb 29public:
30 AliEveTPCSector3D(const Text_t* n="AliEveTPCSector3D", const Text_t* t=0);
31 virtual ~AliEveTPCSector3D() {}
32
33 void SetPointFrac(Float_t f) { fPointFrac = f; IncRTS(); }
34 void SetPointSize(Float_t s) { fPointSize = s; }
35
36 void SetDriftVel(Float_t v) { fDriftVel = v; IncRTS(); }
37 void SetZStep(Float_t step) { fZStep = step; IncRTS(); }
38
39 virtual void SetRnrFrame(Bool_t rf);
40
41 virtual void ComputeBBox();
42 virtual void Paint(Option_t* option="");
43
d810d0de 44protected:
45 void LoadPadrow(AliEveTPCSectorData::RowIterator& iter,
46 Float_t sx, Float_t sy, Float_t pw, Float_t ph);
a97abca8 47 void UpdateBoxesAndPoints();
d810d0de 48 void SetupPointSetArray();
49
a97abca8 50 TEveBoxSet fBoxSet; // BoxSet used to display digits as boxes.
51 TEvePointSetArray fPointSetArray; // PointSet used to display digits as points.
52 Float_t fPointFrac; // Fraction of signal range shown as points.
53 Float_t fPointSize; // Point size.
54 Bool_t fPointSetOn; // PointSet initialized.
55 Int_t fPointSetMaxVal; // Maximum signal value for data in pointset.
d810d0de 56
a97abca8 57 Float_t fDriftVel; // Drift velocity for 'z' coordinate.
58 Float_t fZStep; // Z width of a time-bin.
d810d0de 59
4b456ebb 60 ClassDef(AliEveTPCSector3D, 0); // Visualization of TPC raw-data in 3D.
a97abca8 61};
d810d0de 62
63#endif