]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/Simulate.C
Stand Alone tracker updated to use displaced primary vertices in the bending plane...
[u/mrichter/AliRoot.git] / FMD / Simulate.C
index 970442bc7f1d563cd519276d31c0f0ee70a984e4..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()
 {
-  AliCDBManager* cdb = AliCDBManager::Instance();
-  cdb->SetDefaultStorage("local://cdb");
   AliSimulation sim;
-  AliCDBEntry* align = cdb->Get("FMD/Align/Data");
-  if (align) {
-    TClonesArray* array = dynamic_cast<TClonesArray*>(align->GetObject());
-    if (array) sim.SetAlignObjArray(array);
-  }
+  AliLog::SetModuleDebugLevel("FMD", 1);
   sim.SetConfigFile("$(ALICE_ROOT)/FMD/Config.C");
   // sim.SetMakeSDigits("FMD");
   sim.SetMakeDigits("FMD");