Skip to content
Snippets Groups Projects
Commit 9323c48d authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'cherry-pick-15902c8de9d-master' into 'master'

Sweeping !38425 from 21.2 to master.
AnalysisTop: Set random seed in MissingETObjectCollectionMaker

See merge request atlas/athena!38483
parents 22f95185 4b0acf10
No related branches found
No related tags found
No related merge requests found
......@@ -280,11 +280,13 @@ namespace top {
//get the soft cluster term, and applyCorrection
xAOD::MissingET* softClusMet = (*new_met_container)["SoftClus"];
if (softClusMet != nullptr) { //check we retrieved the clust term
m_met_systematics->setRandomSeed(static_cast<int>(1e6*softClusMet->phi()));
top::check(m_met_systematics->applyCorrection(*softClusMet), "Failed to applyCorrection");
}
xAOD::MissingET* softTrkMet = (*new_met_container)["PVSoftTrk"];
if (softTrkMet != nullptr) { //check we retrieved the soft trk
m_met_systematics->setRandomSeed(static_cast<int>(1e6*softTrkMet->phi()));
top::check(m_met_systematics->applyCorrection(*softTrkMet), "Failed to applyCorrection");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment