Ignore:
Timestamp:
03/16/05 13:27:32 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.cc

    r6772 r6828  
    402402        MHCalibrationPix &pix = (*this)[i];       
    403403        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: ")); 
    406406        h->SetXTitle(fHistXTitle.Data());
    407407        h->SetYTitle(fHistYTitle.Data());
     
    431431            MHCalibrationPix &pix = GetAverageHiGainSector(j);       
    432432            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(),
    435435                             " averaged on event-by-event basis High Gain Sector ",j," Runs: "));
    436436            h->SetXTitle(fHistXTitle.Data());
     
    447447        MHCalibrationPix &pix = (*this)(i);       
    448448        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: ")); 
    451451        h->SetXTitle(fHistXTitle.Data());
    452452        h->SetYTitle(fHistYTitle.Data());
     
    476476            MHCalibrationPix &pix = GetAverageLoGainSector(j);       
    477477            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(),
    480480                             " averaged on event-by-event basis Low Gain Sector ",j," Runs: "));
    481481            h->SetXTitle(fHistXTitle.Data());
     
    633633    {
    634634      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]));
    636636    }
    637637
     
    640640      {
    641641        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]));
    643643      }
    644644 
     
    649649    {
    650650      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]));
    652652    }
    653653 
     
    656656      {
    657657        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]));
    659659      }
    660660 
     
    662662    {
    663663      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]));
    665665    }
    666666 
     
    669669      {
    670670        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]));
    672672      }
    673673 
Note: See TracChangeset for help on using the changeset viewer.