AliRoot Core  edcc906 (edcc906)
Reconstruct.C
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  * *
4  * Author: The ALICE Off-line Project. *
5  * Contributors are mentioned in the code where appropriate. *
6  * *
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  **************************************************************************/
15 
16 /* $Id$ */
22 // Script to do test the FMD digitization class.
23 
25 void
26 Reconstruct(bool raw=false)
27 {
28  // To reconstruct raw data from FDR-I, please enable below lines:
29  // AliFMDParameters::Instance()->UseRcuTrailer(false);
30  // AliFMDParameters::Instance()->UseCompleteHeader(false);
31 
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");
40  rec.SetRunQA(":");
41  if (raw) rec.SetInput("raw.root");
42 
44 
45  TStopwatch timer;
46  timer.Start();
47  rec.Run();
48  timer.Stop();
49  timer.Print();
50 
51 }
52 
53 //
54 // EOF
55 //
virtual Bool_t Run(const char *input=NULL)
void SetSpecificStorage(const char *calibType, const char *uri)
TStopwatch timer
Definition: kNNSpeed.C:15
void SetFillESD(const char *detectors)
Bool_t SetRunQA(TString detAndAction="ALL:ALL")
void Reconstruct(bool raw=false)
Definition: Reconstruct.C:26
void SetRunReconstruction(const char *detectors)
void SetRunLocalReconstruction(const char *detectors)
void SetRunVertexFinder(Bool_t flag=kTRUE)
void SetDefaultStorage(const char *uri)
void rec(const char *filename="raw.root")
Definition: rec.C:1
static void SetModuleDebugLevel(const char *module, Int_t level)
Definition: AliLog.cxx:485
void SetInput(const char *input)
void SetRunTracking(const char *detectors)