Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 4 Detectors/PHOS/reconstruction/src/Clusterer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void Clusterer::process(gsl::span<const Digit> digits, gsl::span<const TriggerRe
mCluEl.emplace_back(absId, digitSeed.isHighGain(), energy, calibrateT(digitSeed.getTime(), absId, digitSeed.isHighGain()),
x, z, digitSeed.getLabel(), 1.);
}
mLastElementInEvent = mCluEl.size();
mLastElementInEvent = cluelements.size();

// Collect digits to clusters
makeClusters(clusters, cluelements);
Expand Down Expand Up @@ -374,7 +374,7 @@ void Clusterer::unfoldOneCluster(Cluster& iniClu, char nMax, std::vector<Cluster
}

// Iterations finished, put first new cluster into place of mother one, others to the end of list
for (int iclu = nMax; iclu--;) {
for (int iclu = 0; iclu < nMax; iclu++) {
//copy cluElements to the final list
int start = cluelements.size();
int nce = 0;
Expand Down
9 changes: 0 additions & 9 deletions 9 Detectors/PHOS/workflow/src/ClusterizerSpec.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ void ClusterizerSpec::run(framework::ProcessingContext& ctx)
if (mUseDigits) {
LOG(DEBUG) << "PHOSClusterizer - run on digits called";

auto dataref = ctx.inputs().get("digits");
auto const* phosheader = o2::framework::DataRefUtils::getHeader<o2::phos::PHOSBlockHeader*>(dataref);
if (!phosheader->mHasPayload) {
LOG(DEBUG) << "[PHOSClusterizer - run] No more digits" << std::endl;
ctx.services().get<o2::framework::ControlService>().readyToQuit(framework::QuitRequest::Me);
return;
}

// auto digits = ctx.inputs().get<gsl::span<o2::phos::Digit>>("digits");
auto digits = ctx.inputs().get<std::vector<o2::phos::Digit>>("digits");
auto digitsTR = ctx.inputs().get<std::vector<o2::phos::TriggerRecord>>("digitTriggerRecords");
Expand Down Expand Up @@ -107,7 +99,6 @@ void ClusterizerSpec::run(framework::ProcessingContext& ctx)
if (mPropagateMC) {
ctx.outputs().snapshot(o2::framework::Output{"PHS", "CLUSTERTRUEMC", 0, o2::framework::Lifetime::Timeframe}, mOutputTruthCont);
}
ctx.services().get<o2::framework::ControlService>().readyToQuit(framework::QuitRequest::Me);
}

o2::framework::DataProcessorSpec o2::phos::reco_workflow::getClusterizerSpec(bool propagateMC, bool fullClu)
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.