Commit cc9b221d authored by Attila Krasznahorkay's avatar Attila Krasznahorkay
Browse files

Made sure that xAOD::TEvent in CP::xAODWriterAlg would not become the "active" event.

In certain situations it was possible to end up with the member object of this algorithm becoming the "active event" of the job. Which would lead to all sorts of problems in the dual-use tools of the job.


Former-commit-id: 67226ad74aeb4b163d18aec199035f98234e3a74
parent ef7ad24d
......@@ -35,6 +35,10 @@ namespace CP {
StatusCode xAODWriterAlg::initialize() {
// Make sure that the xAOD::TEvent object managed by EventLoop is the
// "active" one.
evtStore()->event()->setActive();
// Set up the systematics list.
ATH_CHECK( m_systematicsList.initialize() );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment