Fix a bug to allow passing lifetimecorrection flag into global fit files generated by msr2data.
This commit is contained in:
parent
2d2f7ae2ba
commit
75958d0bce
@ -2337,6 +2337,11 @@ Int_t PMsrHandler::WriteMsrFile(const Char_t *filename, std::map<UInt_t, TString
|
|||||||
fout << "logy" << std::endl;
|
fout << "logy" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// lifetimecorrection
|
||||||
|
if (fPlots[i].fLifeTimeCorrection) {
|
||||||
|
fout << "lifetimecorrection" << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
// rrf_packing
|
// rrf_packing
|
||||||
if (fPlots[i].fRRFPacking) {
|
if (fPlots[i].fRRFPacking) {
|
||||||
fout << "rrf_packing " << fPlots[i].fRRFPacking << std::endl;
|
fout << "rrf_packing " << fPlots[i].fRRFPacking << std::endl;
|
||||||
@ -4797,6 +4802,8 @@ Bool_t PMsrHandler::HandlePlotEntry(PMsrLines &lines)
|
|||||||
param.fLogX = true;
|
param.fLogX = true;
|
||||||
} else if (iter1->fLine.Contains("logy", TString::kIgnoreCase)) {
|
} else if (iter1->fLine.Contains("logy", TString::kIgnoreCase)) {
|
||||||
param.fLogY = true;
|
param.fLogY = true;
|
||||||
|
} else if (iter1->fLine.Contains("lifetimecorrection", TString::kIgnoreCase)) {
|
||||||
|
param.fLifeTimeCorrection = true;
|
||||||
} else if (iter1->fLine.Contains("view_packing", TString::kIgnoreCase)) {
|
} else if (iter1->fLine.Contains("view_packing", TString::kIgnoreCase)) {
|
||||||
tokens = iter1->fLine.Tokenize(" \t");
|
tokens = iter1->fLine.Tokenize(" \t");
|
||||||
if (!tokens) {
|
if (!tokens) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user