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 11/2003 <mailto:markus@ifae.es>
|
---|
19 | !
|
---|
20 | ! Copyright: MAGIC Software Development, 2000-2004
|
---|
21 | !
|
---|
22 | !
|
---|
23 | \* ======================================================================== */
|
---|
24 | /////////////////////////////////////////////////////////////////////////////
|
---|
25 | //
|
---|
26 | // MCalibrationIntensityChargeCam
|
---|
27 | //
|
---|
28 | // Storage container for intensity charge calibration results.
|
---|
29 | //
|
---|
30 | // Individual MCalibrationChargeCam's can be retrieved with:
|
---|
31 | // - GetCam() yielding the current cam.
|
---|
32 | // - GetCam("name") yielding the current camera with name "name".
|
---|
33 | // - GetCam(i) yielding the i-th camera.
|
---|
34 | //
|
---|
35 | // See also: MCalibrationIntensityCam, MCalibrationChargeCam,
|
---|
36 | // MCalibrationChargePix, MCalibrationChargeCalc, MCalibrationQECam
|
---|
37 | // MHCalibrationChargePix, MHCalibrationChargeCam
|
---|
38 | // MCalibrationChargeBlindPix, MCalibrationChargePINDiode
|
---|
39 | //
|
---|
40 | /////////////////////////////////////////////////////////////////////////////
|
---|
41 | #include "MCalibrationIntensityChargeCam.h"
|
---|
42 |
|
---|
43 | #include <TClonesArray.h>
|
---|
44 |
|
---|
45 | ClassImp(MCalibrationIntensityChargeCam);
|
---|
46 |
|
---|
47 | using namespace std;
|
---|
48 |
|
---|
49 | // --------------------------------------------------------------------------
|
---|
50 | //
|
---|
51 | // Default constructor.
|
---|
52 | //
|
---|
53 | // Sets all pointers to 0
|
---|
54 | //
|
---|
55 | // Creates a TClonesArray of MCalibrationChargeCam containers, initialized to 1 entry, destinated
|
---|
56 | // to hold one container per camera.
|
---|
57 | //
|
---|
58 | MCalibrationIntensityChargeCam::MCalibrationIntensityChargeCam(const char *name, const char *title)
|
---|
59 | {
|
---|
60 |
|
---|
61 | fName = name ? name : "MCalibrationIntensityChargeCam";
|
---|
62 | fTitle = title ? title : "Results of the Intensity Calibration";
|
---|
63 |
|
---|
64 | fCams = new TClonesArray("MCalibrationChargeCam",1);
|
---|
65 |
|
---|
66 | }
|
---|