From b3e07e2278a7fd52109cb2bfc2eeb25e27e5d42c Mon Sep 17 00:00:00 2001 From: elfontan Date: Thu, 3 Feb 2022 15:38:33 +0100 Subject: [PATCH] Fix for l1Event in the L1EventTreeProducer --- L1Trigger/L1TNtuples/plugins/L1EventTreeProducer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/L1Trigger/L1TNtuples/plugins/L1EventTreeProducer.cc b/L1Trigger/L1TNtuples/plugins/L1EventTreeProducer.cc index 42b8584a07d4c..e6c41c4ea2c4e 100644 --- a/L1Trigger/L1TNtuples/plugins/L1EventTreeProducer.cc +++ b/L1Trigger/L1TNtuples/plugins/L1EventTreeProducer.cc @@ -83,7 +83,7 @@ L1EventTreeProducer::L1EventTreeProducer(const edm::ParameterSet& iConfig) bool useAvgVtx = iConfig.getUntrackedParameter("useAvgVtx", true); double maxAllowedWeight = iConfig.getUntrackedParameter("maxAllowedWeight", -1); - std::make_unique( + l1Event = std::make_unique( puMCFile, puMCHist, puDataFile, puDataHist, useAvgVtx, maxAllowedWeight, consumesCollector()); l1EventData = l1Event->getData();