Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:52

0001 #include "CondCore/PopCon/interface/PopConAnalyzer.h"
0002 #include "FWCore/Framework/interface/MakerMacros.h"
0003 #include "CondTools/Ecal/interface/EcalCondHandler.h"
0004 
0005 #include "CondFormats/EcalObjects/interface/EcalGainRatios.h"
0006 #include "CondTools/Ecal/interface/EcalGainRatiosXMLTranslator.h"
0007 
0008 #include "CondFormats/EcalObjects/interface/EcalPedestals.h"
0009 #include "CondTools/Ecal/interface/EcalPedestalsXMLTranslator.h"
0010 
0011 #include "CondFormats/EcalObjects/interface/EcalPulseShapes.h"
0012 #include "CondTools/Ecal/interface/EcalPulseShapesXMLTranslator.h"
0013 
0014 #include "CondFormats/EcalObjects/interface/EcalPulseSymmCovariances.h"
0015 #include "CondTools/Ecal/interface/EcalPulseSymmCovariancesXMLTranslator.h"
0016 
0017 #include "CondFormats/EcalObjects/interface/EcalADCToGeVConstant.h"
0018 #include "CondTools/Ecal/interface/EcalADCToGeVXMLTranslator.h"
0019 
0020 #include "CondFormats/EcalObjects/interface/EcalTBWeights.h"
0021 #include "CondTools/Ecal/interface/EcalTBWeightsXMLTranslator.h"
0022 
0023 #include "CondFormats/EcalObjects/interface/EcalWeightXtalGroups.h"
0024 #include "CondTools/Ecal/interface/EcalWeightGroupXMLTranslator.h"
0025 
0026 #include "CondFormats/EcalObjects/interface/EcalChannelStatus.h"
0027 #include "CondTools/Ecal/interface/EcalChannelStatusXMLTranslator.h"
0028 
0029 #include "CondFormats/EcalObjects/interface/EcalDAQTowerStatus.h"
0030 #include "CondTools/Ecal/interface/EcalDAQTowerStatusXMLTranslator.h"
0031 
0032 #include "CondFormats/EcalObjects/interface/EcalDCSTowerStatus.h"
0033 #include "CondTools/Ecal/interface/EcalDCSTowerStatusXMLTranslator.h"
0034 
0035 //  #include "CondFormats/EcalObjects/interface/EcalLinearCorrections.h"
0036 //  #include "CondTools/Ecal/interface/EcalFloatCondObjectContainerXMLTranslator.h"
0037 
0038 #include "CondFormats/EcalObjects/interface/EcalIntercalibConstants.h"
0039 #include "CondTools/Ecal/interface/EcalFloatCondObjectContainerXMLTranslator.h"
0040 
0041 #include "CondFormats/EcalObjects/interface/EcalIntercalibErrors.h"
0042 
0043 #include "CondFormats/EcalObjects/interface/EcalIntercalibConstantsMC.h"
0044 
0045 #include "CondFormats/EcalObjects/interface/EcalTimeCalibConstants.h"
0046 #include "CondFormats/EcalObjects/interface/EcalTimeCalibErrors.h"
0047 
0048 #include "CondFormats/EcalObjects/interface/EcalTimeOffsetConstant.h"
0049 #include "CondTools/Ecal/interface/EcalTimeOffsetXMLTranslator.h"
0050 
0051 typedef EcalCondHandler<EcalGainRatios, EcalGainRatiosXMLTranslator> EcalGainRatiosHandler;
0052 typedef popcon::PopConAnalyzer<EcalGainRatiosHandler> EcalGainRatiosAnalyzer;
0053 
0054 typedef EcalCondHandler<EcalPedestals, EcalPedestalsXMLTranslator> EcalPedestalsHandler;
0055 typedef popcon::PopConAnalyzer<EcalPedestalsHandler> EcalPedestalsAnalyzer;
0056 
0057 typedef EcalCondHandler<EcalPulseShapes, EcalPulseShapesXMLTranslator> EcalPulseShapesHandler;
0058 typedef popcon::PopConAnalyzer<EcalPulseShapesHandler> EcalPulseShapesAnalyzer;
0059 
0060 typedef EcalCondHandler<EcalPulseSymmCovariances, EcalPulseSymmCovariancesXMLTranslator> EcalPulseSymmCovariancesHandler;
0061 typedef popcon::PopConAnalyzer<EcalPulseSymmCovariancesHandler> EcalPulseSymmCovariancesAnalyzer;
0062 
0063 typedef EcalCondHandler<EcalADCToGeVConstant, EcalADCToGeVXMLTranslator> EcalADCToGeVConstantHandler;
0064 typedef popcon::PopConAnalyzer<EcalADCToGeVConstantHandler> EcalADCToGeVConstantAnalyzer;
0065 
0066 typedef EcalCondHandler<EcalWeightXtalGroups, EcalWeightGroupXMLTranslator> EcalWeightGroupHandler;
0067 typedef popcon::PopConAnalyzer<EcalWeightGroupHandler> EcalWeightGroupAnalyzer;
0068 
0069 typedef EcalCondHandler<EcalChannelStatus, EcalChannelStatusXMLTranslator> EcalChannelStatusHandler;
0070 typedef popcon::PopConAnalyzer<EcalChannelStatusHandler> EcalChannelStatusAnalyzer;
0071 
0072 typedef EcalCondHandler<EcalDAQTowerStatus, EcalDAQTowerStatusXMLTranslator> EcalDAQTowerStatusHandler;
0073 typedef popcon::PopConAnalyzer<EcalDAQTowerStatusHandler> EcalDAQTowerStatusAnalyzer;
0074 
0075 typedef EcalCondHandler<EcalDCSTowerStatus, EcalDCSTowerStatusXMLTranslator> EcalDCSTowerStatusHandler;
0076 typedef popcon::PopConAnalyzer<EcalDCSTowerStatusHandler> EcalDCSTowerStatusAnalyzer;
0077 
0078 typedef EcalCondHandler<EcalTBWeights, EcalTBWeightsXMLTranslator> EcalTBWeightsHandler;
0079 
0080 typedef popcon::PopConAnalyzer<EcalTBWeightsHandler> EcalTBWeightsAnalyzer;
0081 
0082 // typedef EcalCondHandler<EcalLinearCorrections,
0083 //          EcalFloatCondObjectContainerXMLTranslator> EcalLinearCorrectionsHandler;
0084 
0085 // typedef popcon::PopConAnalyzer<EcalLinearCorrectionsHandler>
0086 //                                         EcalLinearCorrectionsAnalyzer;
0087 
0088 typedef EcalCondHandler<EcalIntercalibConstants, EcalFloatCondObjectContainerXMLTranslator>
0089     EcalIntercalibConstantsHandler;
0090 
0091 typedef popcon::PopConAnalyzer<EcalIntercalibConstantsHandler> EcalIntercalibConstantsAnalyzer;
0092 
0093 typedef EcalCondHandler<EcalIntercalibErrors, EcalFloatCondObjectContainerXMLTranslator> EcalIntercalibErrorsHandler;
0094 
0095 typedef popcon::PopConAnalyzer<EcalIntercalibErrorsHandler> EcalIntercalibErrorsAnalyzer;
0096 
0097 typedef EcalCondHandler<EcalIntercalibConstantsMC, EcalFloatCondObjectContainerXMLTranslator>
0098     EcalIntercalibConstantsMCHandler;
0099 
0100 typedef popcon::PopConAnalyzer<EcalIntercalibConstantsMCHandler> EcalIntercalibConstantsMCAnalyzer;
0101 
0102 typedef EcalCondHandler<EcalTimeCalibConstants, EcalFloatCondObjectContainerXMLTranslator> EcalTimeCalibConstantsHandler;
0103 
0104 typedef popcon::PopConAnalyzer<EcalTimeCalibConstantsHandler> EcalTimeCalibConstantsAnalyzer;
0105 
0106 typedef EcalCondHandler<EcalTimeCalibErrors, EcalFloatCondObjectContainerXMLTranslator> EcalTimeCalibErrorsHandler;
0107 
0108 typedef popcon::PopConAnalyzer<EcalTimeCalibErrorsHandler> EcalTimeCalibErrorsAnalyzer;
0109 
0110 typedef EcalCondHandler<EcalTimeOffsetConstant, EcalTimeOffsetXMLTranslator> EcalTimeOffsetConstantHandler;
0111 typedef popcon::PopConAnalyzer<EcalTimeOffsetConstantHandler> EcalTimeOffsetConstantAnalyzer;
0112 
0113 //define this as a plug-in
0114 DEFINE_FWK_MODULE(EcalGainRatiosAnalyzer);
0115 DEFINE_FWK_MODULE(EcalADCToGeVConstantAnalyzer);
0116 DEFINE_FWK_MODULE(EcalChannelStatusAnalyzer);
0117 DEFINE_FWK_MODULE(EcalDAQTowerStatusAnalyzer);
0118 DEFINE_FWK_MODULE(EcalDCSTowerStatusAnalyzer);
0119 DEFINE_FWK_MODULE(EcalTBWeightsAnalyzer);
0120 DEFINE_FWK_MODULE(EcalWeightGroupAnalyzer);
0121 DEFINE_FWK_MODULE(EcalIntercalibConstantsAnalyzer);
0122 DEFINE_FWK_MODULE(EcalIntercalibErrorsAnalyzer);
0123 DEFINE_FWK_MODULE(EcalIntercalibConstantsMCAnalyzer);
0124 DEFINE_FWK_MODULE(EcalTimeCalibConstantsAnalyzer);
0125 DEFINE_FWK_MODULE(EcalTimeCalibErrorsAnalyzer);
0126 DEFINE_FWK_MODULE(EcalTimeOffsetConstantAnalyzer);
0127 // DEFINE_FWK_MODULE(EcalLinearCorrectionsAnalyzer);