Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
e1039-analysis/AnaRealDst

A compact program to analyze the "DST" file, which is created by the Main DAQ decoder. Since it is yet under development and also depends on other software under development, it might stop working occasionally. In such cases, please contact the author.

Basic Usage

The procedure below will read the DST file of run 202 (for example), which is ``` /data2/e1039/dst/run_000202_spin.root ``` and produce basic histograms and ntuple.

  1. source setup.sh
  1. cmake-this
  1. make-this
  1. cd macro
  1. root -b -q 'Fun4RealDst.C(202)'
  1. display h1_ele_H1T.png &

Here are some tips:

  • You need execute "source setup.sh" every time you open a new terminal.
  • You need execute "make-this" every time you modify any file in "src/".
  • You need execute "cmake-this" every time you add/delete any file in "src/".
  • You can execute the macro at any directory.

Advanced Usage

  • The contents of the analysis are defined in class "AnaRealDst". You can modify this class (i.e. "src/AnaRealDst.cc") to implement your own analysis.
  • The run ID and the number of events for analysis are defined in "macro/Fun4RealDst.C". You can change them so that you need not give them in the command line.

Author

Kenichi Naknao knaka.nosp@m.no@n.nosp@m.ucl.p.nosp@m.hys..nosp@m.titec.nosp@m.h.ac.nosp@m..jp