scripts/Convert2Raw.C

Go to the documentation of this file.
00001 //____________________________________________________________________
00002 //
00003 // $Id: Convert2Raw.C,v 1.1 2006/03/21 12:58:10 cholm Exp $
00004 //
00005 // Read in digits, and convert them to raw data files.  This is mainly
00006 // for testing. 
00007 //
00011 void
00012 Convert2Raw()
00013 {
00014   AliRunLoader* runLoader = 
00015     AliRunLoader::Open("galice.root", "Alice", "read");
00016   runLoader->LoadgAlice();
00017   AliRun* run = runLoader->GetAliRun();
00018   AliLoader* fmdLoader = runLoader->GetLoader("FMDLoader");
00019   AliFMD* fmd = static_cast<AliFMD*>(run->GetDetector("FMD"));
00020   AliLog::SetModuleDebugLevel("FMD", 1);
00021 
00022   AliFMDParameters::Instance()->Init();
00023   AliFMDRawWriter rw(fmd);
00024   rw.Exec();
00025 }
00026 //____________________________________________________________________
00027 // 
00028 // EOF
00029 //

Generated on Fri Mar 24 17:11:21 2006 for ALICE FMD Off-line by  doxygen 1.4.6