Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-06-26 23:26:30

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