Ignore:
Timestamp:
02/10/05 19:54:14 (20 years ago)
Author:
rico
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/mifae/macros/computeCoeff.C

    r6359 r6368  
    3434  const Int_t esubbins = 20;           // number of subbins per big bin
    3535  const Double_t emin=10;
    36   const Double_t emax=10000;
     36  const Double_t emax=1000;
    3737  const Double_t logemin = TMath::Log10(emin);
    3838  const Double_t logemax = TMath::Log10(emax);
     
    7979      UInt_t coefbin = UInt_t((TMath::Log10(estim)-logemin)/de);
    8080     
    81       Float_t effa  =  calc.GetEffectiveArea(effabin);
    82       Float_t unfold = calc.GetCoefficient(coefbin);
     81      Float_t effa  =  calc.GetEffectiveAreaHisto()->GetBinContent(effabin+1,1);
     82      Float_t unfold = calc.GetCoefficientHisto()->GetBinContent(coefbin+1,1);
    8383     
    8484      if(effa)
     
    8989  TFile file("prueba.root","RECREATE");
    9090  hspec->Write();
    91 
     91  calc.GetEffectiveAreaHisto()->Write();
     92  calc.GetCoefficientHisto()->Write();
    9293  return;
    9394}
Note: See TracChangeset for help on using the changeset viewer.