From 0eaa949be5c5684cd93fb630a65c6f8b5e40bc53 Mon Sep 17 00:00:00 2001 From: Michael Hank Date: Fri, 23 Feb 2024 11:46:16 -0600 Subject: [PATCH] Fixing warning --- Root/BasicEventSelection.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Root/BasicEventSelection.cxx b/Root/BasicEventSelection.cxx index 119884d1c..0b52bf174 100644 --- a/Root/BasicEventSelection.cxx +++ b/Root/BasicEventSelection.cxx @@ -1166,7 +1166,7 @@ StatusCode BasicEventSelection::autoconfigurePileupRWTool() if(mcCampaignMD!=mcCampaignMD_v2){ std::string MetadataAndRunConflict(""); MetadataAndRunConflict += "autoconfigurePileupRWTool(): access to FileMetaData indicates a " + mcCampaignMD_v2; - MetadataAndRunConflict += " sample, but the run number indiciates " +m_mcCampaign; + MetadataAndRunConflict += " sample, but the run number indiciates " +mcCampaignMD; MetadataAndRunConflict += ". Prioritizing the value from FileMetaData. This could occur if you are using an MC campaign with outdated pile-up reweighting. PLEASE DOUBLE-CHECK your samples!"; ANA_MSG_WARNING( MetadataAndRunConflict ); mcCampaignMD=mcCampaignMD_v2;