How to run event display - E1039-Collaboration/e1039-wiki GitHub Wiki

Obtain a FermiLab computing account

All the related libraries are compiled on the spinquestgpvm01.fnal.gov machine. To access those machines, please start with obtaining a FermiLab computing account if you haven't got one.

login, setup and checkout the code

init kerberos key, <usr> below means your user name.

kinit -f <usr>@FNAL.GOV
<type your password>

login to a submitter node

ssh -Y <usr>@spinquestgpvm01.fnal.gov

cd to your work area

mkdir -p /e906/app/users/$USER/tutorial1906
cd /e906/app/users/$USER/tutorial1906

source the setup macro

source /e906/app/users/yuhw/setup.sh

check out analysis repository from github

git clone https://github.com/E1039-Collaboration/e1039-analysis.git

How to run

To run the simulation + reconstruction macro

cd e1039-analysis/SimChainDev/
root -l eve_disp.C

To run real data reconstruction:

cd e1039-analysis/CODAChainDev/
ln -s /data3/data/mainDAQ/run_028692.dat .
ln -s /seaquest/production/runs/run_028692 .
root -l eve_disp.C

A GUI like this should pop up: Click Next Event to run and show the next event Initial GUI

Then 3 tabs should show up in the main window.

  • Viewer 1: the main tab
  • Station View: station-by-station view
  • Hodo View: show only hodo hits in X-Z and Y-Z view Main window Station view Hodo view

Hints:

  • The Event ID and Trigger NumberEntry specifies the EventID or Trigger type you are interested. -1 means not specified. Please use only one selection (either Event ID or Trigger) for now
    • Trigger bit to trigger type mapping: here
  • These three buttons on the left panel, Top View Side View and 3D View, only control the main view (Viewer 1)
  • The graphics runs slow using remote connection, give it some time refresh. You may use the terminal window to check the status
    • For me even under the same network, the graphics seem slower in Mac OS than Linux

Mouse control:

  • Left button drag: rotate
  • Middle button drag: pan
  • Middle button scroll: zoom
⚠️ **GitHub.com Fallback** ⚠️