Skip to content

Commit

Permalink
Allow list files to end with .list or .lis, like StMuChainMaker and t…
Browse files Browse the repository at this point in the history
…herefore StMuDstMaker

Only need to test for .lis extension to cover both cases
  • Loading branch information
jdbrice authored and plexoos committed Dec 19, 2017
1 parent 7598618 commit 5e172ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StPicoDstMaker/StPicoDstMaker.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit 5e172ed

Please sign in to comment.