Changeset 6032
- Timestamp:
- 01/27/05 09:52:24 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6028 r6032 20 20 21 21 -*-*- END OF LINE -*-*- 22 2005/01/27 Thomas Bretz 23 24 * callisto.cc: 25 - don't display starting pedestals when calibrating the signal 26 27 * callisto.rc: 28 - added some comments 29 30 * star.rc: 31 - according to Daniel M. we have agreed to chenge the default 32 cleaning level to adapt it roughly to the new pedestal 33 34 * manalysis/MCerPhotPix.[h,cc], mpedestal/MPedPhotPix.h: 35 - as agreed in the current calibration meeting we truncate the 36 precision of the stored floating point values to roughly 0.5% 37 to gain storage space in the calibrated data (the gzip 38 algorithm compresses this stuff nicely - we gain roughly 15%) 39 40 * mhflux/MHFalseSource.cc, mjobs/MJCalibration.cc, mjobs/MJStar.cc: 41 - added a comment 42 43 * mjobs/MJCalibrateSignal.cc: 44 - changed title of unsuitable plot 45 - removed plot for calibrated fundamental pedestal as agreed in the 46 current calibration meeting (we may change this to an option) 47 48 * mjobs/MJPedestal.[h,cc]: 49 - changed the name of the "PedDiff" plot to be consistent with the 50 other tab-name 51 - changed the options for the display 52 - removed the dependancy of fDisplayType and the SetDataCheck 53 option 54 - added option kDisplayNone 55 - renamed enums from k*Display to kDisplay* 56 57 * mhist/MHCamEvent.cc: 58 - trying to get rid of the Err_%p workaround. 59 60 61 22 62 2005/01/26 Abelardo Moralejo 23 63 … … 40 80 - added missing container MImagePar. Added possibility to set the 41 81 source position on the camera (for the wobble mode). 82 42 83 43 84 -
trunk/MagicSoft/Mars/mhist/MHCamEvent.cc
r5701 r6032 236 236 237 237 pad->cd(2); 238 if (gPad->FindObject(Form(" Proj_%p", this)))239 { 240 TH1 *h=fSum->Projection(Form(" Proj_%p", this));238 if (gPad->FindObject(Form("%s;proj", fName.Data()))) 239 { 240 TH1 *h=fSum->Projection(Form("%s;proj", fName.Data())); 241 241 if (h->GetMaximum()>0) 242 242 gPad->SetLogy(); … … 244 244 245 245 pad->cd(5); 246 if (gPad->FindObject(Form(" ProfR_%p", this)))247 fSum->RadialProfile(Form(" ProfR_%p", this));246 if (gPad->FindObject(Form("%s;rad", fName.Data()))) 247 fSum->RadialProfile(Form("%s;rad", fName.Data())); 248 248 249 249 pad->cd(6); 250 if (gPad->FindObject(Form(" ProfA_%p", this)))251 fSum->AzimuthProfile(Form(" ProfA_%p", this));250 if (gPad->FindObject(Form("%s;az", fName.Data()))) 251 fSum->AzimuthProfile(Form("%s;az", fName.Data())); 252 252 253 253 pad->cd(4); 254 254 gPad->cd(1); 255 MHCamera *cam = (MHCamera*)gPad->FindObject(Form(" Err_%p", this));255 MHCamera *cam = (MHCamera*)gPad->FindObject(Form("%s;err", fName.Data())); 256 256 if (cam) 257 257 cam->SetCamContent(*fSum, 1); … … 285 285 gPad->SetBorderMode(0); 286 286 gPad->SetPad(0.66, 0.5, 0.99, 0.99); 287 TH1 *h = fSum->Projection(Form(" Proj_%p", this), 50);287 TH1 *h = fSum->Projection(Form("%s;proj", fName.Data()), 50); 288 288 h->SetTitle("Projection"); 289 289 h->SetBit(kCanDelete); … … 300 300 301 301 MHCamera *cam = new MHCamera(*fSum->GetGeometry()); 302 cam->SetName(Form(" Err_%p", this));302 cam->SetName(Form("%s;err", fName.Data())); 303 303 cam->SetTitle(fSum->TestBit(MHCamera::kVariance)?"Variance":"Root Mean Squared (rms)"); 304 304 cam->SetYTitle(fSum->GetYaxis()->GetTitle()); … … 308 308 309 309 pad->cd(5); 310 h = (TH1*)fSum->RadialProfile(Form(" ProfR_%p", this), 20);310 h = (TH1*)fSum->RadialProfile(Form("%s;rad", fName.Data()), 20); 311 311 h->SetTitle("Radial Profile"); 312 312 h->SetBit(kCanDelete|TH1::kNoStats); … … 314 314 315 315 pad->cd(6); 316 h = (TH1*)fSum->AzimuthProfile(Form(" ProfA_%p", this), 30);316 h = (TH1*)fSum->AzimuthProfile(Form("%s;az", fName.Data()), 30); 317 317 h->SetTitle("Azimuth Profile"); 318 318 h->SetBit(kCanDelete|TH1::kNoStats);
Note:
See TracChangeset
for help on using the changeset viewer.