Adding updated version of test recMC.C
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Feb 2009 11:22:58 +0000 (11:22 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Feb 2009 11:22:58 +0000 (11:22 +0000)
TPC/testMC/recMC.C [new file with mode: 0644]

diff --git a/TPC/testMC/recMC.C b/TPC/testMC/recMC.C
new file mode 100644 (file)
index 0000000..e2605f2
--- /dev/null
@@ -0,0 +1,32 @@
+void recMC(const char* tpcDBpath="local://$ALICE_ROOT"){
+  AliTPCRecoParam * tpcRecoParam = AliTPCRecoParam::GetLowFluxParam();  
+  AliTPCReconstructor::SetStreamLevel(10);
+  //
+
+  AliReconstruction rec;
+  rec.SetSpecificStorage("TPC/*/*",tpcDBpath);
+  rec.SetRecoParam("TPC",tpcRecoParam);
+  //
+  rec.SetLoadAlignData("");
+  rec.SetWriteESDfriend(kTRUE);
+  rec.SetFillTriggerESD(kFALSE);
+  rec.SetRunVertexFinder(kTRUE);
+  rec.SetWriteAlignmentData(kTRUE);
+  rec.SetRunReconstruction("ITS TPC TRD TOF");
+  //rec.SetRunReconstruction("ITS TPC");
+  rec.SetCleanESD(kFALSE);
+  //disable HLT and QA
+  //
+  rec.SetRunHLTTracking(kFALSE);
+  rec.SetUseHLTData(" ");
+  rec.SetRunQA(kFALSE);
+  //
+  rec.SetWriteESDfriend(kTRUE);
+  rec.SetWriteAlignmentData(kTRUE);
+  rec.SetUniformFieldTracking(kFALSE);
+  rec.SetWriteAlignmentData(kTRUE);
+  //
+
+  //
+  rec.Run();
+}