Difference between revisions of "Transversity/Online Replay"

From Hall A Wiki
Jump to: navigation, search
(Expert HowTo)
(File Structure)
Line 45: Line 45:
 
=== [[Transversity/Physics Replay|Physics Replay]] ===
 
=== [[Transversity/Physics Replay|Physics Replay]] ===
  
== File Structure ==
+
== 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:
 
The databases directory are:

Revision as of 01:04, 17 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<3-7>(DO NOT do it on adal1&adal2 which are taking the data), call command "goonlana", then start "analyzer".

After analyzer is loaded successfully, one can call

>replay_BB(runno)

for BigBite replay or

>replay_phys(runnno)

for physics replay.

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

>replay_BB(1568,1000)

will replay first 1k events of run#1568.

Then open onlineGUI to check the replay results:

>online("BB",runno)       for BigBite replay,
>online("FPP",runno)      for FPP replay,
>online("physics",runno)  for physics relay.

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

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