Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-01-13 02:34:44

0001 
0002 #include "CondCore/Utilities/interface/PayloadInspectorModule.h"
0003 #include "CondCore/Utilities/interface/PayloadInspector.h"
0004 #include "CondCore/CondDB/interface/Time.h"
0005 #include "CondCore/CondDB/interface/PayloadReader.h"
0006 #include "CondFormats/PPSObjects/interface/PPSTimingCalibration.h"
0007 #include "CondCore/CTPPSPlugins/interface/PPSTimingCalibrationPayloadInspectorHelper.h"
0008 #include <memory>
0009 #include <sstream>
0010 
0011 #include "TH2D.h"
0012 #include "TCanvas.h"
0013 #include "TLine.h"
0014 #include "TLatex.h"
0015 
0016 namespace {
0017 
0018   /************************************************
0019     History plots
0020   *************************************************/
0021 
0022   using PPSTimingCalibration_history_htdc_calibration_param0 =
0023       ParametersPerRun<PPSTimingCalibrationPI::parameter0, PPSTimingCalibration>;
0024   using PPSTimingCalibration_history_htdc_calibration_param1 =
0025       ParametersPerRun<PPSTimingCalibrationPI::parameter1, PPSTimingCalibration>;
0026   using PPSTimingCalibration_history_htdc_calibration_param2 =
0027       ParametersPerRun<PPSTimingCalibrationPI::parameter2, PPSTimingCalibration>;
0028   using PPSTimingCalibration_history_htdc_calibration_param3 =
0029       ParametersPerRun<PPSTimingCalibrationPI::parameter3, PPSTimingCalibration>;
0030 
0031   /************************************************
0032     Image plots
0033   *************************************************/
0034 
0035   using PPSTimingCalibration_htdc_calibration_param0_per_channels =
0036       ParametersPerChannel<PPSTimingCalibrationPI::parameter0, PPSTimingCalibration>;
0037   using PPSTimingCalibration_htdc_calibration_param1_per_channels =
0038       ParametersPerChannel<PPSTimingCalibrationPI::parameter1, PPSTimingCalibration>;
0039   using PPSTimingCalibration_htdc_calibration_param2_per_channels =
0040       ParametersPerChannel<PPSTimingCalibrationPI::parameter2, PPSTimingCalibration>;
0041   using PPSTimingCalibration_htdc_calibration_param3_per_channels =
0042       ParametersPerChannel<PPSTimingCalibrationPI::parameter3, PPSTimingCalibration>;
0043 
0044 }  // namespace
0045 
0046 PAYLOAD_INSPECTOR_MODULE(PPSTimingCalibration) {
0047   PAYLOAD_INSPECTOR_CLASS(PPSTimingCalibration_history_htdc_calibration_param0)
0048   PAYLOAD_INSPECTOR_CLASS(PPSTimingCalibration_history_htdc_calibration_param1)
0049   PAYLOAD_INSPECTOR_CLASS(PPSTimingCalibration_history_htdc_calibration_param2)
0050   PAYLOAD_INSPECTOR_CLASS(PPSTimingCalibration_history_htdc_calibration_param3)
0051 
0052   PAYLOAD_INSPECTOR_CLASS(PPSTimingCalibration_htdc_calibration_param0_per_channels)
0053   PAYLOAD_INSPECTOR_CLASS(PPSTimingCalibration_htdc_calibration_param1_per_channels)
0054   PAYLOAD_INSPECTOR_CLASS(PPSTimingCalibration_htdc_calibration_param2_per_channels)
0055   PAYLOAD_INSPECTOR_CLASS(PPSTimingCalibration_htdc_calibration_param3_per_channels)
0056 }