full chain AliSim-AliRec is now active
authorkir <kir@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 3 Mar 2004 17:38:06 +0000 (17:38 +0000)
committerkir <kir@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 3 Mar 2004 17:38:06 +0000 (17:38 +0000)
RICH/RichBatch.C

index d949429..e447f5b 100644 (file)
@@ -5,8 +5,8 @@ void RichBatch(const Int_t iNevents,const Bool_t isDebug,const char *sConfigFile
   Info("my/RichBatch.C","%i event(s) requested, debug %i,config file %s",iNevents,isDebug,sConfigFileName);  
   TStopwatch sw;TDatime time;  
 
-  AliSimulation a;  a.Run(iNevents);
-   
+  AliSimulation     *pSim=new AliSimulation;     pSim->Run(iNevents); delete pSim;
+  AliReconstruction *pRec=new AliReconstruction; pRec->Run();         delete pRec; 
   cout<<"\nInfo in <my/RichBatch.C>: Start time: ";time.Print();
     cout<<"Info in <my/RichBatch.C>: Stop  time: ";time.Set();  time.Print();
     cout<<"Info in <my/RichBatch.C>: Time  used: ";sw.Print();