Changeset 3904 for trunk/MagicSoft/Mars/mcalib/MHCalibrationCam.cc
- Timestamp:
- 04/30/04 13:21:40 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHCalibrationCam.cc
r3903 r3904 498 498 fRunNumbers[fRunNumbers.GetSize()-1] = fRunHeader->GetRunNumber(); 499 499 500 return ReInitHists(pList); 501 } 500 if (!ReInitHists(pList)) 501 return kFALSE; 502 503 if (!fRunHeader) 504 return kTRUE; 505 506 for (Int_t i=0; i<fHiGainArray->GetEntries(); i++) 507 { 508 TH1F *h = (*this)[i].GetHGausHist(); 509 h->SetTitle( Form("%s%i%s", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1]," ")); 510 } 511 512 for (Int_t i=0; i<fLoGainArray->GetEntries(); i++) 513 { 514 TH1F *h = (*this)(i).GetHGausHist(); 515 h->SetTitle( Form("%s%i%s", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1]," ")); 516 } 517 518 for (Int_t j=0; j<nareas; j++) 519 { 520 TH1F *h = GetAverageHiGainArea(j).GetHGausHist(); 521 h->SetTitle( Form("%s%i%s", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1]," ")); 522 } 523 524 for (Int_t j=0; j<nareas; j++) 525 { 526 TH1F *h = GetAverageLoGainArea(j).GetHGausHist(); 527 h->SetTitle( Form("%s%i%s", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1]," ")); 528 } 529 530 for (Int_t j=0; j<nsectors; j++) 531 { 532 TH1F *h = GetAverageHiGainSector(j).GetHGausHist(); 533 h->SetTitle( Form("%s%i%s", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1]," ")); 534 } 535 536 for (Int_t j=0; j<nsectors; j++) 537 { 538 TH1F *h = GetAverageLoGainSector(j).GetHGausHist(); 539 h->SetTitle( Form("%s%i%s", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1]," ")); 540 } 541 542 return kTRUE; 543 } 544 502 545 503 546
Note:
See TracChangeset
for help on using the changeset viewer.