Commit ded35f46 authored by CLICdp user's avatar CLICdp user
Browse files

bug fix for default file names


Former-commit-id: 93665ed40eb9ead82e21861674d1a23637db8c69
parent 4e18fb3d
......@@ -52,7 +52,7 @@ void Timepix3EventLoader::initialise(Parameters* par){
string filename = dataDirName+"/"+file->d_name;
// Check if file has extension .dat
if (string(file->d_name).find("1.dat") != string::npos){
if (string(file->d_name).find("-1.dat") != string::npos){
m_datafiles[detectorID].push_back(filename.c_str());
m_nFiles[detectorID]++;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment