add TDirectory option to any2many.
This commit is contained in:
5
src/external/MusrRoot/TMusrRunHeader.cpp
vendored
5
src/external/MusrRoot/TMusrRunHeader.cpp
vendored
@@ -1326,7 +1326,7 @@ void TMusrRunHeader::DumpHeader()
|
||||
fmt.Form("%%s: %%.%dlf %%s; SP: %%.%dlf", digit, digit_d);
|
||||
tstr.Form(fmt, prop.GetLabel().Data(), prop.GetValue(), prop.GetUnit().Data(), prop.GetDemand());
|
||||
}
|
||||
} else if (prop.GetDemand() == MRH_UNDEFINED) { // <value> = n/a
|
||||
} else if (prop.GetValue() == MRH_UNDEFINED) { // <value> = n/a
|
||||
fmt.Form("%%s: %%s %%s");
|
||||
if ((prop.GetUnit() != "n/a"))
|
||||
tstr.Form(fmt, prop.GetLabel().Data(), "n/a", prop.GetUnit().Data());
|
||||
@@ -1827,6 +1827,9 @@ TObjString TMusrRunHeader::GetHeaderString(UInt_t idx)
|
||||
fmt.Form("%%s: %%.%dlf %%s; SP: %%.%dlf", digit, digit_d);
|
||||
tstr.Form(fmt, prop.GetLabel().Data(), prop.GetValue(), prop.GetUnit().Data(), prop.GetDemand());
|
||||
}
|
||||
} else if (prop.GetValue() == MRH_UNDEFINED) {
|
||||
fmt.Form("%%s: %%.1e %%s");
|
||||
tstr.Form(fmt, prop.GetLabel().Data(), prop.GetValue(), prop.GetUnit().Data());
|
||||
}
|
||||
str.Form("%03d - %s -@%d", idx, tstr.Data(), MRH_TMUSR_RUN_PHYSICAL_QUANTITY);
|
||||
tostr.SetString(str);
|
||||
|
||||
Reference in New Issue
Block a user