From cc12b59acfca47c9df50ac4969f25e96f5617b9f Mon Sep 17 00:00:00 2001
From: Patrick Scholer <pscholer@atlmuonsw1.dyndns.cern.ch>
Date: Fri, 15 Dec 2023 11:14:56 +0100
Subject: [PATCH] make NswDcsDbData a mixed conditions object

---
 .../MuonCondGeneral/MuonCondAlg/src/NswDcsDbAlg.cxx           | 1 +
 .../MuonCondGeneral/MuonCondData/MuonCondData/NswDcsDbData.h  | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/MuonSpectrometer/MuonConditions/MuonCondGeneral/MuonCondAlg/src/NswDcsDbAlg.cxx b/MuonSpectrometer/MuonConditions/MuonCondGeneral/MuonCondAlg/src/NswDcsDbAlg.cxx
index 8f657e58e364..17af4af999a3 100644
--- a/MuonSpectrometer/MuonConditions/MuonCondGeneral/MuonCondAlg/src/NswDcsDbAlg.cxx
+++ b/MuonSpectrometer/MuonConditions/MuonCondGeneral/MuonCondAlg/src/NswDcsDbAlg.cxx
@@ -52,6 +52,7 @@ NswDcsDbAlg::execute(const EventContext& ctx) const {
 		    << " if multiple concurrent events are being processed out of order.");
 		return StatusCode::SUCCESS;
 	}
+	wrHdl.addDependency(EventIDRange(IOVInfiniteRange::infiniteMixed()));
 	ATH_MSG_DEBUG("Range of time/charge output is " << wrHdl.getRange());
 	std::unique_ptr<NswDcsDbData> wrCdo{std::make_unique<NswDcsDbData>(m_idHelperSvc->mmIdHelper(), m_idHelperSvc->stgcIdHelper(), m_muDetMgrFromDetStore)};
 
diff --git a/MuonSpectrometer/MuonConditions/MuonCondGeneral/MuonCondData/MuonCondData/NswDcsDbData.h b/MuonSpectrometer/MuonConditions/MuonCondGeneral/MuonCondData/MuonCondData/NswDcsDbData.h
index e81e225e879b..e81fafba6a59 100644
--- a/MuonSpectrometer/MuonConditions/MuonCondGeneral/MuonCondData/MuonCondData/NswDcsDbData.h
+++ b/MuonSpectrometer/MuonConditions/MuonCondGeneral/MuonCondData/MuonCondData/NswDcsDbData.h
@@ -94,7 +94,7 @@ std::ostream& operator<<(std::ostream& ostr, const NswDcsDbData::TDaqConstants&
 
 
 
-CLASS_DEF( NswDcsDbData , 99551304 , 1 )
-CLASS_DEF( CondCont<NswDcsDbData> , 125092872 , 1 )
+CLASS_DEF( NswDcsDbData , 99551304 , 1 );
+CONDCONT_MIXED_DEF( NswDcsDbData , 125092872);
 
 #endif
-- 
GitLab