| 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): Nicola Galante  12/2004 <mailto:nicola.galante@pi.infn.it> | 
|---|
| 19 | !   Author(s): Thomas Bretz  12/2004 <mailto:nicola.galante@pi.infn.it> | 
|---|
| 20 | ! | 
|---|
| 21 | !   Copyright: MAGIC Software Development, 2004 | 
|---|
| 22 | ! | 
|---|
| 23 | \* ======================================================================== */ | 
|---|
| 24 |  | 
|---|
| 25 | ///////////////////////////////////////////////////////////////////////////// | 
|---|
| 26 | // | 
|---|
| 27 | //   MCalibrationPattern | 
|---|
| 28 | // | 
|---|
| 29 | //  A container to store the decoded calibration pattern. | 
|---|
| 30 | // | 
|---|
| 31 | // The idea is, that this container will never change the meaning of its | 
|---|
| 32 | // variables, while the calibration pattern itself could. | 
|---|
| 33 | // | 
|---|
| 34 | // If new 'features' are necessary the decoding (MCalibrationPatternDecode) | 
|---|
| 35 | // must be changed to correctly decode the pattern into the existing | 
|---|
| 36 | // MCalibrationPattern. If new information is decoded you may have to | 
|---|
| 37 | // add new variables to this container. Don't forget to increase the | 
|---|
| 38 | // class version number (ClassDef) and document your change HERE. | 
|---|
| 39 | // | 
|---|
| 40 | ///////////////////////////////////////////////////////////////////////////// | 
|---|
| 41 | #include "MCalibrationPattern.h" | 
|---|
| 42 |  | 
|---|
| 43 | ClassImp(MCalibrationPattern); | 
|---|
| 44 |  | 
|---|
| 45 | using namespace std; | 
|---|
| 46 |  | 
|---|
| 47 | // -------------------------------------------------------------------------- | 
|---|
| 48 | // | 
|---|
| 49 | // Default constructor | 
|---|
| 50 | // | 
|---|
| 51 | MCalibrationPattern::MCalibrationPattern(const char *name, const char *title) | 
|---|
| 52 | { | 
|---|
| 53 | fName  = name  ? name  : "MCalibrationPattern"; | 
|---|
| 54 | fTitle = title ? title : "Container for decoded calibration pattern"; | 
|---|
| 55 |  | 
|---|
| 56 | Reset(); | 
|---|
| 57 | } | 
|---|