]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TGeant3/AliNode.h
Import gAlice from the signal file before InitGlobal() to allow detectors to use...
[u/mrichter/AliRoot.git] / TGeant3 / AliNode.h
CommitLineData
7005d739 1#ifndef ALINODE_H
2#define ALINODE_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8#include "TNode.h"
9
10class AliNode : public TNode
11{
12public:
13 AliNode(){}
14 AliNode(const char* name, const char* title, const char* shapename,
15 Double_t x = 0, Double_t y = 0, Double_t z = 0, const char* matrixname="",
16 Option_t* option="");
17
18 AliNode(const char* name, const char* title, TShape* shape,
19 Double_t x = 0, Double_t y = 0, Double_t z = 0, TRotMatrix* matrix = 0,
20 Option_t* option="");
21 AliNode(const AliNode &node, AliNode* parent);
22
23 virtual ~AliNode(){}
24
25 virtual void SetDivision(Int_t ndiv, Int_t axis, Float_t start, Float_t step);
26 virtual void ExpandDivisions();
27 virtual Int_t Axis() const {return fAxis;}
28 virtual Int_t Ndiv() const {return fNDivision;}
29 virtual Float_t Step() const {return fStep;}
30 virtual Float_t StartC() const {return fStartC;}
31 virtual void AddSons(TList* list);
32 virtual void AddSon(AliNode* node);
33
34
35
36private:
37 Int_t fAxis; // division axis
38 Int_t fNDivision; // number of divisions
39 Float_t fStep; // number of steps
40 Float_t fStartC; // start coordinate
41
42 AliNode &operator=(const AliNode &) {return *this;}
43
44 ClassDef(AliNode,1) // Material Object for GUI
45};
46
47#endif
48
49
50
51
52
53
54
55