Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef DataFormats_HGCalReco_interface_HGCalSoARecHitsExtra_h
0002 #define DataFormats_HGCalReco_interface_HGCalSoARecHitsExtra_h
0003 
0004 #include "DataFormats/SoATemplate/interface/SoACommon.h"
0005 #include "DataFormats/SoATemplate/interface/SoALayout.h"
0006 #include "DataFormats/SoATemplate/interface/SoAView.h"
0007 
0008 // SoA layout with delta, rho, weight, nearestHigher, clusterIndex, layer, isSeed, and cellsCount fields
0009 GENERATE_SOA_LAYOUT(HGCalSoARecHitsExtraLayout,
0010                     // columns: one value per element
0011                     SOA_COLUMN(float, delta),
0012                     SOA_COLUMN(float, rho),
0013                     SOA_COLUMN(unsigned int, nearestHigher),
0014                     SOA_COLUMN(int, clusterIndex),
0015                     SOA_COLUMN(uint8_t, isSeed),
0016                     SOA_SCALAR(unsigned int, numberOfClustersScalar))
0017 
0018 using HGCalSoARecHitsExtra = HGCalSoARecHitsExtraLayout<>;
0019 
0020 #endif