Updating for 2012 reprocessing
authorzampolli <Chiara.Zampolli@cern.ch>
Thu, 18 Dec 2014 13:23:13 +0000 (14:23 +0100)
committerzampolli <Chiara.Zampolli@cern.ch>
Thu, 18 Dec 2014 13:23:13 +0000 (14:23 +0100)
PWGPP/CalibMacros/CPass0/makeOCDB.C
PWGPP/CalibMacros/CPass0/recCPass0.C
PWGPP/CalibMacros/CPass1/makeOCDB.C
PWGPP/CalibMacros/CPass1/recCPass1.C

index 9104a0f..a848237 100644 (file)
@@ -178,6 +178,9 @@ void makeOCDB(Int_t runNumber, TString  targetOCDBstorage="", TString sourceOCDB
     Printf("\n******* NOT Calibrating TRD: detStr = %s, TRD_qf = %d *******", detStr.Data(), (Int_t)TRD_qf);
   }
   
+  TF1 *gsf = (TF1 *)gROOT->GetFunction("gaus");
+  if (gsf) for (int i=gsf->GetNpar();i--;) gsf->SetParError(i,0); // reset errors from previous fits
+  
   //Mean Vertex
   AliMeanVertexPreprocessorOffline * procesMeanVtx=0;
   if (detStr.Contains("ITSSPD") && SPD_qf) {
index 96eb88f..a5c6a54 100644 (file)
@@ -66,7 +66,7 @@ void recCPass0(const char *filename="raw.root",Int_t nevents=-1, const char *ocd
   rec.SetWriteESDfriend(kTRUE);
   rec.SetWriteAlignmentData();
   rec.SetUseTrackingErrorsForAlignment("ITS");
-  rec.SetRunReconstruction("ALL -HLT");
+  rec.SetRunReconstruction("ALL");
   rec.SetCleanESD(kFALSE);
 
   //Ignore SetStopOnError
index 92ba6de..daaddb3 100644 (file)
@@ -65,8 +65,6 @@ void makeOCDB(Int_t runNumber, TString  targetOCDBstorage="", TString sourceOCDB
   if (gSystem->AccessPathName("TPC", kFileExists)==0) {  
     AliCDBManager::Instance()->SetSpecificStorage("TPC/Calib/Correction","local://");
   }
-  AliMagF* fld = TGeoGlobalMagField::Instance()->GetField();
-  Double_t bz = fld->SolenoidField();
 
   // Magnetic field
   AliMagF* fld = TGeoGlobalMagField::Instance()->GetField();
index b9b2659..2253547 100644 (file)
@@ -65,7 +65,7 @@ void recCPass1(const char *filename="raw.root",Int_t nevents=-1, const char *ocd
   rec.SetWriteESDfriend(kTRUE);
   rec.SetWriteAlignmentData();
   rec.SetUseTrackingErrorsForAlignment("ITS");
-  rec.SetRunReconstruction("ALL -HLT");
+  rec.SetRunReconstruction("ALL");
   rec.SetCleanESD(kFALSE);
 
   //Ignore SetStopOnError