|
Last change
on this file since 706 was 698, checked in by tbretz, 25 years ago |
|
*** empty log message ***
|
-
Property svn:executable
set to
*
|
|
File size:
745 bytes
|
| Line | |
|---|
| 1 | #include "MFillHHillas.h"
|
|---|
| 2 |
|
|---|
| 3 | #include "MLog.h"
|
|---|
| 4 | #include "MLogManip.h"
|
|---|
| 5 | #include "MHHillas.h"
|
|---|
| 6 | #include "MParList.h"
|
|---|
| 7 |
|
|---|
| 8 | ClassImp(MFillHHillas)
|
|---|
| 9 |
|
|---|
| 10 | MFillHHillas::MFillHHillas (const char *name, const char *title)
|
|---|
| 11 | {
|
|---|
| 12 | *fName = name ? name : "MFillHHillas";
|
|---|
| 13 | *fTitle = title ? title : "Task to fill Hillas histograms";
|
|---|
| 14 | }
|
|---|
| 15 |
|
|---|
| 16 | Bool_t MFillHHillas::PreProcess (MParList *pList)
|
|---|
| 17 | {
|
|---|
| 18 | fEvt = (MHillas*)pList->FindObject("MHillas");
|
|---|
| 19 | if (!fEvt)
|
|---|
| 20 | {
|
|---|
| 21 | *fLog << dbginf << "MHillas not found... aborting." << endl;
|
|---|
| 22 | return kFALSE ;
|
|---|
| 23 | }
|
|---|
| 24 |
|
|---|
| 25 | fHistos = (MHHillas*)pList->FindCreateObj("MHHillas");
|
|---|
| 26 | if (!fHistos)
|
|---|
| 27 | return kFALSE;
|
|---|
| 28 |
|
|---|
| 29 | return kTRUE ;
|
|---|
| 30 | }
|
|---|
| 31 |
|
|---|
| 32 | Bool_t MFillHHillas::Process()
|
|---|
| 33 | {
|
|---|
| 34 | fHistos->Fill(fEvt);
|
|---|
| 35 |
|
|---|
| 36 | return kTRUE;
|
|---|
| 37 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.