in case of LHC11c spc_calo production, data is calibrated, avoid using pass1 as the...
authorgconesab <Gustavo.Conesa.Balbastre@cern.ch>
Wed, 15 Jan 2014 18:25:49 +0000 (19:25 +0100)
committergconesab <Gustavo.Conesa.Balbastre@cern.ch>
Wed, 15 Jan 2014 18:26:11 +0000 (19:26 +0100)
ANALYSIS/TenderSupplies/AliEMCALTenderSupply.cxx
PWG/CaloTrackCorrBase/AliCalorimeterUtils.cxx
PWGGA/EMCALTasks/AliAnalysisTaskEMCALClusterize.cxx

index f9b50ac..20476a4 100644 (file)
@@ -1815,6 +1815,8 @@ void AliEMCALTenderSupply::GetPass()
   else if (fname.Contains("pass3")) fFilepass = TString("pass3");
   else if (fname.Contains("pass4")) fFilepass = TString("pass4");
   else if (fname.Contains("pass5")) fFilepass = TString("pass5");
+  else if (fname.Contains("LHC11c") &&
+           fname.Contains("spc_calo")) fFilepass = TString("spc_calo");
   else if (fname.Contains("calo") || fname.Contains("high_lumi"))
 
   {
index 7076942..5ff36fc 100755 (executable)
@@ -1169,6 +1169,7 @@ TString AliCalorimeterUtils::GetPass()
   else if (pass.Contains("ass3")) return TString("pass3");
   else if (pass.Contains("ass4")) return TString("pass4");
   else if (pass.Contains("ass5")) return TString("pass5");
+  else if (pass.Contains("LHC11c") && pass.Contains("spc_calo") ) return TString("spc_calo");
   else if (pass.Contains("calo") || pass.Contains("high_lumi"))
   {
     printf("AliCalorimeterUtils::GetPass() - Path contains <calo> or <high-lumi>, set as <pass1>\n");
index a34c0ab..d4ee460 100644 (file)
@@ -1035,6 +1035,7 @@ TString AliAnalysisTaskEMCALClusterize::GetPass()
   else if (pass.Contains("ass3")) return TString("pass3");
   else if (pass.Contains("ass4")) return TString("pass4");
   else if (pass.Contains("ass5")) return TString("pass5");
+  else if (pass.Contains("LHC11c") && pass.Contains("spc_calo") ) return TString("spc_calo");
   else if (pass.Contains("calo") || pass.Contains("high_lumi"))
   {
     printf("AliAnalysisTaskEMCALClusterize::GetPass() - Path contains <calo> or <high-lumi>, set as <pass1>\n");