source: branches/removing_cpp11_features/mcalib/MCalibrationTestPix.cc@ 19128

Last change on this file since 19128 was 4649, checked in by gaug, 20 years ago
*** empty log message ***
File size: 2.3 KB
Line 
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 08/2004 <mailto:markus@ifae.es>
19!
20! Copyright: MAGIC Software Development, 2000-2004
21!
22\* ======================================================================== */
23/////////////////////////////////////////////////////////////////////////////
24//
25// MCalibrationTestPix
26//
27// Base Storage container for the test result of a calibration pixel.
28// Holds calibrated number of photons, number of photons per area (mm^2) and
29// their errors. Not interpolateable pixels are declared excluded.
30//
31/////////////////////////////////////////////////////////////////////////////
32#include "MCalibrationTestPix.h"
33
34ClassImp(MCalibrationTestPix);
35
36using namespace std;
37
38// --------------------------------------------------------------------------
39//
40// Default Constructor:
41//
42// Sets:
43// - fPixId to -1
44//
45// Calls:
46// - Clear()
47//
48MCalibrationTestPix::MCalibrationTestPix(const char *name, const char *title)
49 : fPixId(-1)
50{
51
52 fName = name ? name : "MCalibrationTestPix";
53 fTitle = title ? title : "Container of the fit results of MHCalibrationTestPix ";
54
55 Clear();
56
57}
58
59// ------------------------------------------------------------------------
60//
61// Sets:
62// - all data members to -1
63// - all excluded to kFALSE
64//
65void MCalibrationTestPix::Clear(Option_t *o)
66{
67
68 fNumPhotons = -1.;
69 fNumPhotonsErr = -1.;
70 fNumPhotonsPerArea = -1.;
71 fNumPhotonsPerAreaErr = -1.;
72
73 SetExcluded ( kFALSE );
74}
75
Note: See TracBrowser for help on using the repository browser.