Replay

From Hall A Wiki
Revision as of 15:39, 1 March 2007 by 129.57.164.26 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to replay data

Log in on any adaq computer as adaq. Type goonlana to go in the replay directory. Different kind of replays are available,

  • replay.C usual replay it create a root file on /adaql3/work1/e04018/onlroot/onlana_XXXX.root
  • replayFull.C same as replay.C but with output on /adaql10/work1/e04018/onlroot/onlan_XXXX.root for long replay when short replay for detector check is running
  • replay_split.C takes all the split files and only decode the coincidence events with output on /adaql10/work1/e04018/onlroot/onlan_T5_XXXX.root



To replay just type : analyzer <name of script above> and answer the questions ( run number, target type and number of events to be replayed )



To look at predefined histograms after the replay is done. Use the script online.C

  • For the standard replay
    • .x online.C+("detectorL",runnumber);
    • .x online.C+("detectorR",runnumber);
    • .x online.C+("coin",runnumber);
  • For the coincidence runs
    • .x online.C+("detectorLT5",runnumber);
    • .x online.C+("detectorRT5",runnumber);
    • .x online.C+("coinT5",runnumber);