4 // Author: I. Hrivnacova
7 // ---------------------------
8 // Class provides methods for browsing volumes trees,
9 // and setting their visualization attributes.
14 #include "AliLVTreeMessenger.h"
20 class G4LogicalVolume;
30 // AliLVTree(const AliLVTree& right);
34 static AliLVTree* Instance();
37 void List(const G4String& lvName) const;
38 void List(G4LogicalVolume* lv) const;
39 void ListLong(const G4String& lvName) const;
40 void ListLong(G4LogicalVolume* lv) const;
43 void SetLVTreeVisibility(G4LogicalVolume* lv, G4bool visibility) const;
44 void SetVolumeVisibility(G4LogicalVolume* lv, G4bool visibility) const;
45 void SetLVTreeColour(G4LogicalVolume* lv, const G4String& colName) const;
46 void SetVolumeColour(G4LogicalVolume* lv, const G4String& colName) const;
51 AliLVTree(const AliLVTree& right);
54 AliLVTree& operator=(const AliLVTree &right);
58 void RegisterLogicalVolume(G4LogicalVolume* lv, const G4String& path,
59 AliLVStructure& lvStructure) const;
60 void Warn(const G4String& where, const G4String& lvName) const;
61 void Warn(const G4String& where) const;
63 // static data members
64 static AliLVTree* fgInstance;
67 AliLVTreeMessenger fMessenger; //messenger
72 #endif //ALI_LV_TREE_H