source: trunk/MagicSoft/Mars/mtemp/mifae/library/MImageParDisp.cc@ 5879

Last change on this file since 5879 was 5669, checked in by domingo, 20 years ago
*** empty log message ***
File size: 2.1 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): Eva Domingo , 12/2004 <mailto:domingo@ifae.es>
19! Wolfgang Wittek, 12/2004 <mailto:wittek@mppmu.mpg.de>
20!
21! Copyright: MAGIC Software Development, 2000-2005
22!
23!
24\* ======================================================================== */
25
26/////////////////////////////////////////////////////////////////////////////
27//
28// MImageParDisp
29//
30// Storage Container for estimated distance to source position (Disp)
31//
32/////////////////////////////////////////////////////////////////////////////
33#include "MImageParDisp.h"
34
35#include "MLog.h"
36#include "MLogManip.h"
37
38
39ClassImp(MImageParDisp);
40
41using namespace std;
42
43// --------------------------------------------------------------------------
44//
45// Default constructor.
46//
47MImageParDisp::MImageParDisp(const char *name, const char *title)
48{
49 fName = name ? name : "MImageParDisp";
50 fTitle = title ? title : "Estimated distance to source position (Disp)";
51
52 Reset();
53}
54
55// --------------------------------------------------------------------------
56//
57void MImageParDisp::Reset()
58{
59 fDisp = -1;
60}
61
62// --------------------------------------------------------------------------
63//
64void MImageParDisp::Print(Option_t *) const
65{
66 *fLog << all;
67 *fLog << "Estimated distance to source position (" << GetName() << ")" << endl;
68 *fLog << " - Disp [deg] = " << fDisp << endl;
69}
Note: See TracBrowser for help on using the repository browser.