Example of calibration using CDB
authorkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 Sep 2005 10:09:08 +0000 (10:09 +0000)
committerkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 Sep 2005 10:09:08 +0000 (10:09 +0000)
PHOS/macros/CalibrationDB/AliPHOSLocalReconstruction.C [new file with mode: 0644]

diff --git a/PHOS/macros/CalibrationDB/AliPHOSLocalReconstruction.C b/PHOS/macros/CalibrationDB/AliPHOSLocalReconstruction.C
new file mode 100644 (file)
index 0000000..298a1a2
--- /dev/null
@@ -0,0 +1,12 @@
+AliPHOSLocalReconstruction()
+{
+  //Run PHOS clusterization using information from calibration database.
+
+  // Open local calibration data base
+  AliCDBLocal *loc = new AliCDBLocal("CalibDB");
+  // Make clusterization, calibration parameters will be taken from CDB
+  AliPHOSClusterizerv1 *clu = new AliPHOSClusterizerv1("galice.root");
+  clu->SetEventRange(0,-1);
+  clu->Exec("deb tim");
+}