]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/Simulate.C
Update of clusterizer
[u/mrichter/AliRoot.git] / FMD / Simulate.C
index 0b5a0f1d62cbc849c8c2fcd96e477a8844c60aeb..5273269c72d9b96ee821382a87e84a35d3e66d8e 100644 (file)
  * about the suitability of this software for any purpose. It is          *
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
-
 /* $Id$ */
-
-// Script to do test the FMD digitization class. 
+/** @file    Simulate.C
+    @author  Christian Holm Christensen <cholm@nbi.dk>
+    @date    Mon Mar 27 14:20:24 2006
+    @brief   Script to do simulation 
+*/
+/** Script to do test the FMD digitization class.  
+ */
 void
 Simulate()
 {
- AliSimulation sim;
- sim.SetConfigFile("$(ALICE_ROOT)/FMD/Config.C");
- // sim.SetMakeSDigits("FMD");
- sim.SetMakeDigits("FMD");
- // sim.SetWriteRawData("FMD");
- // sim.SetMakeDigitsFromHits("FMD");
- TStopwatch w;
- w.Start();
- sim.Run(10); 
- w.Stop();
- w.Print();
+  AliSimulation sim;
+  AliLog::SetModuleDebugLevel("FMD", 1);
+  sim.SetConfigFile("$(ALICE_ROOT)/FMD/Config.C");
+  // sim.SetMakeSDigits("FMD");
+  sim.SetMakeDigits("FMD"); 
+  sim.SetWriteRawData("FMD"); 
+  // sim.SetMakeDigitsFromHits("FMD"); 
+  TStopwatch w; 
+  w.Start(); 
+  sim.Run(1);  
+  w.Stop(); 
+  w.Print(); 
 }
 
 //