Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:31

0001 /****************************************************************************
0002  *
0003  * This is a part of PPS PI software.
0004  *
0005  ****************************************************************************/
0006 
0007 #include "CondCore/Utilities/interface/PayloadInspectorModule.h"
0008 #include "CondCore/Utilities/interface/PayloadInspector.h"
0009 #include "CondCore/CondDB/interface/Time.h"
0010 #include "CondCore/CondDB/interface/PayloadReader.h"
0011 #include "CondFormats/PPSObjects/interface/CTPPSRPAlignmentCorrectionsData.h"
0012 #include "CondCore/CTPPSPlugins/interface/CTPPSRPAlignmentCorrectionsDataHelper.h"
0013 
0014 namespace {
0015   typedef RPShift_History<CTPPSRPAlignment::RP::RP3, CTPPSRPAlignment::Shift::x, false, CTPPSRPAlignmentCorrectionsData>
0016       RPShift_History_RP3_x;
0017   typedef RPShift_History<CTPPSRPAlignment::RP::RP23, CTPPSRPAlignment::Shift::x, false, CTPPSRPAlignmentCorrectionsData>
0018       RPShift_History_RP23_x;
0019   typedef RPShift_History<CTPPSRPAlignment::RP::RP103, CTPPSRPAlignment::Shift::x, false, CTPPSRPAlignmentCorrectionsData>
0020       RPShift_History_RP103_x;
0021   typedef RPShift_History<CTPPSRPAlignment::RP::RP123, CTPPSRPAlignment::Shift::x, false, CTPPSRPAlignmentCorrectionsData>
0022       RPShift_History_RP123_x;
0023 
0024   typedef RPShift_History<CTPPSRPAlignment::RP::RP3, CTPPSRPAlignment::Shift::x, true, CTPPSRPAlignmentCorrectionsData>
0025       RPShift_History_RP3_x_uncertainty;
0026   typedef RPShift_History<CTPPSRPAlignment::RP::RP23, CTPPSRPAlignment::Shift::x, true, CTPPSRPAlignmentCorrectionsData>
0027       RPShift_History_RP23_x_uncertainty;
0028   typedef RPShift_History<CTPPSRPAlignment::RP::RP103, CTPPSRPAlignment::Shift::x, true, CTPPSRPAlignmentCorrectionsData>
0029       RPShift_History_RP103_x_uncertainty;
0030   typedef RPShift_History<CTPPSRPAlignment::RP::RP123, CTPPSRPAlignment::Shift::x, true, CTPPSRPAlignmentCorrectionsData>
0031       RPShift_History_RP123_x_uncertainty;
0032 
0033   typedef RPShift_History<CTPPSRPAlignment::RP::RP3, CTPPSRPAlignment::Shift::y, false, CTPPSRPAlignmentCorrectionsData>
0034       RPShift_History_RP3_y;
0035   typedef RPShift_History<CTPPSRPAlignment::RP::RP23, CTPPSRPAlignment::Shift::y, false, CTPPSRPAlignmentCorrectionsData>
0036       RPShift_History_RP23_y;
0037   typedef RPShift_History<CTPPSRPAlignment::RP::RP103, CTPPSRPAlignment::Shift::y, false, CTPPSRPAlignmentCorrectionsData>
0038       RPShift_History_RP103_y;
0039   typedef RPShift_History<CTPPSRPAlignment::RP::RP123, CTPPSRPAlignment::Shift::y, false, CTPPSRPAlignmentCorrectionsData>
0040       RPShift_History_RP123_y;
0041 
0042   typedef RPShift_History<CTPPSRPAlignment::RP::RP3, CTPPSRPAlignment::Shift::y, true, CTPPSRPAlignmentCorrectionsData>
0043       RPShift_History_RP3_y_uncertainty;
0044   typedef RPShift_History<CTPPSRPAlignment::RP::RP23, CTPPSRPAlignment::Shift::y, true, CTPPSRPAlignmentCorrectionsData>
0045       RPShift_History_RP23_y_uncertainty;
0046   typedef RPShift_History<CTPPSRPAlignment::RP::RP103, CTPPSRPAlignment::Shift::y, true, CTPPSRPAlignmentCorrectionsData>
0047       RPShift_History_RP103_y_uncertainty;
0048   typedef RPShift_History<CTPPSRPAlignment::RP::RP123, CTPPSRPAlignment::Shift::y, true, CTPPSRPAlignmentCorrectionsData>
0049       RPShift_History_RP123_y_uncertainty;
0050 }  // namespace
0051 
0052 PAYLOAD_INSPECTOR_MODULE(CTPPSRPAlignmentCorrectionsData) {
0053   PAYLOAD_INSPECTOR_CLASS(RPShift_History_RP3_x);
0054   PAYLOAD_INSPECTOR_CLASS(RPShift_History_RP23_x);
0055   PAYLOAD_INSPECTOR_CLASS(RPShift_History_RP103_x);
0056   PAYLOAD_INSPECTOR_CLASS(RPShift_History_RP123_x);
0057 
0058   PAYLOAD_INSPECTOR_CLASS(RPShift_History_RP3_x_uncertainty);
0059   PAYLOAD_INSPECTOR_CLASS(RPShift_History_RP23_x_uncertainty);
0060   PAYLOAD_INSPECTOR_CLASS(RPShift_History_RP103_x_uncertainty);
0061   PAYLOAD_INSPECTOR_CLASS(RPShift_History_RP123_x_uncertainty);
0062 
0063   PAYLOAD_INSPECTOR_CLASS(RPShift_History_RP3_y);
0064   PAYLOAD_INSPECTOR_CLASS(RPShift_History_RP23_y);
0065   PAYLOAD_INSPECTOR_CLASS(RPShift_History_RP103_y);
0066   PAYLOAD_INSPECTOR_CLASS(RPShift_History_RP123_y);
0067 
0068   PAYLOAD_INSPECTOR_CLASS(RPShift_History_RP3_y_uncertainty);
0069   PAYLOAD_INSPECTOR_CLASS(RPShift_History_RP23_y_uncertainty);
0070   PAYLOAD_INSPECTOR_CLASS(RPShift_History_RP103_y_uncertainty);
0071   PAYLOAD_INSPECTOR_CLASS(RPShift_History_RP123_y_uncertainty);
0072 }