Skip to content

Commit 47b60ce

Browse files
authored
Merge branch 'AliceO2Group:master' into master
2 parents 23f5eaa + 82f622f commit 47b60ce

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Common/TableProducer/PID/pidTOFMerge.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ struct TOFCalibConfig {
206206
const std::string nameShiftPos = metadataInfo.isMC() ? mTimeShiftCCDBPathPosMC : mTimeShiftCCDBPathPos;
207207
updateTimeShift(nameShiftPos, true);
208208
const std::string nameShiftNeg = metadataInfo.isMC() ? mTimeShiftCCDBPathNegMC : mTimeShiftCCDBPathNeg;
209-
updateTimeShift(nameShiftNeg, true);
209+
updateTimeShift(nameShiftNeg, false);
210210

211211
// Calibration object is defined
212212
LOG(info) << "Parametrization at init time:";
@@ -690,7 +690,7 @@ struct tofEventTime {
690690
if constexpr (removeTOFEvTimeBias) {
691691
evTimeMakerTOF.removeBias<Run3TrksWtof::iterator, filterForTOFEventTime>(trk, nGoodTracksForTOF, t0TOF[0], t0TOF[1], 2);
692692
}
693-
if (t0TOF[1] < errDiamond && (maxEvTimeTOF <= 0 || abs(t0TOF[0]) < maxEvTimeTOF)) {
693+
if (t0TOF[1] < errDiamond && (maxEvTimeTOF <= 0 || std::abs(t0TOF[0]) < maxEvTimeTOF)) {
694694
flags |= o2::aod::pidflags::enums::PIDFlags::EvTimeTOF;
695695

696696
weight = 1.f / (t0TOF[1] * t0TOF[1]);
@@ -754,7 +754,7 @@ struct tofEventTime {
754754
evTimeMakerTOF.removeBias<Run3TrksWtof::iterator, filterForTOFEventTime>(trk, nGoodTracksForTOF, et, erret, 2);
755755
}
756756
uint8_t flags = 0;
757-
if (erret < errDiamond && (maxEvTimeTOF <= 0.f || abs(et) < maxEvTimeTOF)) {
757+
if (erret < errDiamond && (maxEvTimeTOF <= 0.f || std::abs(et) < maxEvTimeTOF)) {
758758
flags |= o2::aod::pidflags::enums::PIDFlags::EvTimeTOF;
759759
} else {
760760
et = 0.f;

Common/TableProducer/multiplicityTable.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
#include <vector>;
13-
#include <algorithm>;
14-
#include <map>;
15-
#include <string>;
12+
#include <vector>
13+
#include <algorithm>
14+
#include <map>
15+
#include <string>
1616

1717
#include "Framework/ConfigParamSpec.h"
1818
#include "Framework/runDataProcessing.h"

DPG/Tasks/AOTEvent/eventSelectionQa.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ struct EventSelectionQaTask {
581581
metadata["runNumber"] = Form("%d", run);
582582
o2::itsmft::TimeDeadMap* itsDeadMap = ccdb->getSpecific<o2::itsmft::TimeDeadMap>("ITS/Calib/TimeDeadMap", (tsSOR + tsEOR) / 2, metadata);
583583

584-
std::vector<uint64_t> itsDeadMapOrbits = itsDeadMap->getEvolvingMapKeys(); // roughly every second, ~350 TFs = 350x32 orbits
584+
auto itsDeadMapOrbits = itsDeadMap->getEvolvingMapKeys(); // roughly every second, ~350 TFs = 350x32 orbits
585585
std::vector<double> itsDeadMapOrbitsDouble(itsDeadMapOrbits.begin(), itsDeadMapOrbits.end());
586586
const AxisSpec axisItsDeadMapOrbits{itsDeadMapOrbitsDouble};
587587

0 commit comments

Comments
 (0)