Skip to content

Commit

Permalink
Adding MeanVertex to CPass1
Browse files Browse the repository at this point in the history
  • Loading branch information
chiarazampolli committed May 17, 2017
1 parent 42875b6 commit 36255bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions DataProc/CPass1/makeOCDB.C
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,6 @@ 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);
}

// switched OFF at CPass1 in any case
/*
//Mean Vertex
AliMeanVertexPreprocessorOffline * procesMeanVtx=0;
if (detStr.Contains("ITSSPD") && SPD_qf) {
Expand All @@ -244,7 +242,6 @@ void makeOCDB(Int_t runNumber, TString targetOCDBstorage="", TString sourceOCDB
else {
Printf("\n******* NOT Calibrating MeanVertex: detStr = %s, SPD_qf = %d *******", detStr.Data(), (Int_t)SPD_qf);
}
*/

AliAnalysisTaskADCalib *procesAD = NULL;
if (detStr.Contains("AD") && AD_qf) {
Expand Down
4 changes: 2 additions & 2 deletions DataProc/CPass1/runCalibTrain.C
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void runCalibTrain(Int_t runNumber, const char *inFileName = "AliESDs.root", con
gROOT->LoadMacro("$ALICE_PHYSICS/PWGPP/CalibMacros/CPass1/AddTOFAnalysisTaskCalibTree.C");
gROOT->LoadMacro("$ALICE_PHYSICS/PWGPP/CalibMacros/CPass1/AddTaskT0Calib.C");
gROOT->LoadMacro("$ALICE_PHYSICS/PWGPP/CalibMacros/CPass1/AddTaskT0Analysis.C");
// gROOT->LoadMacro("$ALICE_PHYSICS/PWGPP/CalibMacros/CPass1/AddTaskMeanVertexCalib.C");
gROOT->LoadMacro("$ALICE_PHYSICS/PWGPP/CalibMacros/CPass1/AddTaskMeanVertexCalib.C");
gROOT->LoadMacro("$ALICE_PHYSICS/PWGPP/CalibMacros/CPass1/AddTaskSDDCalib.C");
gROOT->LoadMacro("$ALICE_PHYSICS/PWGPP/AD/AddTaskADCalib.C");

Expand Down Expand Up @@ -103,7 +103,7 @@ void runCalibTrain(Int_t runNumber, const char *inFileName = "AliESDs.root", con
AliSysInfo::AddStamp("BeforeAD");
if ( detStr.Contains("AD")) AddTaskADCalib();

//if ( detStr.Contains("ITSSPD")) tMeanVtx = AddTaskMeanVertexCalib();
if ( detStr.Contains("ITSSPD")) AddTaskMeanVertexCalib();
//
Bool_t okTPC = detStr.Contains("TPC");
Bool_t useTPCcrv=kFALSE;
Expand Down

0 comments on commit 36255bd

Please sign in to comment.