By default the program is not tied to a particular detector layout.
When starting the program, you have to go in the top "setups" item in the gui main panel to choose for a particular detector setup. There are four setups:neard, fard, fgd, fgd_hit. When choosing one, three dedicated scripts are copied from the "resource" directory (the "res" dir) of the distribution/installation into your application documents directory (your "doc" dir). For desktops, your application documents directory is under (see also "softinex/Apps and data files"):
Linux, macOS, Windows-10/CYGWIN, Windows-10/WSL: ~/Documents/EsbRootView Windows-10/DOS: C:\Users\<your account name>\Documents\EsbRootView
On Windows, you can have two packings/builds: the vc++/win32 one that must be started from a DOS prompt (or with the mouse) and that has the upper Windows/DOS documents directory, but also a g++/X11 one built from a CYGWIN environment that must be run from a CYGWIN prompt and that has the upper Windows/CYGWIN document directory (which is not the same as the Windows/DOS one!). Note that if the document directory does not exist, the application will (attempt to) create it.
When choosing a setup, for example neard, four files are copied from the resource directory to your doc dir:
res_dir/init.insh => doc_dir/init.insh res_dir/neard_startup.insh => doc_dir/startup.insh res_dir/neard_event.insh => doc_dir/event.insh res_dir/neard_anim.insh => doc_dir/anim.insh
After having done theses copies, EsbRootView executes the init.insh and startup.insh scripts. In them there are instructions to load a dedicated geometry (root) file found in the res dir, create a scene graph of the detector deposited in the "static scene graph", do a camera setup adapted to the detector layout, load an avatar ("sarah") to give a hint of the scale of the scene and switch from GUI mode to the scene mode. With the neard startup.insh script, you should see:
When doing a "next event", the event.insh script is executed. The default script for neard does a "MCTrack_vis -color=cornflowerblue" to create a scene graph representing the MCTracks in red, a scene graph deposited under the "dynamic scene graph". It does also a "WCDetectorPoint_vis -color=green" to visualize the WC detector points and also an "WCDetectorPoint_plot -modeling=detector" to have the "2D detector plot" of the event in the upper right corner of the scene view. On the first event, you should see:
For the other setups, the same logic applies; copy dedicated "init,startup,event,anim" .insh scripts in your app doc dir, execute the init.insh and startup.insh and the event.insh at "next event".
As explained in the "softinex/Apps general behaviour" section, a "next event" can be triggered from the next event item in the main GUI panel, or from the next event button at the left in the camera menu panel (the one with blue "tracks" going out of a "vertex"). (See also MEMPHYS_vis or pmx demos on YouTube for that).
Note that as your doc dir is going to be a place for customization, it is advised to have a local git (or something) repository here to handle your init, startup, event and anim insh scripts.