added global section to non-muSR, and mu-minus. Added mu-minus to musrt0.

This commit is contained in:
2014-12-12 12:50:12 +01:00
parent 075c259971
commit f13fa554bf
8 changed files with 213 additions and 50 deletions

View File

@ -345,7 +345,7 @@ Int_t main(Int_t argc, Char_t *argv[])
}
return status;
}
msrHandler->CopyMsrStatisticBlock(); // just copy the statistics block since no fit is preformed
msrHandler->CopyMsrStatisticBlock(); // just copy the statistics block since no fit is performed
// check if the fittype is not NonMusr
PMsrRunList *runList = msrHandler->GetMsrRunList();
@ -384,6 +384,7 @@ Int_t main(Int_t argc, Char_t *argv[])
for (UInt_t i=0; i<runList->size(); i++) {
switch (runList->at(i).GetFitType()) {
case MSR_FITTYPE_SINGLE_HISTO:
case MSR_FITTYPE_MU_MINUS:
if ((runList->at(i).GetRunNameSize() == 1) && (runList->at(i).GetForwardHistoNoSize() == 1)) { // no addruns / no grouping
// get histo number
histoNo = runList->at(i).GetForwardHistoNo();
@ -627,8 +628,6 @@ Int_t main(Int_t argc, Char_t *argv[])
}
}
break;
case MSR_FITTYPE_MU_MINUS:
break;
default:
break;
}
@ -657,6 +656,7 @@ Int_t main(Int_t argc, Char_t *argv[])
for (UInt_t i=0; i<runList->size(); i++) {
switch (runList->at(i).GetFitType()) {
case MSR_FITTYPE_SINGLE_HISTO:
case MSR_FITTYPE_MU_MINUS:
if ((runList->at(i).GetRunNameSize() == 1) && (runList->at(i).GetForwardHistoNoSize() == 1)) { // no addruns / no grouping
// feed necessary data
musrT0Data.InitData();
@ -1021,8 +1021,6 @@ Int_t main(Int_t argc, Char_t *argv[])
}
}
break;
case MSR_FITTYPE_MU_MINUS:
break;
default:
break;
}