Difference between revisions of "Start Counter In Calibration Challenge"

From GlueXWiki
Jump to: navigation, search
(st_tw_corr_auto)
(ST_Propagation_Time)
Line 22: Line 22:
 
  hd_root -PPLUGINS=st_tw_corr_auto /path/to/datafile
 
  hd_root -PPLUGINS=st_tw_corr_auto /path/to/datafile
  
== ST_Propagation_Time ==
+
== 2) ST_Propagation_Time ==

Revision as of 18:31, 20 January 2016

Introduction

Currently, the plugins 1, 2, and 4 are in the sim-recon/src/plugins/Calibration. A summary of how to run each code and the expected outcomes of the macros will be shown in details.

  • 1) Start Counter Time Walk Corrections Plugin (st_tw_corr_auto)
  • 2) Start Counter Propagation Time Corrections Plugin (ST_Propagation_Time)
  • 3) Start Counter Attenuation Corrections Plugin
  • 4) Start Counter Time Resolution Plugin (ST_Tresolution)

1) st_tw_corr_auto

This plugin will generate a ROOT file from an EVIO data file that contains histograms of the time difference (self timing) versus pedestal-subtracted pulse peak amplitude for all 30 start counter sectors. A separate ROOT macro (st_tw_fits.C) will analyze and fit these histograms and provide a table for the CCDB as well as an output ROOT file containing the results for verification. The ST self timing resolution is calculated after using st_tw_resols.C.

Plugin Files:

   JEventProcessor_st_tw_corr_auto.cc
   JEventProcessor_st_tw_corr_auto.h

Macros Files:

   st_tw_fits.C
   st_tw_resols.C

To run the plugin, use the following command:

hd_root -PPLUGINS=st_tw_corr_auto /path/to/datafile

2) ST_Propagation_Time