Skip to content
Snippets Groups Projects
Commit ba510b11 authored by adrien-matta's avatar adrien-matta
Browse files

* adding NPTool icon leading to NPTool website in GUI

parent 412653b1
No related branches found
No related tags found
No related merge requests found
NPSimulation/icons/NPToolLogo.png

7.23 KiB

......@@ -14,5 +14,5 @@
/control/alias gui_zoomout "/vis/viewer/zoom 0.5"
/control/alias gui_empty "/"
/control/alias gui_exit "exit"
/control/alias gui_nptool "./scripts/url.sh"
......@@ -21,10 +21,13 @@
/gui/addMenu custom "Custom View"
/gui/addButton custom "Add Axis" "/vis/scene/add/axes"
/gui/addButton custom "Add Beam axis" "{gui_beam}"
/gui/addButton custom "Add Scorer Hits" "/vis/scene/add/psHits"
/gui/addButton custom "Add Hits" "/vis/scene/add/hits"
/gui/addButton custom "Add Event ID" "/vis/scene/add/eventID"
# No hit collection is implemented
#/gui/addButton custom "Add Scorer Hits" "/vis/scene/add/psHits"
#/gui/addButton custom "Add Hits" "/vis/scene/add/hits"
/gui/addIcon "nptool" user_icon "/gui/system {gui_nptool}" icons/NPToolLogo.png
/gui/addIcon "Exit" user_icon "{gui_exit}" icons/power.png
/gui/addIcon "There is nothing here" user_icon "{gui_empty}" icons/empty.png
/gui/addIcon "Run beam on" user_icon "/run/beamOn" icons/rocket.png
......
# *****************************************************************************
# * Copyright (C) 2009 this file is part of the NPTool Project *
# * *
# * For the licensing terms see $NPTOOL/Licence/NPTool_Licence *
# * For the list of contributors see $NPTOOL/Licence/Contributors *
# *****************************************************************************/
# *****************************************************************************
# * Original Author: A. Matta contact address: a.matta@surrey.ac.uk *
# * *
# * Creation Date : 05/11/14 *
# * Last update : *
# *---------------------------------------------------------------------------*
# * Decription: This script open then ptool website *
# * *
# *---------------------------------------------------------------------------*
# * Comment: *
# * *
# * *
# *****************************************************************************
#! /bin/bash
open https://github.com/adrien-matta/nptool
......@@ -52,7 +52,6 @@ EventAction::~EventAction(){
void EventAction::BeginOfEventAction(const G4Event* event){
if ((event->GetEventID() + 1) % m_printModulo == 0)
// G4cout << "Event: " << event->GetEventID() + 1 << G4endl;
G4cout << "\rEvent: " << event->GetEventID() + 1 << flush;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment