diff --git a/src/classes/PRunAsymmetry.cpp b/src/classes/PRunAsymmetry.cpp index 2dfad30a..c72133d4 100644 --- a/src/classes/PRunAsymmetry.cpp +++ b/src/classes/PRunAsymmetry.cpp @@ -1309,7 +1309,7 @@ Bool_t PRunAsymmetry::PrepareViewData(PRawRunData* runData, UInt_t histoNo[2]) Int_t factor = 8; // 8 times more points for the theory (if fTheoAsData == false) fData.SetTheoryTimeStart(fData.GetDataTimeStart()); - if (fTheoAsData) { // cacluate theory only at the data points + if (fTheoAsData) { // calculate theory only at the data points fData.SetTheoryTimeStep(fData.GetDataTimeStep()); } else { // finer binning for the theory (8 times as many points = factor) diff --git a/src/classes/PRunAsymmetryBNMR.cpp b/src/classes/PRunAsymmetryBNMR.cpp index 7946717e..25c16101 100644 --- a/src/classes/PRunAsymmetryBNMR.cpp +++ b/src/classes/PRunAsymmetryBNMR.cpp @@ -1485,7 +1485,7 @@ Bool_t PRunAsymmetryBNMR::PrepareViewData(PRawRunData* runData, UInt_t histoNo[2 Int_t factor = 8; // 8 times more points for the theory (if fTheoAsData == false) fData.SetTheoryTimeStart(fData.GetDataTimeStart()); - if (fTheoAsData) { // cacluate theory only at the data points + if (fTheoAsData) { // calculate theory only at the data points fData.SetTheoryTimeStep(fData.GetDataTimeStep()); } else { // finer binning for the theory (8 times as many points = factor) diff --git a/src/classes/PRunAsymmetryRRF.cpp b/src/classes/PRunAsymmetryRRF.cpp index 1d83808c..1fb478be 100644 --- a/src/classes/PRunAsymmetryRRF.cpp +++ b/src/classes/PRunAsymmetryRRF.cpp @@ -1224,7 +1224,7 @@ Bool_t PRunAsymmetryRRF::PrepareViewData(PRawRunData* runData, UInt_t histoNo[2] UInt_t size = runData->GetDataBin(histoNo[0])->size(); Int_t factor = 8; // 8 times more points for the theory (if fTheoAsData == false) fData.SetTheoryTimeStart(fData.GetDataTimeStart()); - if (fTheoAsData) { // cacluate theory only at the data points + if (fTheoAsData) { // calculate theory only at the data points fData.SetTheoryTimeStep(fData.GetDataTimeStep()); } else { // finer binning for the theory (8 times as many points = factor) diff --git a/src/classes/PRunMuMinus.cpp b/src/classes/PRunMuMinus.cpp index 420143f3..07d00cf6 100644 --- a/src/classes/PRunMuMinus.cpp +++ b/src/classes/PRunMuMinus.cpp @@ -757,7 +757,7 @@ Bool_t PRunMuMinus::PrepareRawViewData(PRawRunData* runData, const UInt_t histoN Int_t factor = 8; // 8 times more points for the theory (if fTheoAsData == false) fData.SetTheoryTimeStart(fData.GetDataTimeStart()); - if (fTheoAsData) { // cacluate theory only at the data points + if (fTheoAsData) { // calculate theory only at the data points fData.SetTheoryTimeStep(fData.GetDataTimeStep()); } else { // finer binning for the theory (8 times as many points = factor) diff --git a/src/classes/PRunSingleHisto.cpp b/src/classes/PRunSingleHisto.cpp index 15ff4f1e..f0c4c6a8 100644 --- a/src/classes/PRunSingleHisto.cpp +++ b/src/classes/PRunSingleHisto.cpp @@ -1073,7 +1073,7 @@ Bool_t PRunSingleHisto::PrepareRawViewData(PRawRunData* runData, const UInt_t hi UInt_t size = fForward.size(); Int_t factor = 8; // 8 times more points for the theory (if fTheoAsData == false) fData.SetTheoryTimeStart(fData.GetDataTimeStart()); - if (fTheoAsData) { // cacluate theory only at the data points + if (fTheoAsData) { // calculate theory only at the data points fData.SetTheoryTimeStep(fData.GetDataTimeStep()); } else { // finer binning for the theory (8 times as many points = factor) @@ -1321,7 +1321,7 @@ Bool_t PRunSingleHisto::PrepareViewData(PRawRunData* runData, const UInt_t histo if (wRRF == 0) { // no RRF fData.SetTheoryTimeStart(fData.GetDataTimeStart()); - if (fTheoAsData) { // cacluate theory only at the data points + if (fTheoAsData) { // calculate theory only at the data points fData.SetTheoryTimeStep(fData.GetDataTimeStep()); } else { // finer binning for the theory (8 times as many points = factor) diff --git a/src/classes/PRunSingleHistoRRF.cpp b/src/classes/PRunSingleHistoRRF.cpp index 217d8883..00904b82 100644 --- a/src/classes/PRunSingleHistoRRF.cpp +++ b/src/classes/PRunSingleHistoRRF.cpp @@ -762,7 +762,7 @@ Bool_t PRunSingleHistoRRF::PrepareViewData(PRawRunData* runData, const UInt_t hi UInt_t size = fForward.size(); Int_t factor = 8; // 8 times more points for the theory (if fTheoAsData == false) fData.SetTheoryTimeStart(fData.GetDataTimeStart()); - if (fTheoAsData) { // cacluate theory only at the data points + if (fTheoAsData) { // calculate theory only at the data points fData.SetTheoryTimeStep(fData.GetDataTimeStep()); } else { // finer binning for the theory (8 times as many points = factor) diff --git a/src/musrgui/PTextEdit.cpp b/src/musrgui/PTextEdit.cpp index 357d3791..f07d9e06 100644 --- a/src/musrgui/PTextEdit.cpp +++ b/src/musrgui/PTextEdit.cpp @@ -358,7 +358,7 @@ void PTextEdit::setupMusrActions() menu->insertSeparator(); tb->addSeparator(); - a = new QAction( QPixmap::fromMimeSource( "musrcalcchisq.xpm" ), tr( "Calculate Chisq" ), ALT + Key_C, this, "cacluates for the given parameters chiSq/maxLH" ); + a = new QAction( QPixmap::fromMimeSource( "musrcalcchisq.xpm" ), tr( "Calculate Chisq" ), ALT + Key_C, this, "calculates for the given parameters chiSq/maxLH" ); connect( a, SIGNAL( activated() ), this, SLOT( musrCalcChisq() ) ); a->addTo( tb ); a->addTo( menu );