Skip to content

Commit

Permalink
Udates from trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
morsch committed Sep 6, 2011
1 parent 3372891 commit 8e77498
Show file tree
Hide file tree
Showing 49 changed files with 3,119 additions and 1,556 deletions.
1,459 changes: 753 additions & 706 deletions ANALYSIS/AliAnalysisTaskPIDqa.cxx

Large diffs are not rendered by default.

23 changes: 12 additions & 11 deletions ANALYSIS/AliCentralitySelectionTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,6 @@ void AliCentralitySelectionTask::UserExec(Option_t */*option*/)
// ***** Scaling for MC
if (fIsMCInput) {
fUseScaling=kFALSE;
fUseCleaning=kFALSE;
Float_t tempScalefactorV0M = MyGetScaleFactorMC(fCurrentRun);
v0Corr = Short_t((multV0A+multV0C) * tempScalefactorV0M);
}
Expand Down Expand Up @@ -675,16 +674,18 @@ void AliCentralitySelectionTask::UserExec(Option_t */*option*/)
// ***** vertex
if (TMath::Abs(zvtx)>fZVCut || zvtxNcont<1) fQuality += 1;

// ***** outliers
// **** V0 vs SPD
if (IsOutlierV0MSPD(spdCorr, v0Corr, int(fCentV0M))) fQuality += 2;
// ***** V0 vs TPC
if (IsOutlierV0MTPC(nTracks, v0Corr, int(fCentV0M))) fQuality += 4;
// ***** V0 vs ZDC
if (IsOutlierV0MZDC((zncEnergy+znaEnergy+zpcEnergy+zpaEnergy), v0Corr) &&
(zdcEnergyCal==kFALSE) && !(fIsMCInput)) fQuality += 8;
if (IsOutlierV0MZDCECal((zncEnergy+znaEnergy+zpcEnergy+zpaEnergy), v0Corr) &&
((zdcEnergyCal==kTRUE) || (fIsMCInput))) fQuality += 8;
// ***** outliers, skip in case of MC input
if (!fIsMCInput) {
// **** V0 vs SPD
if (IsOutlierV0MSPD(spdCorr, v0Corr, int(fCentV0M))) fQuality += 2;
// ***** V0 vs TPC
if (IsOutlierV0MTPC(nTracks, v0Corr, int(fCentV0M))) fQuality += 4;
// ***** V0 vs ZDC
if (IsOutlierV0MZDC((zncEnergy+znaEnergy+zpcEnergy+zpaEnergy), v0Corr) &&
(zdcEnergyCal==kFALSE) && !(fIsMCInput)) fQuality += 8;
if (IsOutlierV0MZDCECal((zncEnergy+znaEnergy+zpcEnergy+zpaEnergy), v0Corr) &&
((zdcEnergyCal==kTRUE) || (fIsMCInput))) fQuality += 8;
}
} else {
fQuality = 0;
}
Expand Down
Loading

0 comments on commit 8e77498

Please sign in to comment.