]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Reve/Line.cxx
New files: line representation with per-point selection.
[u/mrichter/AliRoot.git] / EVE / Reve / Line.cxx
1 // $Header$
2
3 #include "Line.h"
4
5 using namespace Reve;
6
7 //______________________________________________________________________
8 // Line
9 //
10
11 ClassImp(Line)
12
13
14 Line::Line(Int_t n_points, TreeVarType_e tv_type) :
15   PointSet(n_points, tv_type),
16   fRnrLine   (kTRUE),
17   fRnrPoints (kFALSE)
18 {
19   fMainColorPtr = &fLineColor;
20 }
21
22 Line::Line(const Text_t* name, Int_t n_points, TreeVarType_e tv_type) :
23   PointSet(name, n_points, tv_type),
24   fRnrLine   (kTRUE),
25   fRnrPoints (kFALSE)
26 {
27   fMainColorPtr = &fLineColor;
28 }
29
30 Line::Line(const Text_t* name, TTree* tree, TreeVarType_e tv_type) :
31   PointSet(name, tree, tv_type),
32   fRnrLine   (kTRUE),
33   fRnrPoints (kFALSE)
34 {
35   fMainColorPtr = &fLineColor;
36 }
37
38 Line::~Line()
39 {}