File indexing completed on 2024-04-06 12:01:45
0001 #include "CondCore/ESSources/interface/registration_macros.h"
0002
0003 #include "CondFormats/DataRecord/interface/SiPixelCPEGenericErrorParmRcd.h"
0004 #include "CondFormats/DataRecord/interface/SiPixelCalibConfigurationRcd.h"
0005 #include "CondFormats/DataRecord/interface/SiPixelDynamicInefficiencyRcd.h"
0006 #include "CondFormats/DataRecord/interface/SiPixelFedCablingMapRcd.h"
0007 #include "CondFormats/DataRecord/interface/SiPixelGainCalibrationForHLTRcd.h"
0008 #include "CondFormats/DataRecord/interface/SiPixelGainCalibrationOfflineRcd.h"
0009 #include "CondFormats/DataRecord/interface/SiPixelGainCalibrationRcd.h"
0010 #include "CondFormats/DataRecord/interface/SiPixelLorentzAngleRcd.h"
0011 #include "CondFormats/DataRecord/interface/SiPixelPerformanceSummaryRcd.h"
0012 #include "CondFormats/DataRecord/interface/SiPixelQualityFromDbRcd.h"
0013 #include "CondFormats/DataRecord/interface/SiPixelQualityRcd.h"
0014 #include "CondFormats/DataRecord/interface/SiPixelStatusScenarioProbabilityRcd.h"
0015 #include "CondFormats/DataRecord/interface/SiPixelStatusScenariosRcd.h"
0016 #include "CondFormats/DataRecord/interface/SiPixelVCalRcd.h"
0017 #include "CondFormats/SiPixelObjects/interface/SiPixelCPEGenericErrorParm.h"
0018 #include "CondFormats/SiPixelObjects/interface/SiPixelCalibConfiguration.h"
0019 #include "CondFormats/SiPixelObjects/interface/SiPixelDynamicInefficiency.h"
0020 #include "CondFormats/SiPixelObjects/interface/SiPixelFEDChannelContainer.h"
0021 #include "CondFormats/SiPixelObjects/interface/SiPixelFedCablingMap.h"
0022 #include "CondFormats/SiPixelObjects/interface/SiPixelGainCalibration.h"
0023 #include "CondFormats/SiPixelObjects/interface/SiPixelGainCalibrationForHLT.h"
0024 #include "CondFormats/SiPixelObjects/interface/SiPixelGainCalibrationOffline.h"
0025 #include "CondFormats/SiPixelObjects/interface/SiPixelLorentzAngle.h"
0026 #include "CondFormats/SiPixelObjects/interface/SiPixelPerformanceSummary.h"
0027 #include "CondFormats/SiPixelObjects/interface/SiPixelQuality.h"
0028 #include "CondFormats/SiPixelObjects/interface/SiPixelQualityProbabilities.h"
0029 #include "CondFormats/SiPixelObjects/interface/SiPixelVCal.h"
0030
0031 #include "CondFormats/DataRecord/interface/SiPixelTemplateDBObjectRcd.h"
0032 #include "CondFormats/SiPixelObjects/interface/SiPixelTemplateDBObject.h"
0033
0034 #include "CondFormats/DataRecord/interface/SiPixel2DTemplateDBObjectRcd.h"
0035 #include "CondFormats/SiPixelObjects/interface/SiPixel2DTemplateDBObject.h"
0036
0037 #include "CondFormats/DataRecord/interface/PixelDCSRcds.h"
0038 #include "CondFormats/DataRecord/interface/SiPixelGenErrorDBObjectRcd.h"
0039 #include "CondFormats/SiPixelObjects/interface/PixelDCSObject.h"
0040 #include "CondFormats/SiPixelObjects/interface/SiPixelGenErrorDBObject.h"
0041
0042 #include "CondFormats/DataRecord/interface/SiPixelGainCalibrationForHLTSimRcd.h"
0043 #include "CondFormats/DataRecord/interface/SiPixelGainCalibrationOfflineSimRcd.h"
0044 #include "CondFormats/DataRecord/interface/SiPixelLorentzAngleSimRcd.h"
0045 #include "CondFormats/DataRecord/interface/SiPixelVCalSimRcd.h"
0046
0047 namespace {
0048 struct InitRocs {
0049 void operator()(SiPixelFedCablingMap& m) { m.initializeRocs(); }
0050 };
0051 template <typename G>
0052 struct InitGains {
0053 void operator()(G& g) { g.initialize(); }
0054 };
0055 }
0056
0057 REGISTER_PLUGIN_INIT(SiPixelFedCablingMapRcd, SiPixelFedCablingMap, InitRocs);
0058 REGISTER_PLUGIN_INIT(SiPixelGainCalibrationRcd, SiPixelGainCalibration, InitGains<SiPixelGainCalibration>);
0059 REGISTER_PLUGIN_INIT(SiPixelGainCalibrationForHLTRcd,
0060 SiPixelGainCalibrationForHLT,
0061 InitGains<SiPixelGainCalibrationForHLT>);
0062 REGISTER_PLUGIN_INIT(SiPixelGainCalibrationOfflineRcd,
0063 SiPixelGainCalibrationOffline,
0064 InitGains<SiPixelGainCalibrationOffline>);
0065 REGISTER_PLUGIN_NO_SERIAL_INIT(SiPixelGainCalibrationForHLTSimRcd,
0066 SiPixelGainCalibrationForHLT,
0067 InitGains<SiPixelGainCalibrationForHLT>);
0068 REGISTER_PLUGIN_NO_SERIAL_INIT(SiPixelGainCalibrationOfflineSimRcd,
0069 SiPixelGainCalibrationOffline,
0070 InitGains<SiPixelGainCalibrationOffline>);
0071 REGISTER_PLUGIN(SiPixelLorentzAngleRcd, SiPixelLorentzAngle);
0072 REGISTER_PLUGIN_NO_SERIAL(SiPixelLorentzAngleSimRcd, SiPixelLorentzAngle);
0073 REGISTER_PLUGIN(SiPixelVCalRcd, SiPixelVCal);
0074 REGISTER_PLUGIN_NO_SERIAL(SiPixelVCalSimRcd, SiPixelVCal);
0075 REGISTER_PLUGIN(SiPixelDynamicInefficiencyRcd, SiPixelDynamicInefficiency);
0076 REGISTER_PLUGIN(SiPixelCalibConfigurationRcd, SiPixelCalibConfiguration);
0077 REGISTER_PLUGIN(SiPixelPerformanceSummaryRcd, SiPixelPerformanceSummary);
0078 REGISTER_PLUGIN(SiPixelQualityFromDbRcd, SiPixelQuality);
0079 REGISTER_PLUGIN(SiPixelStatusScenariosRcd, SiPixelFEDChannelContainer);
0080 REGISTER_PLUGIN(SiPixelStatusScenarioProbabilityRcd, SiPixelQualityProbabilities);
0081 REGISTER_PLUGIN(SiPixelCPEGenericErrorParmRcd, SiPixelCPEGenericErrorParm);
0082 REGISTER_PLUGIN(SiPixelTemplateDBObjectRcd, SiPixelTemplateDBObject);
0083 REGISTER_PLUGIN(SiPixel2DTemplateDBObjectRcd, SiPixel2DTemplateDBObject);
0084 REGISTER_PLUGIN(SiPixelGenErrorDBObjectRcd, SiPixelGenErrorDBObject);
0085
0086 REGISTER_PLUGIN(PixelCaenChannelIsOnRcd, PixelDCSObject<bool>);
0087 REGISTER_PLUGIN(PixelCaenChannelIMonRcd, PixelDCSObject<float>);
0088 REGISTER_PLUGIN(PixelCaenChannelRcd, PixelDCSObject<CaenChannel>);
0089
0090 REGISTER_PLUGIN_NO_SERIAL(SiPixelDetVOffRcd, SiStripDetVOff);