Changeset 6368 for trunk/MagicSoft/Mars/mtemp/mifae/macros/computeCoeff.C
- Timestamp:
- 02/10/05 19:54:14 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mifae/macros/computeCoeff.C
r6359 r6368 34 34 const Int_t esubbins = 20; // number of subbins per big bin 35 35 const Double_t emin=10; 36 const Double_t emax=1000 0;36 const Double_t emax=1000; 37 37 const Double_t logemin = TMath::Log10(emin); 38 38 const Double_t logemax = TMath::Log10(emax); … … 79 79 UInt_t coefbin = UInt_t((TMath::Log10(estim)-logemin)/de); 80 80 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); 83 83 84 84 if(effa) … … 89 89 TFile file("prueba.root","RECREATE"); 90 90 hspec->Write(); 91 91 calc.GetEffectiveAreaHisto()->Write(); 92 calc.GetCoefficientHisto()->Write(); 92 93 return; 93 94 }
Note:
See TracChangeset
for help on using the changeset viewer.