File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Detectors/CTP/workflowScalers/src Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -90,18 +90,18 @@ int main(int argc, char** argv)
9090 }
9191 // read input file
9292 std::string filename = vm[" input-file" ].as <std::string>();
93- if (filename != " none" ) {
93+ if (filename != " none" ) {
9494 std::ifstream file (filename);
9595 if (!file.is_open ()) {
96- std::cout << " Cannot open file! Using only run:" << run << std::endl;
96+ std::cout << " Cannot open file! Using only run:" << run << std::endl;
9797 } else {
98- std::string line;
99- while (std::getline (file, line)) {
98+ std::string line;
99+ while (std::getline (file, line)) {
100100 std::cout << line << " \n " ;
101101 std::vector<std::string> tokens = o2::utils::Str::tokenize (line, ' ' );
102102 // int run = std::stoi(tokens[0]);
103103 runs.push_back (tokens[0 ]);
104- }
104+ }
105105 }
106106 }
107107 bool cfg = vm[" cfg" ].as <bool >();
You can’t perform that action at this time.
0 commit comments