Changeset 3142 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 02/13/04 16:52:50 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r3112 r3142 166 166 void MJCalibration::CamDraw(TCanvas &c, const Int_t x, const Int_t y, const MHCamera &cam1, const Int_t fit) 167 167 { 168 169 170 168 c.cd(x); 171 169 gPad->SetBorderMode(0); 172 170 MHCamera *obj1=(MHCamera*)cam1.DrawCopy("hist"); 173 obj1->AddNotify( fCalibrationCam);171 obj1->AddNotify(static_cast<TObject*>(&fCalibrationCam)); 174 172 175 173 c.cd(x+y); … … 177 175 obj1->Draw(); 178 176 179 if ( fit)180 {181 c.cd(x+2*y); 182 gPad->SetBorderMode(0);183 DrawProjection(obj1, fit);184 }177 if (!fit) 178 return; 179 180 c.cd(x+2*y); 181 gPad->SetBorderMode(0); 182 DrawProjection(obj1, fit); 185 183 } 186 184 -
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r3069 r3142 174 174 gPad->SetBorderMode(0); 175 175 MHCamera *obj1=(MHCamera*)cam1.DrawCopy("hist"); 176 obj1->AddNotify( fPedestalCam);176 obj1->AddNotify(static_cast<TObject*>(&fPedestalCam)); 177 177 178 178 c.cd(x+y);
Note:
See TracChangeset
for help on using the changeset viewer.