Skip to content

Commit

Permalink
MCH: do not use sporadic for StatusMap
Browse files Browse the repository at this point in the history
just could not make it work ...
  • Loading branch information
aphecetche committed Sep 13, 2023
1 parent 8e4388b commit 3626331
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ framework::DataProcessorSpec
bool useStatusMap = DigitFilterParam::Instance().statusMask != 0;

if (useStatusMap) {
// input += ";statusmap:MCH/STATUSMAP/0?lifetime=sporadic";
input += ";statusmap:MCH/STATUSMAP/0";
}

Expand Down
5 changes: 4 additions & 1 deletion Detectors/MUON/MCH/Status/src/StatusMapCreatorSpec.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ class StatusMapCreatorTask
LOGP(info, "Sending updated StatusMap of size {}", size(mStatusMap));
pc.outputs().snapshot(OutputRef{"statusmap"}, mStatusMap);
mStatusMapUpdated = false;
} else {
LOGP(info, "Sending unchanged StatusMap of size {}", size(mStatusMap));
pc.outputs().snapshot(OutputRef{"statusmap"}, mStatusMap);
}
}

Expand All @@ -122,7 +125,7 @@ framework::DataProcessorSpec getStatusMapCreatorSpec(std::string_view specName)
input += "rejectlist:MCH/REJECTLIST/0?lifetime=condition&ccdb-path=MCH/Calib/RejectList";
}

std::string output = "statusmap:MCH/STATUSMAP/0?lifetime=sporadic";
std::string output = "statusmap:MCH/STATUSMAP/0";

std::vector<OutputSpec> outputs;
auto matchers = select(output.c_str());
Expand Down

0 comments on commit 3626331

Please sign in to comment.