Changeset 4141


Ignore:
Timestamp:
05/24/04 13:46:40 (21 years ago)
Author:
rico
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mtemp/mifae
Files:
4 edited

Legend:

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

    r4140 r4141  
    2020
    2121 2004/05/24 Javier Rico
    22    * library/MDisplay.[h,cc], library/MHillasDisplay.[h,cc]
    23      programs/makeHillas.cc, programs/makehillas.datacard
     22   * library/MDisplay.[h,cc], programs/makeHillas.cc,
     23     programs/makehillas.datacard
    2424     - Add possibility to save a ps file
    2525     - Update documentation
    2626       
    27    * library/MHillasDisplay     
     27   * library/MHillasDisplay[h.cc]
    2828     - correct minor axis paint
     29     - include MNewImagePar dumping
     30     - update documentation
    2931       
    3032 2004/05/21 Oscar Blanch
  • 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);
  • trunk/MagicSoft/Mars/mtemp/mifae/programs/makeHillas.cc

    r4139 r4141  
    3131#include "MPedPhotCalc.h"
    3232#include "MHillas.h"
     33#include "MNewImagePar.h"
    3334#include "MRawRunHeader.h"
    3435#include "MSrcPosCam.h"
     
    227228  // containers
    228229  MHillas       hillas;
     230  MNewImagePar  newimagepar;
    229231  MSrcPosCam    source;
    230232  MRawRunHeader runhead;
     
    259261  plist4.AddToList(&source);
    260262  plist4.AddToList(&hillas);
     263  plist4.AddToList(&newimagepar);
    261264  plist4.AddToList(&runhead);
    262265
Note: See TracChangeset for help on using the changeset viewer.