Ignore:
Timestamp:
08/06/04 16:26:35 (20 years ago)
Author:
rico
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mtemp/mifae
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/mifae/Changelog

    r4442 r4528  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2004/08/04 Javier Rico
     22    * library/MIslands.[cc]
     23     - Correct tiny compilation error
     24   
     25    * library/MDisplay.cc, library/MHillasDisplay.[h,cc]
     26     - Print hillas source position dependent stuff
    2027
    2128 2004/08/03 Ester Aliu Fusté
  • trunk/MagicSoft/Mars/mtemp/mifae/library/MDisplay.cc

    r4139 r4528  
    123123
    124124  // update the display contents
    125   fDisplay->SetCamContent(*fCamEvent);
     125  fDisplay->SetCamContent(*fCamEvent,fDisplayType);
    126126  fCanvas->GetPad(1)->Modified();
    127127  fCanvas->GetPad(1)->Update();
  • trunk/MagicSoft/Mars/mtemp/mifae/library/MHillasDisplay.cc

    r4222 r4528  
    5757#include "MGeomCam.h"
    5858#include "MHillas.h"
     59#include "MHillasSrc.h"
    5960#include "MNewImagePar.h"
    6061#include "MSrcPosCam.h"
     
    7374//
    7475MHillasDisplay::MHillasDisplay(MCerPhotEvt* event, MGeomCam* geom, Int_t type, const char* name, const char* title)
    75   :  MDisplay(event,geom,type), fHillas(NULL), fNewImage(NULL), fSrcPos(NULL), fIslands(NULL)
     76  :  MDisplay(event,geom,type), fHillas(NULL), fHillasSrc(NULL), fNewImage(NULL), fSrcPos(NULL), fIslands(NULL)
    7677{
    7778  fName  = name  ? name  : gsDefName.Data();
     
    99100    }
    100101
     102  // Look for src dependent hillas parameters container
     103  if(!fHillasSrc)
     104    fHillasSrc = (MHillasSrc*)pList->FindObject(AddSerialNumber("MHillasSrc"), "MHillasSrc");
     105
     106
    101107  // Look for the MNewImagePar container 
    102108  if(!fNewImage)
     
    133139      if(fHillas)
    134140        fHillas->Print();
     141      if(fHillasSrc)
     142        fHillasSrc->Print();
    135143      if(fNewImage)
    136144        fNewImage->Print();
  • trunk/MagicSoft/Mars/mtemp/mifae/library/MHillasDisplay.h

    r4218 r4528  
    1010class MGeomCam;
    1111class MHillas;
     12class MHillasSrc;
    1213class MIslands;
    1314class MNewImagePar;
     
    1718 private:
    1819  MHillas*      fHillas;    // pointer to container with the hillas parameters
     20  MHillasSrc*   fHillasSrc; // pointer to container with source dependent hillas parameters
    1921  MNewImagePar* fNewImage;  // pointer to container with the new image parameters
    2022  MSrcPosCam*   fSrcPos;    // pointer to the source position in camera
  • trunk/MagicSoft/Mars/mtemp/mifae/library/MIslands.cc

    r4442 r4528  
    5959// Print the island parameters to *fLog
    6060//
    61 void MIslands::Print(Option_t *opt=NULL) const
     61void MIslands::Print(Option_t *opt) const
    6262{
    6363    *fLog << all;
Note: See TracChangeset for help on using the changeset viewer.