]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant4/TG4GuiVolume.h
arguments in the constructor changed
[u/mrichter/AliRoot.git] / TGeant4 / TG4GuiVolume.h
1 // $Id$
2 // Category: interfaces
3 //
4 // Author: D. Adamova
5 //================================================================
6 // 
7 //----------------TG4GuiVolume.h-------------------------------//
8 //----Creating link for Logical Volume Tree in AG4 Geometry----//
9 //
10 //=================================================================
11
12 #ifndef TG4_GUI_VOLUME_H
13 #define TG4_GUI_VOLUME_H
14  
15 #include <TObject.h>
16 #include <TGListTree.h>
17  
18 class G4LogicalVolume;
19
20
21 class TG4GuiVolume : public TObject 
22 {
23 public:
24     TG4GuiVolume(const char* name, G4LogicalVolume* lvolume);
25     virtual ~TG4GuiVolume(){;}
26
27     G4LogicalVolume* GetLogicalVolume() const;
28     TGListTreeItem* GetItem() const;
29     const char* GetName() const;
30
31 //---> Inlines :
32     void  SetItem(TGListTreeItem* item) {fItem = item;}
33
34 //--------------------------------------------------------------------
35 protected:
36     TG4GuiVolume(const TG4GuiVolume& gv) ;
37
38     // operators
39     TG4GuiVolume & operator=(const TG4GuiVolume& gv) ;
40     
41 //---------------------------------------------------------------------    
42     
43 private:      
44     G4LogicalVolume*  fLogicalVolume;    // geant logical volume 
45     TGListTreeItem*   fItem; // current item
46
47     ClassDef(TG4GuiVolume,0)   
48 };
49
50 //
51  
52 #endif