SBS Basic Replay Structure

From SBS wiki
Jump to: navigation, search

<<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