Difference between revisions of "Hall C basic replay structure"
(→db_run.dat: Brief description.) |
|||
Line 56: | Line 56: | ||
Defines a map between crate slots and the detector modules. | Defines a map between crate slots and the detector modules. | ||
+ | |||
+ | * Old DAQ style syntax: | ||
+ | ==== Crate 2 type vme | ||
+ | # slot model clear header mask nchan ndata | ||
+ | 4 1190 1 0x40000004 0xff00001f 128 4096 | ||
+ | 5 1190 1 0x40000005 0xff00001f 128 4096 | ||
+ | |||
+ | * Bank decoding DAQ style syntax: | ||
+ | ==== Crate 1 type vme Bank Decoding | ||
+ | # slot model bank | ||
+ | 4 1190 1190 | ||
+ | 5 1190 1190 | ||
== db_run.dat == | == db_run.dat == | ||
Sets the run specific variables for each run number. | Sets the run specific variables for each run number. |
Revision as of 17:04, 14 November 2016
This entry provides an overview of the basic replay structure for Hall C, which is available on github.
DBASE
general.param
Collects all parameter files that are read-in before the replay.
standard.database
Defines which files are read-in for each run number.
standard.kinematics
Sets the kinematics variables for each run number.
DEF-files
replay.def
Defines which variables or blocks of variables are written to ROOT tree and defines the histograms that are saved in the ROOT file.
replay_cuts.def
Defines cuts for different stages of raw data analysis.
MAPS
detector.map
Defines the map between detector module channels and replay variables.
PARAM
detector.param
Sets the values for all the variables that are needed for the analysis of the data from the detector. It is usually broken into multiple files for better overview.
raw
Here go the raw data files. This is usually just a symbolic link.
ROOTfiles
This is where the ROOT files with variable trees and histograms are saved after the replay.
SCRIPTS
Here are saved the macro files detailing the replay. These macros are run through hcana.
TEMPLATES
Here are located the template files for the replay reports.
db_cratemap.dat
Defines a map between crate slots and the detector modules.
- Old DAQ style syntax:
==== Crate 2 type vme # slot model clear header mask nchan ndata 4 1190 1 0x40000004 0xff00001f 128 4096 5 1190 1 0x40000005 0xff00001f 128 4096
- Bank decoding DAQ style syntax:
==== Crate 1 type vme Bank Decoding # slot model bank 4 1190 1190 5 1190 1190
db_run.dat
Sets the run specific variables for each run number.