source: trunk/MagicSoft/Mars/mhist/MH.cc@ 967

Last change on this file since 967 was 888, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 2.4 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): Thomas Bretz 07/2001 (tbretz@uni-sw.gwdg.de)
19!
20! Copyright: MAGIC Software Development, 2000-2001
21!
22!
23\* ======================================================================== */
24
25//////////////////////////////////////////////////////////////////////////////
26// //
27// MH //
28// //
29// This is a base tasks for mars histograms. It defines a common interface //
30// for filling the histograms with data (MH::Fill) which is used by a //
31// common 'filler' (s. MFillH) //
32// //
33// If you want to create your own histogram class the new class must be //
34// derived from MH (instead of the base MParContainer) and you must //
35// the fill function of MH. This is the function which is called to fill //
36// the histogram(s) by the data of a corresponding parameter container. //
37// //
38//////////////////////////////////////////////////////////////////////////////
39
40#include "MH.h"
41
42ClassImp(MH);
43
44// --------------------------------------------------------------------------
45//
46// Default Constructor. It sets name and title only. Typically you won't
47// need to change this.
48//
49MH::MH(const char *name, const char *title)
50{
51 //
52 // set the name and title of this object
53 //
54 *fName = name ? name : "MH" ;
55 *fTitle = title ? title : "Base class for Mars histograms" ;
56}
57
Note: See TracBrowser for help on using the repository browser.