Changeset 4202 for trunk/MagicSoft/Mars/mtemp/mifae/library
- Timestamp:
- 05/26/04 19:02:26 (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
r4141 r4202 36 36 // MHillas 37 37 // [MSrcPosCam] 38 // [MIslands] 38 39 // 39 40 // Output containers … … 58 59 #include "MNewImagePar.h" 59 60 #include "MSrcPosCam.h" 60 61 #include "MIslands.h" 61 62 62 63 ClassImp(MHillasDisplay); … … 104 105 *fLog << warn << "MHillasDisplay::PreProcess Warning: MNewImagePar object not found" << endl; 105 106 106 // Look for the M Hillascontainer107 // Look for the MSrcPosCam container 107 108 if(!fSrcPos) 108 109 fSrcPos = (MSrcPosCam*)pList->FindObject(AddSerialNumber("MSrcPosCam"), "MSrcPosCam"); … … 110 111 *fLog << warn << "MHillasDisplay::PreProcess Warning: MSrcPosCam object not found" << endl; 111 112 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 112 119 return kTRUE; 113 120 } … … 119 126 { 120 127 // 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 } 126 137 127 138 // draw the event -
trunk/MagicSoft/Mars/mtemp/mifae/library/MHillasDisplay.h
r4141 r4202 10 10 class MGeomCam; 11 11 class MHillas; 12 class MIslands; 12 13 class MNewImagePar; 13 14 … … 17 18 MHillas* fHillas; // pointer to container with the hillas parameters 18 19 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 20 22 21 23 virtual Int_t PreProcess(MParList *plist); … … 28 30 virtual ~MHillasDisplay(){}; 29 31 30 void SetHillas(MHillas* hillas) {fHillas=hillas;}32 void SetHillas(MHillas* hillas) {fHillas=hillas;} 31 33 void SetSrcPos(MSrcPosCam* srcpos) {fSrcPos=srcpos;} 34 void SetIslands(MIslands* islands) {fIslands=islands;} 32 35 33 36 virtual void Paint(Option_t* option);
Note:
See TracChangeset
for help on using the changeset viewer.