Quick Dubna EventViewer script
Jump to navigation
Jump to search
On /terabig/scan/macros you have a bash script called display_event.x
- To launch it :
- go every directory you want
- execute display_event.x YOUR_BRICK_NUMBER PATH/file_scan_tracks (optional) or display_event.x EVENT_NUMBER PATH/file_scan_tracks (optional)
- Output : 2 pictures (gif format), one corresponds to detector view and the second to vertex view
- Examples:
Only electronic detector info : display_event.x 36423 Electronic detector + Predictions on plate 57 : display_event.x 36423 p057/36423.57.1.100.man.pred.txt Electronic detector + BT found on plate 57 : display_event.x 36423 p057/36423.57.1.100.man.found.txt Electronic detector + what do you want : display_event.x 36423 WHAT_DO_I.WANT (must be here in OpBrickFinder format)
- Remark :
If the name of the file is like
brick_number.plate.version.run.man.pred.txt or brick_number.plate.version.run.man.found.txt
the script will convert the data format for the OpBrickFinder
If NOT, you have to put manually into the OpBrickFinder data format' :
event coord brickId tan(slopeX) tan(slopeY) posX posY posZ trackId passed color
- What it's doing (summary) :
- Get the eventID corresponding to the entered brick number (connection to OPFRA or OPITA)
- Convert prediction/found BT in OpBrickFinder format (if needed)
- Send previous file to lheppc57 (if needed)
- Create & send to lheppc57 the config file for OpBrickFinder
- Launch on lheppc57 the eventViewer.exe in batch mode with detector view
- Launch on lheppc57 the eventViewer.exe in batch mode with vertex view
- Download gif images created by eventViewer.exe to local computer