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 |
|
---|
11 | ClassImp(MIslands);
|
---|
12 |
|
---|
13 | using namespace std;
|
---|
14 |
|
---|
15 | // --------------------------------------------------------------------------
|
---|
16 | //
|
---|
17 | // Default constructor.
|
---|
18 | //
|
---|
19 | MIslands::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 | //
|
---|
30 | MIslands::~MIslands()
|
---|
31 | {
|
---|
32 | }
|
---|
33 |
|
---|
34 | // --------------------------------------------------------------------------
|
---|
35 | //
|
---|
36 | // Print the island parameters to *fLog
|
---|
37 | //
|
---|
38 | void 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.