From 5e172eda469084f512f26035774683c1192da0c0 Mon Sep 17 00:00:00 2001 From: jdbrice Date: Mon, 4 Dec 2017 22:04:10 -0600 Subject: [PATCH] Allow list files to end with .list or .lis, like StMuChainMaker and therefore StMuDstMaker Only need to test for .lis extension to cover both cases --- StPicoDstMaker/StPicoDstMaker.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StPicoDstMaker/StPicoDstMaker.cxx b/StPicoDstMaker/StPicoDstMaker.cxx index 0a1b1b6..f5963b7 100644 --- a/StPicoDstMaker/StPicoDstMaker.cxx +++ b/StPicoDstMaker/StPicoDstMaker.cxx @@ -416,7 +416,7 @@ Int_t StPicoDstMaker::openRead() if (!mChain) mChain = new TChain("PicoDst"); string const dirFile = mInputFileName.Data(); - if (dirFile.find(".list") != string::npos) + if (dirFile.find(".lis") != string::npos) { ifstream inputStream(dirFile.c_str());