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=")
 
 
(3 intermediate revisions by the same user not shown)
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].
+
<<[[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].
  
 
=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

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