]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Nothing
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 7 Feb 2008 16:11:44 +0000 (16:11 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 7 Feb 2008 16:11:44 +0000 (16:11 +0000)
FMD/scripts/Convert2Raw.C

index 5753ec21758f3788bd6f8e254f8b4705ce571a62..4de18becb0385edf2cfb362c81d10d69ef2a532b 100644 (file)
 void
 Convert2Raw()
 {
+  AliCDBManager* cdb = AliCDBManager::Instance();
+  cdb->SetRun(0);
+  cdb->SetDefaultStorage("local://$ALICE_ROOT");
   AliRunLoader* runLoader = 
     AliRunLoader::Open("galice.root", "Alice", "read");
   runLoader->LoadgAlice();
   AliRun* run = runLoader->GetAliRun();
   AliLoader* fmdLoader = runLoader->GetLoader("FMDLoader");
   AliFMD* fmd = static_cast<AliFMD*>(run->GetDetector("FMD"));
-  AliLog::SetModuleDebugLevel("FMD", 1);
+  AliLog::SetModuleDebugLevel("FMD", 5);
 
   AliFMDParameters::Instance()->Init();
   AliFMDRawWriter rw(fmd);