]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/testsim.C
Inheritance from TObject. Automatic streamers.
[u/mrichter/AliRoot.git] / PHOS / testsim.C
index 9f9bd61fefd1f0aac8216a30f02a8ad451ba5ae3..30378336ace6145f62e503142e527da54110cd23 100644 (file)
@@ -10,18 +10,16 @@ void testsim (Int_t nevent=1, const char *config="testconfig.C")
   TStopwatch timer;
   timer.Start();
 
-  nevent=100 ; 
-  gAlice->Init(config);
-   cerr<<" ___________________________________________________________________ "<<endl;
+  gAlice->Init(config); 
+  cerr<<" ___________________________________________________________________ "<<endl;
   cerr<<" "<<endl;
-  cerr<<"             MESS ==> The simulation will last for about 4 minutes."<<endl;
+  cerr<<"             MESS ==> " << nevent << " : The simulation will last about 4 minutes."<<endl;
    cerr<<" ___________________________________________________________________ "<<endl;
   gAlice->Run(nevent);
   timer.Stop();
   timer.Print();
    cerr<<" ___________________________________________________________________ "<<endl;
   cerr<<" "<<endl;
-  cerr << "           MESS ==> Simulation ended successfully. " << endl ; 
+  cerr << "             MESS ==> Simulation ended successfully. " << endl ; 
   cerr<<" ___________________________________________________________________ "<<endl;
 }