Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-07-03 04:18:11

0001 #ifndef DataFormats_HGCalReco_interface_HGCalSoAClustersExtra_h
0002 #define DataFormats_HGCalReco_interface_HGCalSoAClustersExtra_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 GENERATE_SOA_LAYOUT(
0009     HGCalSoAClustersExtraLayout,
0010     // columns: one value per element
0011     SOA_COLUMN(float, total_weight),
0012     SOA_COLUMN(float, total_weight_log),
0013     SOA_COLUMN(float, maxEnergyValue),
0014     SOA_COLUMN(int, maxEnergyIndex)  // Index in the RecHitSoA of the rechit with highest energy in each cluster
0015 )
0016 
0017 using HGCalSoAClustersExtra = HGCalSoAClustersExtraLayout<>;
0018 
0019 #endif