Changeset 4141 for trunk/MagicSoft/Mars/mtemp/mifae/library
- Timestamp:
- 05/24/04 13:46:40 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mtemp/mifae/library
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mifae/library/MHillasDisplay.cc
r4140 r4141 56 56 #include "MGeomCam.h" 57 57 #include "MHillas.h" 58 #include "MNewImagePar.h" 58 59 #include "MSrcPosCam.h" 59 60 … … 71 72 // 72 73 MHillasDisplay::MHillasDisplay(MCerPhotEvt* event, MGeomCam* geom, Int_t type, const char* name, const char* title) 73 : MDisplay(event,geom,type), fHillas(NULL), f SrcPos(NULL)74 : MDisplay(event,geom,type), fHillas(NULL), fNewImage(NULL), fSrcPos(NULL) 74 75 { 75 76 fName = name ? name : gsDefName.Data(); … … 97 98 } 98 99 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 99 106 // Look for the MHillas container 100 107 if(!fSrcPos) … … 114 121 if(fHillas && GetPauseMode()) 115 122 fHillas->Print(); 123 if(fNewImage && GetPauseMode()) 124 fNewImage->Print(); 125 116 126 117 127 // draw the event -
trunk/MagicSoft/Mars/mtemp/mifae/library/MHillasDisplay.h
r4117 r4141 10 10 class MGeomCam; 11 11 class MHillas; 12 class MNewImagePar; 12 13 13 14 class MHillasDisplay : public MDisplay 14 15 { 15 16 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 18 20 19 21 virtual Int_t PreProcess(MParList *plist);
Note:
See TracChangeset
for help on using the changeset viewer.