File indexing completed on 2024-04-06 11:58:03
0001 #ifndef CalibCalorimetry_EcalTrivialCondModules_EcalTrivialObjectAnalyzer_h
0002 #define CalibCalorimetry_EcalTrivialCondModules_EcalTrivialObjectAnalyzer_h
0003
0004
0005
0006
0007 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0008 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0009 #include "FWCore/Framework/interface/Event.h"
0010 #include "FWCore/Framework/interface/EventSetup.h"
0011
0012 #include "CondFormats/EcalObjects/interface/EcalPedestals.h"
0013 #include "CondFormats/DataRecord/interface/EcalPedestalsRcd.h"
0014
0015 #include "CondFormats/EcalObjects/interface/EcalWeightXtalGroups.h"
0016 #include "CondFormats/DataRecord/interface/EcalWeightXtalGroupsRcd.h"
0017
0018 #include "CondFormats/EcalObjects/interface/EcalTBWeights.h"
0019 #include "CondFormats/DataRecord/interface/EcalTBWeightsRcd.h"
0020
0021 #include "CondFormats/EcalObjects/interface/EcalIntercalibConstants.h"
0022 #include "CondFormats/DataRecord/interface/EcalIntercalibConstantsRcd.h"
0023
0024 #include "CondFormats/EcalObjects/interface/EcalIntercalibErrors.h"
0025 #include "CondFormats/DataRecord/interface/EcalIntercalibErrorsRcd.h"
0026
0027 #include "CondFormats/EcalObjects/interface/EcalTimeCalibConstants.h"
0028 #include "CondFormats/DataRecord/interface/EcalTimeCalibConstantsRcd.h"
0029
0030 #include "CondFormats/EcalObjects/interface/EcalTimeCalibErrors.h"
0031 #include "CondFormats/DataRecord/interface/EcalTimeCalibErrorsRcd.h"
0032
0033 #include "CondFormats/EcalObjects/interface/EcalTimeOffsetConstant.h"
0034 #include "CondFormats/DataRecord/interface/EcalTimeOffsetConstantRcd.h"
0035
0036 #include "CondFormats/EcalObjects/interface/EcalGainRatios.h"
0037 #include "CondFormats/DataRecord/interface/EcalGainRatiosRcd.h"
0038
0039 #include "CondFormats/EcalObjects/interface/EcalADCToGeVConstant.h"
0040 #include "CondFormats/DataRecord/interface/EcalADCToGeVConstantRcd.h"
0041
0042 #include "CondFormats/EcalObjects/interface/EcalLaserAlphas.h"
0043 #include "CondFormats/DataRecord/interface/EcalLaserAlphasRcd.h"
0044
0045 #include "CondFormats/EcalObjects/interface/EcalLaserAPDPNRatiosRef.h"
0046 #include "CondFormats/DataRecord/interface/EcalLaserAPDPNRatiosRefRcd.h"
0047
0048 #include "CondFormats/EcalObjects/interface/EcalLaserAPDPNRatios.h"
0049 #include "CondFormats/DataRecord/interface/EcalLaserAPDPNRatiosRcd.h"
0050
0051 #include "CondFormats/EcalObjects/interface/EcalClusterLocalContCorrParameters.h"
0052 #include "CondFormats/DataRecord/interface/EcalClusterLocalContCorrParametersRcd.h"
0053 #include "CondFormats/EcalObjects/interface/EcalClusterCrackCorrParameters.h"
0054 #include "CondFormats/DataRecord/interface/EcalClusterCrackCorrParametersRcd.h"
0055 #include "CondFormats/EcalObjects/interface/EcalClusterEnergyCorrectionParameters.h"
0056 #include "CondFormats/DataRecord/interface/EcalClusterEnergyCorrectionParametersRcd.h"
0057 #include "CondFormats/EcalObjects/interface/EcalClusterEnergyUncertaintyParameters.h"
0058 #include "CondFormats/DataRecord/interface/EcalClusterEnergyUncertaintyParametersRcd.h"
0059 #include "CondFormats/EcalObjects/interface/EcalClusterEnergyCorrectionObjectSpecificParameters.h"
0060 #include "CondFormats/DataRecord/interface/EcalClusterEnergyCorrectionObjectSpecificParametersRcd.h"
0061
0062 #include "CondFormats/EcalObjects/interface/EcalChannelStatus.h"
0063 #include "CondFormats/DataRecord/interface/EcalChannelStatusRcd.h"
0064
0065 #include "CondFormats/EcalObjects/interface/EcalSampleMask.h"
0066 #include "CondFormats/DataRecord/interface/EcalSampleMaskRcd.h"
0067
0068 class EcalTrivialObjectAnalyzer : public edm::one::EDAnalyzer<> {
0069 public:
0070 explicit EcalTrivialObjectAnalyzer(edm::ParameterSet const& p);
0071 ~EcalTrivialObjectAnalyzer() override {}
0072 void analyze(const edm::Event& e, const edm::EventSetup& c) override;
0073
0074 private:
0075 const edm::ESGetToken<EcalPedestals, EcalPedestalsRcd> pedestalsToken_;
0076 const edm::ESGetToken<EcalADCToGeVConstant, EcalADCToGeVConstantRcd> adcToGevConstantToken_;
0077 const edm::ESGetToken<EcalWeightXtalGroups, EcalWeightXtalGroupsRcd> weightXtalGroupsToken_;
0078 const edm::ESGetToken<EcalGainRatios, EcalGainRatiosRcd> gainRatiosToken_;
0079 const edm::ESGetToken<EcalIntercalibConstants, EcalIntercalibConstantsRcd> intercalibConstantsToken_;
0080 const edm::ESGetToken<EcalIntercalibErrors, EcalIntercalibErrorsRcd> intercalibErrorsToken_;
0081 const edm::ESGetToken<EcalTimeCalibConstants, EcalTimeCalibConstantsRcd> timeCalibConstantsToken_;
0082 const edm::ESGetToken<EcalTimeCalibErrors, EcalTimeCalibErrorsRcd> timeCalibErrorsToken_;
0083 const edm::ESGetToken<EcalTimeOffsetConstant, EcalTimeOffsetConstantRcd> timeOffsetConstantToken_;
0084 const edm::ESGetToken<EcalTBWeights, EcalTBWeightsRcd> tbWeightsToken_;
0085 const edm::ESGetToken<EcalClusterLocalContCorrParameters, EcalClusterLocalContCorrParametersRcd>
0086 clusterLocalContCorrToken_;
0087 const edm::ESGetToken<EcalClusterCrackCorrParameters, EcalClusterCrackCorrParametersRcd> clusterCrackCorrToken_;
0088 const edm::ESGetToken<EcalClusterEnergyCorrectionParameters, EcalClusterEnergyCorrectionParametersRcd>
0089 clusterEnergyCorrectionToken_;
0090 const edm::ESGetToken<EcalClusterEnergyUncertaintyParameters, EcalClusterEnergyUncertaintyParametersRcd>
0091 clusterEnergyUncertaintyToken_;
0092 const edm::ESGetToken<EcalClusterEnergyCorrectionObjectSpecificParameters,
0093 EcalClusterEnergyCorrectionObjectSpecificParametersRcd>
0094 clusterEnergyCorrectionObjectSpecificToken_;
0095 const edm::ESGetToken<EcalLaserAlphas, EcalLaserAlphasRcd> laserAlphasToken_;
0096 const edm::ESGetToken<EcalLaserAPDPNRatiosRef, EcalLaserAPDPNRatiosRefRcd> laserAPDPNRatiosRefToken_;
0097 const edm::ESGetToken<EcalLaserAPDPNRatios, EcalLaserAPDPNRatiosRcd> laserAPDPNRatiosToken_;
0098 const edm::ESGetToken<EcalChannelStatus, EcalChannelStatusRcd> channelStatusToken_;
0099 const edm::ESGetToken<EcalSampleMask, EcalSampleMaskRcd> sampleMaskToken_;
0100 };
0101 #endif