Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef DataFormats_HGCalReco_interface_HGCalSoAClusters_h
0002 #define DataFormats_HGCalReco_interface_HGCalSoAClusters_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(HGCalSoAClustersLayout,
0009                     // columns: one value per element
0010                     SOA_COLUMN(float, x),
0011                     SOA_COLUMN(float, y),
0012                     SOA_COLUMN(float, z),
0013                     SOA_COLUMN(float, energy),
0014                     SOA_COLUMN(int, cells),  // number of hits in the cluster
0015                     SOA_COLUMN(int, seed)    // This is the index of the seed of each cluster inside the RecHit SoA
0016 )
0017 
0018 using HGCalSoAClusters = HGCalSoAClustersLayout<>;
0019 
0020 #endif