CVS head for this package - Administrative privileges
Description
This package contains the code for the DT calibration.
Public interface
- DTCalibDBUtils: class for write in a DB through the PoolDBESource interface
- DTTimeBoxFitter: class for the fit of the rising edge of the time box with the integral of a gaussian. This class is designed also for ROOT interactive usage throught the stubs library provided with the package.
- DTMeanTimerFitter: class for the fit of the meantimer histograms with a gaussian.
Modules
TDC Time Synchronization
- DTTTrigCalibration: EDAnalyzer for the computation of the ttrig from the time box fit. It can write the results into DB or simply write the time box histograms in a root file.
- DTTTrigWriter: EDAnalyzer for the computation of the ttrig from the time box fit, it needs a root file of time box histograms as input and it writes the results into DB.
Drift velocity calibration
- DTVDriftCalibration: EDAnalyzer for the computation of the drift velocity and hit resolution from the meantimer fit (the meantimers are computed from 4D segments with different formulas for different pattern). It can write the results into DB or simply write the meantimer histograms in a root file.
- DTVDriftWriter: EDAnalyzer for the computation of the drift velocity and hit resolution from the meantimer fit, it needs a root file of meantimer histograms as input.
Unit tests and examples
Examples of configuration files for the ttrig computation from the fit of the rising edge of the time box are:
- DTTTrigCalibration.cfg: ttrig computation from simulated digis.
- DTTTrigCalibration_fromData.cfg: ttrig computation from real data.
Examples of configuration files for the vdrift and hit resolution computation from the fit of the meantimer histograms
- DTVDriftCalibration.cfg: vdrift and hit resolution computation from simulated digis.
- DTTTrigCalibration_fromData.cfg: vdrift and hit resolution computation from real data.
A stubs library is available with the package for interactive plot and fit of the time boxes and the meantimer histograms. It provides the following classes:
- DTTimeBoxPlotter: for interactive plot of time boxes
- DTTimeBoxFitter: for the fit of the time box rising edge using exactly the same code used by DTTTrigCalibration module.
- DTMeanTimerPlotter: for interactive plot of meantimer histograms
- DTMeanTimerBoxFitter: for the fit of the meantimer histograms using exactly the same code used by DTVDriftCalibration module.
Some utilities are available to manage and analyze the DB content
- DumpDBToFile and DumpFileToDB can manage channels map, noise, t0, ttrig and vdrift databases. They use the DTCalibrationMap class to manage calibration constants with different
granularity (by wire, by SL, by chamber)
- ProduceFakeDB produce t0, ttrig and vdrift DB with everywhere the same values set in the cfg
- DTT0Analyzer make plots of the t0 contained in a DB and it saved them in a root file
Status and planned development
- The calibration of the k factor will be added
Last updated: JANUARY-2007 S. Bolognesi