* 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");