From 760f7be375bb4c1c7626fbc9aea99e83ead1965e Mon Sep 17 00:00:00 2001 From: Saumya Phor Date: Mon, 18 Mar 2024 23:22:12 +0100 Subject: [PATCH] Add GEM channel dump utilities --- CondCore/Utilities/BuildFile.xml | 1 + CondCore/Utilities/plugins/Module_2XML.cc | 3 +++ CondCore/Utilities/src/CondDBFetch.cc | 3 +++ CondCore/Utilities/src/CondDBImport.cc | 3 +++ CondCore/Utilities/src/CondFormats.h | 3 +++ 5 files changed, 13 insertions(+) diff --git a/CondCore/Utilities/BuildFile.xml b/CondCore/Utilities/BuildFile.xml index c107dfe203abb..e1e263445c41a 100644 --- a/CondCore/Utilities/BuildFile.xml +++ b/CondCore/Utilities/BuildFile.xml @@ -16,6 +16,7 @@ + diff --git a/CondCore/Utilities/plugins/Module_2XML.cc b/CondCore/Utilities/plugins/Module_2XML.cc index 679e75b2c7b8b..0807c3ddd4b4e 100644 --- a/CondCore/Utilities/plugins/Module_2XML.cc +++ b/CondCore/Utilities/plugins/Module_2XML.cc @@ -127,6 +127,9 @@ PAYLOAD_2XML_MODULE(pluginUtilities_payload2xml) { PAYLOAD_2XML_CLASS(FileBlob); PAYLOAD_2XML_CLASS(GBRForest); PAYLOAD_2XML_CLASS(GBRForestD); + PAYLOAD_2XML_CLASS(GEMChMap); + PAYLOAD_2XML_CLASS(GEMMaskedStrips); + PAYLOAD_2XML_CLASS(GEMDeadStrips); //PAYLOAD_2XML_CLASS( HBHENegativeEFilter ); PAYLOAD_2XML_CLASS(HcalChannelQuality); PAYLOAD_2XML_CLASS(HcalDcsValues); diff --git a/CondCore/Utilities/src/CondDBFetch.cc b/CondCore/Utilities/src/CondDBFetch.cc index 7816a0641626c..ae4ab8ae860db 100644 --- a/CondCore/Utilities/src/CondDBFetch.cc +++ b/CondCore/Utilities/src/CondDBFetch.cc @@ -154,6 +154,9 @@ namespace cond { FETCH_PAYLOAD_CASE(FileBlob) FETCH_PAYLOAD_CASE(GBRForest) FETCH_PAYLOAD_CASE(GBRForestD) + FETCH_PAYLOAD_CASE(GEMChMap) + FETCH_PAYLOAD_CASE(GEMMaskedStrips) + FETCH_PAYLOAD_CASE(GEMDeadStrips) FETCH_PAYLOAD_CASE(HBHENegativeEFilter) FETCH_PAYLOAD_CASE(HFPhase1PMTParams) FETCH_PAYLOAD_CASE(HcalChannelQuality) diff --git a/CondCore/Utilities/src/CondDBImport.cc b/CondCore/Utilities/src/CondDBImport.cc index 7d30541b85f86..3632a2cb7604b 100644 --- a/CondCore/Utilities/src/CondDBImport.cc +++ b/CondCore/Utilities/src/CondDBImport.cc @@ -174,6 +174,9 @@ namespace cond { IMPORT_PAYLOAD_CASE(FileBlob) IMPORT_PAYLOAD_CASE(GBRForest) IMPORT_PAYLOAD_CASE(GBRForestD) + IMPORT_PAYLOAD_CASE(GEMChMap) + IMPORT_PAYLOAD_CASE(GEMMaskedStrips) + IMPORT_PAYLOAD_CASE(GEMDeadStrips) IMPORT_PAYLOAD_CASE(HBHENegativeEFilter) IMPORT_PAYLOAD_CASE(HFPhase1PMTParams) IMPORT_PAYLOAD_CASE(HcalChannelQuality) diff --git a/CondCore/Utilities/src/CondFormats.h b/CondCore/Utilities/src/CondFormats.h index 94ab553acd9f0..0ca66276b2830 100644 --- a/CondCore/Utilities/src/CondFormats.h +++ b/CondCore/Utilities/src/CondFormats.h @@ -81,6 +81,9 @@ #include "CondFormats/EcalObjects/interface/EcalEBPhase2TPGTimeWeights.h" #include "CondFormats/GBRForest/interface/GBRForest.h" #include "CondFormats/GBRForest/interface/GBRForestD.h" +#include "CondFormats/GEMObjects/interface/GEMChMap.h" +#include "CondFormats/GEMObjects/interface/GEMMaskedStrips.h" +#include "CondFormats/GEMObjects/interface/GEMDeadStrips.h" #include "CondFormats/HcalObjects/interface/AbsOOTPileupCorrection.h" #include "CondFormats/HcalObjects/interface/HcalElectronicsMap.h" #include "CondFormats/HcalObjects/interface/OOTPileupCorrectionBuffer.h"