Difference between revisions of "Transversity/Online Replay"

From Hall A Wiki
Jump to: navigation, search
(Shift Worker HowTo)
(Shift Worker HowTo)
Line 11: Line 11:
 
After analyzer is loaded successfully, one can call  
 
After analyzer is loaded successfully, one can call  
 
  >replay_det_BB(1568,1000)
 
  >replay_det_BB(1568,1000)
for BigBite replay or
+
for BigBite replay or  
 +
>replay_det_L(runnno)
 +
for left HRS detector replay.
 
  >replay_phys(runnno)
 
  >replay_phys(runnno)
for physics replay.
+
for physics replay ''(not usable during commisioning)''.
>replay_det_L(runnno)
+
for detector replay.
+
 
+
  
 
It's also possible to specify the run# and event number in parameters. For ex.  
 
It's also possible to specify the run# and event number in parameters. For ex.  
Line 25: Line 24:
 
  >online("detectL",runno)      for L-HRS replay,
 
  >online("detectL",runno)      for L-HRS replay,
 
  >online("detectBB",runno)      for BigBite replay,
 
  >online("detectBB",runno)      for BigBite replay,
  >online("physics",runno) for physics relay.
+
  >online("physics",runno)       for physics relay. ''(not usable during commisioning)''
  
 
Or, '''one can do all the above together''' by:
 
Or, '''one can do all the above together''' by:

Revision as of 20:37, 30 October 2008

You may also looking for replay documentation for previous experiments

This is documenation for online replay of transversity

Shift Worker HowTo

Replay procedures are:

logon to adaq@adaql<4-7>(DO NOT do it on adal1, adal2 & adaql3 which are taking the data), call command "goonlana", then start "analyzer".

After analyzer is loaded successfully, one can call

>replay_det_BB(1568,1000)

for BigBite replay or

>replay_det_L(runnno)

for left HRS detector replay.

>replay_phys(runnno)

for physics replay (not usable during commisioning).

It's also possible to specify the run# and event number in parameters. For ex.

>replay_det_BB(1568,1000)

will replay first 1k events of run#1568.

Then open onlineGUI to check the replay results:

>online("detectL",runno)       for L-HRS replay,
>online("detectBB",runno)      for BigBite replay,
>online("physics",runno)       for physics relay. (not usable during commisioning)

Or, one can do all the above together by:

>do_all(runno)

which will run all the replays and shows the onlineGUI after the replay.

Expert Info

Howto Build your own quick test

  1. copy /adaqfs/home/adaq/e06010/onlana/ to your private directory.
  2. for the file you want to play test on, break the symbolic link and modify it.


  • DO NOT modify the main replay directory for test
  • DO NOT do replay in bbsoftw replay directory, which is for store the source file
  • super quick test :
  1. login as adaq and goonlana
  2. call analyzer
  3. load the detector you need and call ReplayCore()

Physics Replay

Please see physics replay discusion page

Software Structure

"expert account" strategy

There are two accounts on adaqlx machines, which are involved with replay:

  • bbsoftw : The "expert" account, which maintain all the source files.
  • adaq  : Shift Workers will perform online replay in this account. However, key file are read only.

The scheme keep key files from been mistakenly modified during replay or tests.

File Location

The databases directory are:

bbsoftw@adaqlx:~/DB

which is also soft linked to

adaq@adaql3:$DB_DIR

Source of replay scripts used in adaq@adaqlx are located in:

bbsoftw@adaqlx:~/e06010/onlana

one can get to it by calling goreplay or goonlana macro as bbsoftw. There are 5 types of files in this directory:

  • Replay Core scripts (ReplayCore.C def.h rootlogon.C)
  • link to software libraries (*.so)
  • definition files (*.odef *.cdef)
  • online display configuration files (*.cfg)
  • other supportive scripts

Key files in above directory are soft linked to shift worker replay directory

adaq@adaqlx:~/e06010/onlana