Ignore:
Timestamp:
05/26/04 19:02:26 (21 years ago)
Author:
rico
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mtemp/mifae/library
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/mifae/library/MHillasDisplay.cc

    r4141 r4202  
    3636//  MHillas
    3737//  [MSrcPosCam]
     38//  [MIslands]
    3839//
    3940// Output containers
     
    5859#include "MNewImagePar.h"
    5960#include "MSrcPosCam.h"
    60 
     61#include "MIslands.h"
    6162
    6263ClassImp(MHillasDisplay);
     
    104105    *fLog << warn << "MHillasDisplay::PreProcess Warning: MNewImagePar object not found" << endl;
    105106
    106   // Look for the MHillas container 
     107  // Look for the MSrcPosCam container 
    107108  if(!fSrcPos)
    108109    fSrcPos = (MSrcPosCam*)pList->FindObject(AddSerialNumber("MSrcPosCam"), "MSrcPosCam");
     
    110111    *fLog << warn << "MHillasDisplay::PreProcess Warning: MSrcPosCam object not found" << endl;
    111112
     113  // Look for the MIslands container 
     114  if(!fIslands)
     115    fIslands = (MIslands*)pList->FindObject(AddSerialNumber("MIslands"), "MIslands");
     116  if(!fIslands)
     117    *fLog << warn << "MHillasDisplay::PreProcess Warning: MIslands object not found" << endl;
     118
    112119  return kTRUE;
    113120}
     
    119126{
    120127   // draw the hillas parameters
    121   if(fHillas && GetPauseMode())
    122     fHillas->Print();
    123   if(fNewImage && GetPauseMode())
    124     fNewImage->Print();
    125      
     128  if(GetPauseMode())
     129    {
     130      if(fHillas)
     131        fHillas->Print();
     132      if(fNewImage)
     133        fNewImage->Print();
     134      if(fIslands)
     135        fIslands->Print();
     136    }     
    126137   
    127138  // draw the event
  • trunk/MagicSoft/Mars/mtemp/mifae/library/MHillasDisplay.h

    r4141 r4202  
    1010class MGeomCam;
    1111class MHillas;
     12class MIslands;
    1213class MNewImagePar;
    1314
     
    1718  MHillas*      fHillas;    // pointer to container with the hillas parameters
    1819  MNewImagePar* fNewImage;  // pointer to container with the new image parameters
    19   MSrcPosCam*   fSrcPos;     // pointer to the source position in camera
     20  MSrcPosCam*   fSrcPos;    // pointer to the source position in camera
     21  MIslands*     fIslands;   // pointer to the islands
    2022
    2123  virtual Int_t PreProcess(MParList *plist);
     
    2830  virtual ~MHillasDisplay(){};
    2931
    30   void SetHillas(MHillas* hillas) {fHillas=hillas;}
     32  void SetHillas(MHillas* hillas)    {fHillas=hillas;}
    3133  void SetSrcPos(MSrcPosCam* srcpos) {fSrcPos=srcpos;}
     34  void SetIslands(MIslands* islands) {fIslands=islands;}
    3235
    3336  virtual void Paint(Option_t* option);
Note: See TracChangeset for help on using the changeset viewer.