Changeset 4277
- Timestamp:
- 06/04/04 11:50:59 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4276 r4277 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2004/06/04: Markus Gaug 22 23 * mcalib/MHGausEvents.cc 24 - some small modifications in the way the axes are drawn and their 25 titles are drawn. 20 26 21 27 2004/06/03: Martin Merck -
trunk/MagicSoft/Mars/manalysis/MHPedestalCam.cc
r3778 r4277 111 111 #include "MCalibrationPedCam.h" 112 112 113 #include "TH1.h" 114 113 115 ClassImp(MHPedestalCam); 114 116 … … 121 123 // - fExtractHiGainSlices to 0. 122 124 // - fExtractLoGainSlices to 0. 125 // - the event frequency to 1200 Hz. 123 126 // 124 127 MHPedestalCam::MHPedestalCam(const char *name, const char *title) … … 128 131 fTitle = title ? title : ""; 129 132 133 SetPulserFrequency(1200); 130 134 } 131 135 … … 267 271 "Average Pedestals area idx "); 268 272 269 InitPedHists((MHPedestalPix&)GetAverageHiGainArea(j),j,fExtractHiGainSlices);270 271 273 GetAverageHiGainArea(j).GetHGausHist()->SetTitle("Pedestals average Area Idx "); 272 274 GetAverageHiGainArea(j).SetNbins(fAverageNbins); 275 276 InitPedHists((MHPedestalPix&)GetAverageHiGainArea(j),j,fExtractHiGainSlices); 277 273 278 } 274 279 } … … 284 289 "Pedestals average Area idx "); 285 290 286 InitPedHists((MHPedestalPix&)GetAverageLoGainArea(j),j,fExtractLoGainSlices);287 288 291 GetAverageLoGainArea(j).GetHGausHist()->SetTitle("Pedestals average Area Idx "); 289 292 GetAverageLoGainArea(j).SetNbins(fAverageNbins); 293 294 InitPedHists((MHPedestalPix&)GetAverageLoGainArea(j),j,fExtractLoGainSlices); 295 290 296 } 291 297 } … … 301 307 "Pedestals average sector "); 302 308 303 InitPedHists((MHPedestalPix&)GetAverageHiGainSector(j),j,fExtractHiGainSlices);304 305 309 GetAverageHiGainSector(j).GetHGausHist()->SetTitle("Pedestals average Sector "); 306 310 GetAverageHiGainSector(j).SetNbins(fAverageNbins); 311 312 InitPedHists((MHPedestalPix&)GetAverageHiGainSector(j),j,fExtractHiGainSlices); 313 307 314 } 308 315 } … … 318 325 "Pedestals average sector "); 319 326 327 GetAverageLoGainSector(j).GetHGausHist()->SetTitle("Pedestals average Sector "); 328 GetAverageLoGainSector(j).SetNbins(fAverageNbins); 329 320 330 InitPedHists((MHPedestalPix&)GetAverageLoGainSector(j),j,fExtractLoGainSlices); 321 331 322 GetAverageLoGainSector(j).GetHGausHist()->SetTitle("Pedestals average Sector ");323 GetAverageLoGainSector(j).SetNbins(fAverageNbins);324 332 } 325 333 } … … 347 355 hist.SetNSlices(nslices); 348 356 hist.SetProbLimit(0.); 349 } 350 351 352 357 358 TH1F *h = hist.GetHGausHist(); 359 h->SetTitle( Form("%s%s", h->GetTitle()," Runs: ")); 360 } 353 361 // ------------------------------------------------------------------------------- 354 362 // -
trunk/MagicSoft/Mars/manalysis/MHPedestalPix.cc
r3770 r4277 71 71 // Initializes: 72 72 // - fNSlices to 1 73 // - fProbLimit to 0.01 73 74 // 74 75 MHPedestalPix::MHPedestalPix(const char *name, const char *title) … … 82 83 SetFirst( fgChargeFirst ); 83 84 SetLast( fgChargeLast ); 85 86 SetProbLimit(0.01); 84 87 85 88 // Create a large number of bins, later we will rebin … … 111 114 if (fNSlices <= 0) 112 115 return; 113 116 114 117 const Float_t sqslices = TMath::Sqrt(fNSlices); 115 118 -
trunk/MagicSoft/Mars/mcalib/MHGausEvents.cc
r4247 r4277 157 157 fHGausHist.UseCurrentStyle(); 158 158 fHGausHist.SetDirectory(NULL); 159 fHGausHist.GetYaxis()->CenterTitle(); 159 160 } 160 161 … … 388 389 "Probability of Power occurrance"); 389 390 fHPowerProbability->SetXTitle("P(f)"); 391 fHPowerProbability->SetYTitle("Counts"); 392 fHPowerProbability->GetYaxis()->CenterTitle(); 390 393 fHPowerProbability->SetDirectory(NULL); 391 394 // … … 433 436 fGraphEvents->SetTitle("Evolution of Events with time"); 434 437 fGraphEvents->GetXaxis()->SetTitle((fEventFrequency) ? "Time [s]" : "Event Nr."); 438 fGraphEvents->GetYaxis()->SetTitle(fHGausHist.GetXaxis()->GetTitle()); 439 fGraphEvents->GetYaxis()->CenterTitle(); 435 440 } 436 441 … … 451 456 fGraphPowerSpectrum->GetXaxis()->SetTitle((fEventFrequency) ? "Frequency [Hz]" : "Frequency"); 452 457 fGraphPowerSpectrum->GetYaxis()->SetTitle("P(f)"); 458 fGraphPowerSpectrum->GetYaxis()->CenterTitle(); 459 453 460 } 454 461
Note:
See TracChangeset
for help on using the changeset viewer.