source: trunk/MagicSoft/Mars/mtemp/mifae/library/MIslands.cc@ 4226

Last change on this file since 4226 was 4218, checked in by aliu, 20 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#include <fstream>
2
3#include "MIslands.h"
4
5#include "MCerPhotPix.h"
6#include "MCerPhotEvt.h"
7
8#include "MLog.h"
9#include "MLogManip.h"
10
11ClassImp(MIslands);
12
13using namespace std;
14
15// --------------------------------------------------------------------------
16//
17// Default constructor.
18//
19MIslands::MIslands(const char *name, const char *title)
20{
21 fName = name ? name : "MIslands";
22 fTitle = title ? title : "Storage container for the island information of one event";
23
24}
25
26// --------------------------------------------------------------------------
27//
28// Destructor.
29//
30MIslands::~MIslands()
31{
32}
33
34// --------------------------------------------------------------------------
35//
36// Print the island parameters to *fLog
37//
38void MIslands::Print(Option_t *) const
39{
40 *fLog << all;
41 *fLog << "Island Parameters (" << GetName() << ")" << endl;
42 *fLog << " - Island Number = " << fIslNum << endl;
43 for (Int_t i = 0; i< fIslNum ; i++)
44 {
45 *fLog << " Island Id " << i << endl;
46 *fLog << " + Pixel Number = " << fPixNum[i] << endl;
47 *fLog << " + SigToNoise = " << fSigToNoise[i] << endl;
48 }
49}
50
51
Note: See TracBrowser for help on using the repository browser.