diff --git a/DPG/Tasks/AOTEvent/eventSelectionQa.cxx b/DPG/Tasks/AOTEvent/eventSelectionQa.cxx index 26791093c1b..6abd8bedb20 100644 --- a/DPG/Tasks/AOTEvent/eventSelectionQa.cxx +++ b/DPG/Tasks/AOTEvent/eventSelectionQa.cxx @@ -62,7 +62,6 @@ struct EventSelectionQaTask { std::bitset bcPatternA; std::bitset bcPatternC; std::bitset bcPatternB; - o2::itsmft::TimeDeadMap* itsDeadMap = nullptr; SliceCache cache; Partition tracklets = (aod::track::trackType == static_cast(o2::aod::track::TrackTypeEnum::Run2Tracklet)); @@ -577,7 +576,7 @@ struct EventSelectionQaTask { // fill ITS dead maps std::map metadata; metadata["runNumber"] = Form("%d", run); - itsDeadMap = ccdb->getSpecific("ITS/Calib/TimeDeadMap", (tsSOR + tsEOR) / 2, metadata); + o2::itsmft::TimeDeadMap* itsDeadMap = ccdb->getSpecific("ITS/Calib/TimeDeadMap", (tsSOR + tsEOR) / 2, metadata); std::vector itsDeadMapOrbits = itsDeadMap->getEvolvingMapKeys(); // roughly every second, ~350 TFs = 350x32 orbits std::vector itsDeadMapOrbitsDouble(itsDeadMapOrbits.begin(), itsDeadMapOrbits.end()); @@ -1122,13 +1121,6 @@ struct EventSelectionQaTask { histos.fill(HIST("hNcontribAccFromData"), nContrib); } - - // ITS deadzone checks - std::vector closestVec; - for (auto& bc : bcs) { - uint64_t orbit = bc.globalBC() / nBCsPerOrbit; - itsDeadMap->getMapAtOrbit(orbit, closestVec); - } } PROCESS_SWITCH(EventSelectionQaTask, processRun3, "Process Run3 event selection QA", false);