1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
17 /** @file Reconstruct.C
18 @author Christian Holm Christensen <cholm@nbi.dk>
19 @date Mon Mar 27 14:19:56 2006
20 @brief Script to do reconstruction
22 // Script to do test the FMD digitization class.
24 /** Do reconstruction */
26 Reconstruct(bool raw=false)
28 // To reconstruct raw data from FDR-I, please enable below lines:
29 // AliFMDParameters::Instance()->UseRcuTrailer(false);
30 // AliFMDParameters::Instance()->UseCompleteHeader(false);
32 AliReconstruction rec;
33 rec.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
34 rec.SetSpecificStorage("GRP/GRP/Data",Form("local://%s",gSystem->pwd()));
35 rec.SetRunLocalReconstruction("FMD");
36 rec.SetRunVertexFinder(kFALSE);
37 rec.SetRunReconstruction("FMD");
38 rec.SetRunTracking("");
39 rec.SetFillESD("FMD");
41 if (raw) rec.SetInput("raw.root");
43 AliLog::SetModuleDebugLevel("FMD", 2);