4 // Author: I. Hrivnacova
6 // Class AliLVTreeMessenger
7 // ------------------------------------
8 // Messenger class that defines commands for AliLVTree.
10 #ifndef ALI_LV_TREE_MESSENGER_H
11 #define ALI_LV_TREE_MESSENGER_H
13 #include <G4UImessenger.hh>
19 class G4UIcmdWithABool;
20 class G4UIcmdWithAString;
21 class G4UIcmdWithoutParameter;
22 class G4LogicalVolume;
24 class AliLVTreeMessenger: public G4UImessenger
27 AliLVTreeMessenger(AliLVTree* lvTree);
29 // AliLVTreeMessenger();
30 // AliLVTreeMessenger(const AliLVTreeMessenger& right);
31 virtual ~AliLVTreeMessenger();
34 virtual void SetNewValue(G4UIcommand* command, G4String newValues);
38 AliLVTreeMessenger(const AliLVTreeMessenger& right);
41 AliLVTreeMessenger& operator=(const AliLVTreeMessenger &right);
45 AliLVTree* fLVTree; //associated class
46 G4LogicalVolume* fCurrentVolume; //current logical volume
47 G4UIdirectory* fDirectory; //command directory
48 G4UIcmdWithAString* fSetCurrentLVCmd; //command: setVolume
49 G4UIcmdWithoutParameter* fListCmd; //command: list
50 G4UIcmdWithoutParameter* fListLongCmd; //command: listLong
51 G4UIcmdWithAString* fListDaughtersCmd; //command: listDaughters
52 G4UIcmdWithAString* fListLongDaughtersCmd; //command: listLongDaughters
55 G4UIcmdWithABool* fSetLVTreeVisibilityCmd; //command: setLVTreeVisibility
56 G4UIcmdWithABool* fSetVolVisibilityCmd; //command: setVolVisibility
57 G4UIcmdWithAString* fSetLVTreeColourCmd; //command: setLVTreeColour
58 G4UIcmdWithAString* fSetVolColourCmd; //command: setVolColour
62 #endif //ALI_LV_TREE_MESSENGER_H