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());