Changeset 6828 for trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.cc
- Timestamp:
- 03/16/05 13:27:32 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.cc
r6772 r6828 402 402 MHCalibrationPix &pix = (*this)[i]; 403 403 h = pix.GetHGausHist(); 404 h->SetName (Form("%s%s%s% 4i","H",fHistName.Data(),"HiGainPix",i));405 h->SetTitle(Form("%s%s% 4i%s",fHistTitle.Data()," High Gain Pixel ",i," Runs: "));404 h->SetName (Form("%s%s%s%04d","H",fHistName.Data(),"HiGainPix",i)); 405 h->SetTitle(Form("%s%s%04d%s",fHistTitle.Data()," High Gain Pixel ",i," Runs: ")); 406 406 h->SetXTitle(fHistXTitle.Data()); 407 407 h->SetYTitle(fHistYTitle.Data()); … … 431 431 MHCalibrationPix &pix = GetAverageHiGainSector(j); 432 432 h = pix.GetHGausHist(); 433 h->SetName (Form("%s%s%s% 2i","H",fHistName.Data(),"HiGainSector",j));434 h->SetTitle(Form("%s%s% 2i%s",fHistTitle.Data(),433 h->SetName (Form("%s%s%s%02d","H",fHistName.Data(),"HiGainSector",j)); 434 h->SetTitle(Form("%s%s%02d%s",fHistTitle.Data(), 435 435 " averaged on event-by-event basis High Gain Sector ",j," Runs: ")); 436 436 h->SetXTitle(fHistXTitle.Data()); … … 447 447 MHCalibrationPix &pix = (*this)(i); 448 448 h = pix.GetHGausHist(); 449 h->SetName (Form("%s%s%s% 4i","H",fHistName.Data(),"LoGainPix",i));450 h->SetTitle(Form("%s%s% 4i%s",fHistTitle.Data()," Low Gain Pixel ",i," Runs: "));449 h->SetName (Form("%s%s%s%04d","H",fHistName.Data(),"LoGainPix",i)); 450 h->SetTitle(Form("%s%s%04d%s",fHistTitle.Data()," Low Gain Pixel ",i," Runs: ")); 451 451 h->SetXTitle(fHistXTitle.Data()); 452 452 h->SetYTitle(fHistYTitle.Data()); … … 476 476 MHCalibrationPix &pix = GetAverageLoGainSector(j); 477 477 h = pix.GetHGausHist(); 478 h->SetName (Form("%s%s%s% 2i","H",fHistName.Data(),"LoGainSector",j));479 h->SetTitle(Form("%s%s% 2i%s",fHistTitle.Data(),478 h->SetName (Form("%s%s%s%02d","H",fHistName.Data(),"LoGainSector",j)); 479 h->SetTitle(Form("%s%s%02d%s",fHistTitle.Data(), 480 480 " averaged on event-by-event basis Low Gain Sector ",j," Runs: ")); 481 481 h->SetXTitle(fHistXTitle.Data()); … … 633 633 { 634 634 TH1F *h = (*this)[i].GetHGausHist(); 635 h->SetTitle( Form("%s% i%s", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1]," "));635 h->SetTitle( Form("%s%08d ", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1])); 636 636 } 637 637 … … 640 640 { 641 641 TH1F *h = (*this)(i).GetHGausHist(); 642 h->SetTitle( Form("%s% i%s", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1]," "));642 h->SetTitle( Form("%s%08d ", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1])); 643 643 } 644 644 … … 649 649 { 650 650 TH1F *h = GetAverageHiGainArea(j).GetHGausHist(); 651 h->SetTitle( Form("%s% i%s", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1]," "));651 h->SetTitle( Form("%s%08d ", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1])); 652 652 } 653 653 … … 656 656 { 657 657 TH1F *h = GetAverageLoGainArea(j).GetHGausHist(); 658 h->SetTitle( Form("%s% i%s", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1]," "));658 h->SetTitle( Form("%s%08d ", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1])); 659 659 } 660 660 … … 662 662 { 663 663 TH1F *h = GetAverageHiGainSector(j).GetHGausHist(); 664 h->SetTitle( Form("%s% i%s", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1]," "));664 h->SetTitle( Form("%s%08d ", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1])); 665 665 } 666 666 … … 669 669 { 670 670 TH1F *h = GetAverageLoGainSector(j).GetHGausHist(); 671 h->SetTitle( Form("%s% i%s", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1]," "));671 h->SetTitle( Form("%s%08d ", h->GetTitle(),fRunNumbers[fRunNumbers.GetSize()-1])); 672 672 } 673 673
Note:
See TracChangeset
for help on using the changeset viewer.