Difference between revisions of "SBS Basic Replay Structure"

From SBS wiki
Jump to: navigation, search
 
Line 1: Line 1:
 +
<<[[Student_Analysis|<B>Student Analysis</B>]]
 +
 
This entry provides an overview of the basic replay structure for SBS, which is available on [https://github.com/JeffersonLab/SBS-replay github].
 
This entry provides an overview of the basic replay structure for SBS, which is available on [https://github.com/JeffersonLab/SBS-replay github].
  

Latest revision as of 21:16, 17 March 2022

<<Student Analysis

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