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();