Treatment of default recoparameters is corrected.
authorkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Nov 2009 08:59:00 +0000 (08:59 +0000)
committerkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Nov 2009 08:59:00 +0000 (08:59 +0000)
OCDB/PHOS/Calib/RecoParam/Run0_999999999_v0_s0.root [deleted file]
OCDB/PHOS/Calib/RecoParam/Run0_999999999_v0_s1.root [new file with mode: 0644]
OCDB/PHOS/Calib/RecoParam/Run85779_999999999_v0_s0.root [deleted file]
PHOS/MakePHOSRecoParam.C

diff --git a/OCDB/PHOS/Calib/RecoParam/Run0_999999999_v0_s0.root b/OCDB/PHOS/Calib/RecoParam/Run0_999999999_v0_s0.root
deleted file mode 100644 (file)
index 9a6415c..0000000
Binary files a/OCDB/PHOS/Calib/RecoParam/Run0_999999999_v0_s0.root and /dev/null differ
diff --git a/OCDB/PHOS/Calib/RecoParam/Run0_999999999_v0_s1.root b/OCDB/PHOS/Calib/RecoParam/Run0_999999999_v0_s1.root
new file mode 100644 (file)
index 0000000..7725863
Binary files /dev/null and b/OCDB/PHOS/Calib/RecoParam/Run0_999999999_v0_s1.root differ
diff --git a/OCDB/PHOS/Calib/RecoParam/Run85779_999999999_v0_s0.root b/OCDB/PHOS/Calib/RecoParam/Run85779_999999999_v0_s0.root
deleted file mode 100644 (file)
index 4b00119..0000000
Binary files a/OCDB/PHOS/Calib/RecoParam/Run85779_999999999_v0_s0.root and /dev/null differ
index 5b0d1c4..723f26f 100644 (file)
@@ -1,4 +1,4 @@
-void MakePHOSRecoParam(AliRecoParam::EventSpecie_t default=AliRecoParam::kDefault)
+void MakePHOSRecoParam(AliRecoParam::EventSpecie_t default=AliRecoParam::kLowMult)
 {
   //========================================================================
   //
@@ -10,27 +10,14 @@ void MakePHOSRecoParam(AliRecoParam::EventSpecie_t default=AliRecoParam::kDefaul
   // $Id$ */
 
   const char* macroname = "MakePHOSRecoParam.C";
-  const Int_t firstRun = 85779;
+  const Int_t firstRun = 0;
 
   // Activate CDB storage and load geometry from CDB
   AliCDBManager* cdb = AliCDBManager::Instance();
   if(!cdb->IsDefaultStorageSet()) cdb->SetDefaultStorage("local://OCDB");
   
   TObjArray *recoParamArray = new TObjArray();
-
-  {
-    // Default reconstruction parameters
-    AliPHOSRecoParam * phosRecoParam = AliPHOSRecoParam::GetDefaultParameters();
-    phosRecoParam->SetEventSpecie(AliRecoParam::kDefault);
-    phosRecoParam->SetEMCSubtractPedestals(kFALSE);
-    phosRecoParam->SetEMCRawDigitThreshold(2);
-    phosRecoParam->SetEMCMinE(0.012);
-    phosRecoParam->SetEMCClusteringThreshold(0.20);
-    phosRecoParam->SetEMCFitterVersion("v0");
-    phosRecoParam->SetEMCSampleQualityCut(10.);
-    phosRecoParam->SetName("Default");
-    recoParamArray->AddLast(phosRecoParam);
-  }
+  
   {
     // Reconstruction parameters for cosmic run 2009
     AliPHOSRecoParam * phosRecoParam = AliPHOSRecoParam::GetDefaultParameters();
@@ -54,6 +41,7 @@ void MakePHOSRecoParam(AliRecoParam::EventSpecie_t default=AliRecoParam::kDefaul
     phosRecoParam->SetEMCClusteringThreshold(0.22);
     phosRecoParam->SetEMCFitterVersion("v0");
     phosRecoParam->SetEMCUnfolding(kTRUE);
+    phosRecoParam->SetEMCSampleQualityCut(10.);
     phosRecoParam->SetName("LowMult2009");
     recoParamArray->AddLast(phosRecoParam);
   }
@@ -70,6 +58,18 @@ void MakePHOSRecoParam(AliRecoParam::EventSpecie_t default=AliRecoParam::kDefaul
     phosRecoParam->SetName("HighMult2009");
     recoParamArray->AddLast(phosRecoParam);
   }
+  { // Reconstruction parameters for "calibration" events
+    AliPHOSRecoParam * phosRecoParam = AliPHOSRecoParam::GetDefaultParameters();
+    phosRecoParam->SetEventSpecie(AliRecoParam::kCalib);
+    phosRecoParam->SetEMCSubtractPedestals(kFALSE);
+    phosRecoParam->SetEMCMinE(0.025);
+    phosRecoParam->SetEMCClusteringThreshold(0.05);
+    phosRecoParam->SetEMCFitterVersion("v0");
+    phosRecoParam->SetEMCUnfolding(kFALSE);
+    phosRecoParam->SetEMCEnergyCorrectionOn(kFALSE);
+    phosRecoParam->SetName("Calib2009");
+    recoParamArray->AddLast(phosRecoParam);
+  }
 
   // Set the default
   Bool_t defaultIsSet = kFALSE;