Difference between revisions of "SBS Basic Replay Structure"

From SBS wiki
Jump to: navigation, search
(Created page with "This entry provides an overview of the basic replay structure for Hall A, which is available on [https://github.com/sebastianseeds/SBS-replay github]. =DBase=")
 
Line 1: Line 1:
This entry provides an overview of the basic replay structure for Hall A, which is available on [https://github.com/sebastianseeds/SBS-replay github].
+
This entry provides an overview of the basic replay structure for SBS, which is available on [https://github.com/sebastianseeds/SBS-replay github].
  
 
=DBase=
 
=DBase=
 +
 +
=DEF-files=
 +
 +
==replay.odef==
 +
Defines which variables or blocks of variables are written to ROOT tree and defines the histograms that are saved in the ROOT file.
 +
 +
  #Select a variable
 +
  variable sbs.hcal.clus_blk.atime
 +
 +
  #Select a block of variables
 +
  block sbs.hcal.*
 +
 +
  #Define a histogram
 +
  th1d hClusADC_vs_elem_hcal 'Cluster ADC : HCAL' sbs.hcal.e 100 0 1
 +
 +
==replay.cdef==
 +
Defines cuts for different stages of raw data analysis. Most common blocks are:
 +
RawDecode
 +
Decode
 +
CoarseReconstruct
 +
Physics

Revision as of 21:07, 17 March 2022

This entry provides an overview of the basic replay structure for SBS, which is available on github.

DBase

DEF-files

replay.odef

Defines which variables or blocks of variables are written to ROOT tree and defines the histograms that are saved in the ROOT file.

 #Select a variable
 variable sbs.hcal.clus_blk.atime
 #Select a block of variables
 block sbs.hcal.*
 #Define a histogram
 th1d hClusADC_vs_elem_hcal 'Cluster ADC : HCAL' sbs.hcal.e 100 0 1 

replay.cdef

Defines cuts for different stages of raw data analysis. Most common blocks are:

RawDecode
Decode
CoarseReconstruct
Physics