Skip to content
Snippets Groups Projects
Commit 4216f5be authored by matta's avatar matta
Browse files

* using a flush in the NPA/Template project

parent b36e4a03
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ int main(int argc,char** argv)
cout << "Number of entries to be analysed: " << nentries << endl;
for (int i = 0; i < nentries; i ++) {
if (i%10000 == 0 && i!=0) cout << "\r" << i << " analysed events" << flush;
if (i%10000 == 0 && i!=0) cout << "\r" << i << " analyzed events" << flush;
chain -> GetEntry(i);
// Treat Gaspard event
......
......@@ -35,8 +35,8 @@ int main(int argc,char** argv)
int i;
for ( i = 0 ; i < Chain -> GetEntries() ; i ++ )
{
if( i%10000 == 0 && i!=0) cout << i << " Event annalysed " << endl ;
Chain -> GetEntry(i);
if( i%10000 == 0 && i!=0) cout << "\r Event Analyzed:" << i << flush;
Chain -> GetEntry(i);
myDetector -> ClearEventPhysics() ;
myDetector -> BuildPhysicalEvent() ;
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment