This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
itop:documentation:code [2013/06/04 06:14] – [Available Code] kurtisn | itop:documentation:code [2013/06/07 17:36] – kurtisn | ||
---|---|---|---|
Line 3: | Line 3: | ||
The latest version of the code is available here: | The latest version of the code is available here: | ||
- | [[http:// | + | [[http:// |
+ | |||
+ | Calibration constants are posted [[itop: | ||
+ | |||
+ | (Please note that although there are some variables in this ROOT tree to handle crosstalk, they are not quite working right yet. I will post an update when I debug them.) | ||
The following is the general procedure to produce summary ROOT files. | The following is the general procedure to produce summary ROOT files. | ||
Line 25: | Line 29: | ||
If you want to look over a few waveforms by eye to see if they look reasonable, do the following: | If you want to look over a few waveforms by eye to see if they look reasonable, do the following: | ||
+ | In ROOT, open the file produced with ConvertToRootNoAuxDataMultiScrod with a command like: | ||
+ | TFile *f1 = new TFile("< | ||
+ | |||
+ | Load the script: | ||
+ | |||
+ | .L scripts/ | ||
+ | |||
+ | Then: | ||
+ | |||
+ | DrawAll() | ||
+ | |||
+ | And press enter to cycle through waveforms. | ||
===== Timing Calibration Resolution Studies ===== | ===== Timing Calibration Resolution Studies ===== | ||
The following are the best known procedures for performing timing calibration using the pulser, and performing MCP-PMT timing measurements. | The following are the best known procedures for performing timing calibration using the pulser, and performing MCP-PMT timing measurements. | ||
+ | |||
+ | The calibration script can be loaded with: | ||
+ | |||
+ | .L DrawWaveform4SegmentsWithCamac.C+ | ||
+ | |||
+ | The arguments are: | ||
+ | |||
+ | DrawWaveform4SegmentsWithCamac(< | ||
+ | |||
+ | The three calibration files can be left out by passing 0 or NULL as an argument in their place. | ||
+ | |||
+ | * amplitude.cal - Sample-to-sample amplitude correction (useful for pulser data, not recommended for laser data). | ||
+ | * pulser.cal - Correction for sample-to-sample timing (preferably based on high statistics pulser data). | ||
+ | * ph.cal - Correction for overall pulse timing based on pulse height. | ||
+ | |||
+ | ==== Previously compiled calibration constants ==== | ||
+ | |||
+ | Calibration constants based on the 2013-05-26 Fuji Hall pulser data are available here: | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | In the tarball of calibration constants posted here, these calibration files are renamed as scrod< | ||
+ | |||
+ | Please note that we are currently assuming that all channels from the same ASIC use the same dt calibration, | ||
==== Current Best Calibration Procedure ==== | ==== Current Best Calibration Procedure ==== |