Expert Replay

From SBS wiki
Jump to: navigation, search

<<SBS Main<< HOW TOs (BigBite Spectrometer)

HCal Expert Replay

The HCal expert replay is primarily used by the detector experts to check out data quality and perform deeper analysis than the general replays. These expert replays create much larger root files with respect to HCal data than the standard replays as many more variables are stored, in particular the individual fADC samples are stored for each PMT and each event and there is no zero suppression applied to pedestal events.

Running a Replay GEn

From a terminal:

  • Log on to aonl@aonl<x>, where x = 1, 2, or 4
  • gohcal
  • cd replay
  • source <run>, where run = desired run number to replay

All replayed files will be located in the usual directory where all three streams should appear:

  • /adaqfs/home/a-onl/sbs/Rootfiles

Running a Replay (GMn - Depricated)

  • Log on to aonl@aonl1 and navigate to /adaqfs/home/a-onl/sbs/HCal_replay/replay and source the following two environment setup files.


  • Then execute:
 analyzer -l


 .x replay_gmn.C+(run#, # of events to analyze)
  • The run number should correspond to the run number of the raw data file located in /adaqeb1/data1. The second argument is optional and determines how many events in the given run to replay. If left empty or given as -1 the replay will replay all events in the data file. Note: Replaying an entire data file takes a very long time and produces huge rootfiles! This should only be done if necessary.
  • The replayed rootfiles are stored in /adaqfs/home/a-onl/sbs/Rootfiles as hcal_run#_#evts.root and may be split over several rootfiles depending on the size of the data analyzed.