updates in TRD
authorrpreghen <rpreghen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Nov 2011 09:03:38 +0000 (09:03 +0000)
committerrpreghen <rpreghen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Nov 2011 09:03:38 +0000 (09:03 +0000)
PWG1/CalibMacros/Pass0/AddTaskTRDCalib.C
PWG1/CalibMacros/Pass0/makeOCDB.C

index 8e06c3f..bd98377 100644 (file)
@@ -37,6 +37,11 @@ AliAnalysisTask  *AddTaskTRDCalib(Int_t runNumber)
   // The TRD calib Task
   /////////////////////////
   AliTRDCalibTask *calibTask = new AliTRDCalibTask();
+
+  // Disabling TRD CPAss0 as per https://savannah.cern.ch/bugs/?88813
+  //calibTask->SetMaxEvent(-1);
+  
+  calibTask->SetMaxNbTracks(600);
   calibTask->SetHisto2d(kTRUE);
   calibTask->SetVector2d(kFALSE);
   calibTask->SetVdriftLinear(kTRUE);
@@ -107,3 +112,4 @@ AliAnalysisTask  *AddTaskTRDCalib(Int_t runNumber)
   return calibTask;
 
 }
+
index 0a4e785..4451fb4 100644 (file)
@@ -74,6 +74,7 @@ void makeOCDB(TString runNumberString, TString  ocdbStorage="")
    procestrd.SetMinStatsGain(600);
    procestrd.SetLimitValidateNoData(40);
    procestrd.SetLimitValidateBadCalib(40);
+   procestrd.SetAlternativeDriftVelocityFit(kTRUE);
    procestrd.Init("CalibObjects.root");
    Int_t versionVdriftUsed = procestrd.GetVersionVdriftUsed();
    Int_t subversionVdriftUsed = procestrd.GetSubVersionVdriftUsed();
@@ -94,3 +95,4 @@ void makeOCDB(TString runNumberString, TString  ocdbStorage="")
        
   return;
 }
+