Ignore:
Timestamp:
05/24/04 13:46:40 (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

    r4140 r4141  
    5656#include "MGeomCam.h"
    5757#include "MHillas.h"
     58#include "MNewImagePar.h"
    5859#include "MSrcPosCam.h"
    5960
     
    7172//
    7273MHillasDisplay::MHillasDisplay(MCerPhotEvt* event, MGeomCam* geom, Int_t type, const char* name, const char* title)
    73   :  MDisplay(event,geom,type), fHillas(NULL), fSrcPos(NULL)
     74  :  MDisplay(event,geom,type), fHillas(NULL), fNewImage(NULL), fSrcPos(NULL)
    7475{
    7576  fName  = name  ? name  : gsDefName.Data();
     
    9798    }
    9899
     100  // Look for the MNewImagePar container 
     101  if(!fNewImage)
     102    fNewImage = (MNewImagePar*)pList->FindObject(AddSerialNumber("MNewImagePar"), "MNewImagePar");
     103  if(!fNewImage)
     104    *fLog << warn << "MHillasDisplay::PreProcess Warning: MNewImagePar object not found" << endl;
     105
    99106  // Look for the MHillas container 
    100107  if(!fSrcPos)
     
    114121  if(fHillas && GetPauseMode())
    115122    fHillas->Print();
     123  if(fNewImage && GetPauseMode())
     124    fNewImage->Print();
     125     
    116126   
    117127  // draw the event
  • trunk/MagicSoft/Mars/mtemp/mifae/library/MHillasDisplay.h

    r4117 r4141  
    1010class MGeomCam;
    1111class MHillas;
     12class MNewImagePar;
    1213
    1314class MHillasDisplay : public MDisplay
    1415{
    1516 private:
    16   MHillas* fHillas;    // pointer to container with the hillas parameters
    17   MSrcPosCam* fSrcPos; // pointer to the source position in camera
     17  MHillas*      fHillas;    // pointer to container with the hillas parameters
     18  MNewImagePar* fNewImage;  // pointer to container with the new image parameters
     19  MSrcPosCam*   fSrcPos;     // pointer to the source position in camera
    1820
    1921  virtual Int_t PreProcess(MParList *plist);
Note: See TracChangeset for help on using the changeset viewer.