Changeset 9308 for trunk/MagicSoft/Mars/mhcalib
- Timestamp:
- 02/09/09 11:30:54 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHGausEvents.cc
r8907 r9308 90 90 91 91 #include "MFFT.h" 92 #include "MString.h" 92 93 #include "MArrayF.h" 93 94 … … 320 321 fPowerSpectrum = fourier.PowerSpectrumDensity(&fEvents); 321 322 fHPowerProbability = ProjectArray(*fPowerSpectrum, fPowerProbabilityBins, 322 Form("%s%s","PowerProb",GetName()),323 MString::Format("PowerProb%s", GetName()), 323 324 "Probability of Power occurrance"); 324 325 fHPowerProbability->SetXTitle("P(f)"); … … 332 333 const Double_t xmax = fHPowerProbability->GetXaxis()->GetXmax(); 333 334 334 fFExpFit = new TF1("FExpFit","exp([0]-[1]*x)",0.,xmax); 335 fFExpFit = new TF1("","exp([0]-[1]*x)",0.,xmax); 336 fFExpFit->SetName("FExpFit"); 337 gROOT->GetListOfFunctions()->Remove(fFExpFit); 338 335 339 336 340 const Double_t slope_guess = (TMath::Log(fHPowerProbability->GetEntries())+1.)/xmax;
Note:
See TracChangeset
for help on using the changeset viewer.