REST_Tools and REST_Viewer failed ro install

Hi everybody,

I’m trying to analyze data from a simple simulation, specifically I wanted to visualize the hits in my detector with the command:

[10] REST_Tools_CheckReadout( "readouts.root", "pixel", region, mask, N, pId )

in root, after defining the variables used. After getting an error and checking my installed Functions I noticed that all functions under REST_Tools and REST_Viewer failed to install. Did anybody else have this problem and have a solution?

What you mean failed to install? It’s empty in dir $REST_PATH/macros/tools?

Ok so they are installed but can’t be used/found when needed:

`wormwood@tpc28:~/REST_v2/packages/restG4/examples/01.NLDBD$ restRoot
Loading library : libRestProcesses.so
Heed:
Database path: /home/wormwood/apps/garfield6/Heed/heed++/database
Loading library : libRestCore.so
Loading library : libRestMetadata.so
Loading library : libRestTools.so
Loading library : libRestEvents.so

| Welcome to ROOT 6.10/04 http://root.cern.ch |
| (c) 1995-2017, The ROOT Team |
| Built for linuxx8664gcc |
| From tag v6-10-04, 28 July 2017 |

Try ‘.help’, ‘.demo’, ‘.license’, ‘.credits’, ‘.quit’/’.q’

root [0] REST_Viewer_Readout( “readouts.root”, “pixelReadout” );
input_line_421:2:3: error: use of undeclared identifier ‘REST_Viewer_Readout’
(REST_Viewer_Readout(“readouts.root”, “pixelReadout”))
^
root [1]
`

Hi,

actually, the best way to check for the available macros once restRoot has been loaded is to use TAB completion. Writing REST_V and pressing TAB key twice.

The macro you are looking for is probably REST_ViewReadout?

Not sure about REST macro validation. If you get problems using any of them just let us know.

You may get a list of macros also doing

restManager ListMacros

or the same in different way

restRoot
[0] REST_ListMacros()

I have documented those I know that are properly working. But sure any macro was working at some point, but with no validation in the pipeline yet means they might become obsolete.