X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=FMD%2FReconstruct.C;h=f2b0a2072a5900c37751b5cd7e71b71076c25350;hb=0f666f27965f8b7df232c80be0c8ee8a1abab28d;hp=8e5a5a22d6dce259a527173aab9a0ee8eb24f657;hpb=0d0e69953f8454e6bab7169b95440ec351979811;p=u%2Fmrichter%2FAliRoot.git diff --git a/FMD/Reconstruct.C b/FMD/Reconstruct.C index 8e5a5a22d6d..f2b0a2072a5 100644 --- a/FMD/Reconstruct.C +++ b/FMD/Reconstruct.C @@ -14,19 +14,40 @@ **************************************************************************/ /* $Id$ */ - +/** @file Reconstruct.C + @author Christian Holm Christensen + @date Mon Mar 27 14:19:56 2006 + @brief Script to do reconstruction +*/ // Script to do test the FMD digitization class. +/** Do reconstruction */ void -Reconstruct() +Reconstruct(bool raw=false) { + // To reconstruct raw data from FDR-I, please enable below lines: + // AliFMDParameters::Instance()->UseRcuTrailer(false); + // AliFMDParameters::Instance()->UseCompleteHeader(false); + AliReconstruction rec; + rec.SetDefaultStorage("local://$ALICE_ROOT/OCDB"); + rec.SetSpecificStorage("GRP/GRP/Data",Form("local://%s",gSystem->pwd())); rec.SetRunLocalReconstruction("FMD"); rec.SetRunVertexFinder(kFALSE); - rec.SetRunTracking(kFALSE); - rec.SetFillESD(""); - rec.SetInput("./"); - rec.Run(); + rec.SetRunReconstruction("FMD"); + rec.SetRunTracking(""); + rec.SetFillESD("FMD"); + rec.SetRunQA(":"); + if (raw) rec.SetInput("raw.root"); + + AliLog::SetModuleDebugLevel("FMD", 2); + + TStopwatch timer; + timer.Start(); + rec.Run(); + timer.Stop(); + timer.Print(); + } //