Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-07-03 04:17:41

0001 #ifndef DataFormats_HGCalReco_interface_HGCalSoARecHits_h
0002 #define DataFormats_HGCalReco_interface_HGCalSoARecHits_h
0003 
0004 #include <Eigen/Core>
0005 #include <Eigen/Dense>
0006 
0007 #include "DataFormats/SoATemplate/interface/SoACommon.h"
0008 #include "DataFormats/SoATemplate/interface/SoALayout.h"
0009 #include "DataFormats/SoATemplate/interface/SoAView.h"
0010 
0011 // SoA layout with dim1, dim2, weight, sigmaNoise, recHitsIndex layer and cellsCount fields
0012 GENERATE_SOA_LAYOUT(HGCalSoARecHitsLayout,
0013                     // columns: one value per element
0014                     SOA_COLUMN(float, dim1),
0015                     SOA_COLUMN(float, dim2),
0016                     SOA_COLUMN(float, dim3),
0017                     SOA_COLUMN(int, layer),
0018                     SOA_COLUMN(float, weight),
0019                     SOA_COLUMN(float, sigmaNoise),
0020                     SOA_COLUMN(unsigned int, recHitIndex),
0021                     SOA_COLUMN(uint32_t, detid),
0022                     SOA_COLUMN(float, time),
0023                     SOA_COLUMN(float, timeError))
0024 
0025 using HGCalSoARecHits = HGCalSoARecHitsLayout<>;
0026 
0027 #endif  // DataFormats_PortableTestObjects_interface_TestSoA_h