| 1 | /* ======================================================================== *\
|
|---|
| 2 | !
|
|---|
| 3 | ! *
|
|---|
| 4 | ! * This file is part of MARS, the MAGIC Analysis and Reconstruction
|
|---|
| 5 | ! * Software. It is distributed to you in the hope that it can be a useful
|
|---|
| 6 | ! * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
|
|---|
| 7 | ! * It is distributed WITHOUT ANY WARRANTY.
|
|---|
| 8 | ! *
|
|---|
| 9 | ! * Permission to use, copy, modify and distribute this software and its
|
|---|
| 10 | ! * documentation for any purpose is hereby granted without fee,
|
|---|
| 11 | ! * provided that the above copyright notice appear in all copies and
|
|---|
| 12 | ! * that both that copyright notice and this permission notice appear
|
|---|
| 13 | ! * in supporting documentation. It is provided "as is" without express
|
|---|
| 14 | ! * or implied warranty.
|
|---|
| 15 | ! *
|
|---|
| 16 | !
|
|---|
| 17 | !
|
|---|
| 18 | ! Author(s): Markus Gaug 02/2004 <mailto:markus@ifae.es>
|
|---|
| 19 | !
|
|---|
| 20 | ! Copyright: MAGIC Software Development, 2000-2004
|
|---|
| 21 | !
|
|---|
| 22 | \* ======================================================================== */
|
|---|
| 23 | /////////////////////////////////////////////////////////////////////////////
|
|---|
| 24 | // //
|
|---|
| 25 | // MCalibrationRelTimePix //
|
|---|
| 26 | // //
|
|---|
| 27 | // Storage container for relative arrival time calibration results //
|
|---|
| 28 | // of one Pixel (PMT). //
|
|---|
| 29 | // The following "calibration" constants can be retrieved: //
|
|---|
| 30 | // - GetTimeOffset(): The mean offset in relative times,
|
|---|
| 31 | // has to be added to any calculated relative time in the camera.
|
|---|
| 32 | // - GetTimePrecision(): The Gauss sigma of histogrammed relative arrival
|
|---|
| 33 | // times for the calibration run. Gives an estimate about the timing
|
|---|
| 34 | // resolution.
|
|---|
| 35 | //
|
|---|
| 36 | // ALL RELATIVE TIMES HAVE TO BE CALCULATED W.R.T. PIXEL IDX 1
|
|---|
| 37 | // (HARDWARE NUMBER: 2) !!
|
|---|
| 38 | //
|
|---|
| 39 | // See also: MHCalibrationRelTimePix, MHCalibrationRelTimeCam //
|
|---|
| 40 | // //
|
|---|
| 41 | /////////////////////////////////////////////////////////////////////////////
|
|---|
| 42 | #include "MCalibrationRelTimePix.h"
|
|---|
| 43 |
|
|---|
| 44 | ClassImp(MCalibrationRelTimePix);
|
|---|
| 45 |
|
|---|
| 46 | using namespace std;
|
|---|
| 47 |
|
|---|
| 48 | // --------------------------------------------------------------------------
|
|---|
| 49 | //
|
|---|
| 50 | // Default Constructor
|
|---|
| 51 | //
|
|---|
| 52 | MCalibrationRelTimePix::MCalibrationRelTimePix(const char *name, const char *title)
|
|---|
| 53 | {
|
|---|
| 54 |
|
|---|
| 55 | fName = name ? name : "MCalibrationRelTimePix";
|
|---|
| 56 | fTitle = title ? title : "Results of MHCalibrationRelTimePix ";
|
|---|
| 57 |
|
|---|
| 58 | }
|
|---|
| 59 |
|
|---|