Skip to content

Commit ccd0b30

Browse files
authored
Merge 0d19e45 into sapling-pr-archive-ehellbar
2 parents 9e04009 + 0d19e45 commit ccd0b30

File tree

53 files changed

+624
-1001
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+624
-1001
lines changed

Common/DCAFitter/include/DCAFitter/HelixHelper.h

Lines changed: 0 additions & 307 deletions
This file was deleted.

Detectors/AOD/src/AODProducerWorkflowSpec.cxx

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2063,16 +2063,11 @@ void AODProducerWorkflowDPL::run(ProcessingContext& pc)
20632063
const auto& mcRecords = mcReader->getDigitizationContext()->getEventRecords();
20642064
const auto& mcParts = mcReader->getDigitizationContext()->getEventParts();
20652065

2066-
// count all parts
2067-
int totalNParts = 0;
2068-
for (int iCol = 0; iCol < nMCCollisions; iCol++) {
2069-
totalNParts += mcParts[iCol].size();
2070-
2071-
// if signal filtering enabled, let's check if there are more than one source; otherwise fatalise
2072-
if (mUseSigFiltMC) {
2073-
std::vector<int> sourceIDs{};
2074-
auto& colParts = mcParts[iCol];
2075-
for (auto colPart : colParts) {
2066+
// if signal filtering enabled, let's check if there are more than one source; otherwise fatalise
2067+
if (mUseSigFiltMC) {
2068+
std::vector<int> sourceIDs{};
2069+
for (int iCol = 0; iCol < nMCCollisions; iCol++) {
2070+
for (auto const& colPart : mcParts[iCol]) {
20762071
int sourceID = colPart.sourceID;
20772072
if (std::find(sourceIDs.begin(), sourceIDs.end(), sourceID) == sourceIDs.end()) {
20782073
sourceIDs.push_back(sourceID);
@@ -2081,10 +2076,19 @@ void AODProducerWorkflowDPL::run(ProcessingContext& pc)
20812076
break;
20822077
}
20832078
}
2084-
if (sourceIDs.size() <= 1) {
2085-
LOGP(fatal, "Signal filtering cannot be enabled without embedding. Please fix the configuration either enabling the embedding, or turning off the signal filtering.");
2079+
if (sourceIDs.size() > 1) { // we found more than one, exit
2080+
break;
20862081
}
20872082
}
2083+
if (sourceIDs.size() <= 1) {
2084+
LOGP(fatal, "Signal filtering cannot be enabled without embedding. Please fix the configuration either enabling the embedding, or turning off the signal filtering.");
2085+
}
2086+
}
2087+
2088+
// count all parts
2089+
int totalNParts = 0;
2090+
for (int iCol = 0; iCol < nMCCollisions; iCol++) {
2091+
totalNParts += mcParts[iCol].size();
20882092
}
20892093
mcCollisionsCursor.reserve(totalNParts);
20902094

Detectors/EMCAL/workflow/src/StandaloneAODProducerSpec.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include "Framework/InputRecordWalker.h"
1818
#include "Framework/Logger.h"
1919
#include "Framework/TableBuilder.h"
20-
#include "Framework/TableTreeHelpers.h"
2120
#include "MathUtils/Utils.h"
2221

2322
using namespace o2::framework;
@@ -105,7 +104,7 @@ void StandaloneAODProducerSpec::run(ProcessingContext& pc)
105104
o2::math_utils::detail::truncateFloatFraction(cell.getTimeStamp(), mCaloTime),
106105
cell.getType(),
107106
1); // hard coded for emcal (-1 would be undefined, 0 phos)
108-
} // end of cell loop
107+
} // end of cell loop
109108

110109
// filled only with BCID, rest dummy for no2
111110
caloCellsTRGTableCursor(0,

Detectors/Filtering/src/FilteringSpec.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#include "Framework/InputRecordWalker.h"
3939
#include "Framework/Logger.h"
4040
#include "Framework/TableBuilder.h"
41-
#include "Framework/TableTreeHelpers.h"
4241
#include "Framework/CCDBParamSpec.h"
4342
#include "FDDBase/Constants.h"
4443
#include "FT0Base/Geometry.h"

Detectors/GlobalTracking/src/MatchTPCITS.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ void MatchTPCITS::init()
245245
}
246246
#endif
247247

248-
if (mParams->runAfterBurner) { // only used in AfterBurner
249-
mRGHelper.init(); // prepare helper for TPC track / ITS clusters matching
248+
if (mParams->runAfterBurner) { // only used in AfterBurner
249+
mRGHelper.init(mParams->lowestLayerAB); // prepare helper for TPC track / ITS clusters matching
250250
}
251251

252252
clear();

Detectors/ITSMFT/ITS/reconstruction/include/ITSReconstruction/RecoGeomHelper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ struct RecoGeomHelper {
103103
static constexpr float ladderWidth() { return o2::itsmft::SegmentationAlpide::SensorSizeRows; }
104104
static constexpr float ladderWidthInv() { return 1. / ladderWidth(); }
105105

106-
void init();
106+
void init(int minLayer = 0, int maxLayer = getNLayers());
107107
void print() const;
108108

109109
ClassDefNV(RecoGeomHelper, 0);

0 commit comments

Comments
 (0)