Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-01-04 00:29:26

0001 #ifndef CondFormats_EcalObjects_EcalRecHitConditionsSoA_h
0002 #define CondFormats_EcalObjects_EcalRecHitConditionsSoA_h
0003 
0004 #include "DataFormats/SoATemplate/interface/SoACommon.h"
0005 #include "DataFormats/SoATemplate/interface/SoALayout.h"
0006 #include "DataFormats/SoATemplate/interface/SoAView.h"
0007 #include "DataFormats/Provenance/interface/Timestamp.h"
0008 
0009 GENERATE_SOA_LAYOUT(EcalRecHitConditionsSoALayout,
0010                     SOA_COLUMN(uint32_t, rawid),
0011                     // energy intercalibrations
0012                     SOA_COLUMN(float, intercalibConstants),
0013                     // time intercalibrations
0014                     SOA_COLUMN(float, timeCalibConstants),
0015                     // channel status
0016                     SOA_COLUMN(uint16_t, channelStatus),
0017                     // laser APDPN ratios
0018                     SOA_COLUMN(float, laserAPDPNRatios_p1),
0019                     SOA_COLUMN(float, laserAPDPNRatios_p2),
0020                     SOA_COLUMN(float, laserAPDPNRatios_p3),
0021                     SOA_COLUMN(edm::TimeValue_t, laserAPDPNRatios_t1),
0022                     SOA_COLUMN(edm::TimeValue_t, laserAPDPNRatios_t2),
0023                     SOA_COLUMN(edm::TimeValue_t, laserAPDPNRatios_t3),
0024                     // laser APDPN reference
0025                     SOA_COLUMN(float, laserAPDPNref),
0026                     // laser alphas
0027                     SOA_COLUMN(float, laserAlpha),
0028                     // linear corrections
0029                     SOA_COLUMN(float, linearCorrections_p1),
0030                     SOA_COLUMN(float, linearCorrections_p2),
0031                     SOA_COLUMN(float, linearCorrections_p3),
0032                     SOA_COLUMN(edm::TimeValue_t, linearCorrections_t1),
0033                     SOA_COLUMN(edm::TimeValue_t, linearCorrections_t2),
0034                     SOA_COLUMN(edm::TimeValue_t, linearCorrections_t3),
0035                     // ADC to GeV constants
0036                     SOA_SCALAR(float, adcToGeVConstantEB),
0037                     SOA_SCALAR(float, adcToGeVConstantEE),
0038                     // time offsets constants
0039                     SOA_SCALAR(float, timeOffsetConstantEB),
0040                     SOA_SCALAR(float, timeOffsetConstantEE),
0041                     // offset for hashed ID access to EE items of columns
0042                     SOA_SCALAR(uint32_t, offsetEE))
0043 
0044 using EcalRecHitConditionsSoA = EcalRecHitConditionsSoALayout<>;
0045 
0046 #endif