Reconstruction macro for simulated raw data (B.Polichtchouk)
authorkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Oct 2006 05:56:03 +0000 (05:56 +0000)
committerkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Oct 2006 05:56:03 +0000 (05:56 +0000)
PHOS/macros/RawSimulation/AliPHOSRawReconstruction.C [new file with mode: 0644]

diff --git a/PHOS/macros/RawSimulation/AliPHOSRawReconstruction.C b/PHOS/macros/RawSimulation/AliPHOSRawReconstruction.C
new file mode 100644 (file)
index 0000000..0c25bbe
--- /dev/null
@@ -0,0 +1,19 @@
+void AliPHOSRawReconstruction(TString file="raw.root")
+{
+  // Reconstruction of RAW data from the input file raw.root
+  // Boris Polichtchouk, 13 October 2006
+
+  AliReconstruction rec ;
+//   rec.SetOption("PHOS","OldRCUFormat");
+  rec.SetRunTracking("PHOS") ;
+  rec.SetRunVertexFinder(kFALSE) ; 
+  rec.SetRunLocalReconstruction("PHOS") ;
+  rec.SetFillESD("") ;
+
+  AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 2, 1., 10., 1);
+  AliTracker::SetFieldMap(field,kFALSE); 
+
+  rec.SetInput(file.Data());  // read RAW data
+  rec.Run();
+
+}