info part of musrview shows now the grouping, e.g. h:1+5 (single histo), or h:1+5/3+7, etc.
This commit is contained in:
parent
21b55e2dd0
commit
a52ae4c3e1
@ -592,12 +592,24 @@ void PMusrCanvas::UpdateInfoPad()
|
|||||||
if (runs[runNo].GetFitType() == MSR_FITTYPE_SINGLE_HISTO) {
|
if (runs[runNo].GetFitType() == MSR_FITTYPE_SINGLE_HISTO) {
|
||||||
tstr += TString("h:");
|
tstr += TString("h:");
|
||||||
tstr += runs[runNo].GetForwardHistoNo();
|
tstr += runs[runNo].GetForwardHistoNo();
|
||||||
|
for (UInt_t j=1; j<runs[runNo].GetForwardHistoNoSize(); j++) {
|
||||||
|
tstr += TString("+");
|
||||||
|
tstr += runs[runNo].GetForwardHistoNo(j);
|
||||||
|
}
|
||||||
tstr += TString(",");
|
tstr += TString(",");
|
||||||
} else if (runs[runNo].GetFitType() == MSR_FITTYPE_ASYM) {
|
} else if (runs[runNo].GetFitType() == MSR_FITTYPE_ASYM) {
|
||||||
tstr += TString("h:");
|
tstr += TString("h:");
|
||||||
tstr += runs[runNo].GetForwardHistoNo();
|
tstr += runs[runNo].GetForwardHistoNo();
|
||||||
|
for (UInt_t j=1; j<runs[runNo].GetForwardHistoNoSize(); j++) {
|
||||||
|
tstr += TString("+");
|
||||||
|
tstr += runs[runNo].GetForwardHistoNo(j);
|
||||||
|
}
|
||||||
tstr += TString("/");
|
tstr += TString("/");
|
||||||
tstr += runs[runNo].GetBackwardHistoNo();
|
tstr += runs[runNo].GetBackwardHistoNo();
|
||||||
|
for (UInt_t j=1; j<runs[runNo].GetBackwardHistoNoSize(); j++) {
|
||||||
|
tstr += TString("+");
|
||||||
|
tstr += runs[runNo].GetBackwardHistoNo(j);
|
||||||
|
}
|
||||||
tstr += TString(",");
|
tstr += TString(",");
|
||||||
}
|
}
|
||||||
// temperature if present
|
// temperature if present
|
||||||
|
Loading…
x
Reference in New Issue
Block a user