Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-01-18 03:41:49

0001 #ifndef CondFormats_HGCalObjects_interface_HGCalConfigParamSoA_h
0002 #define CondFormats_HGCalObjects_interface_HGCalConfigParamSoA_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 //#include "CondFormats/HGCalObjects/interface/HGCalMappingModuleIndexer.h"
0012 
0013 namespace hgcalrechit {
0014 
0015   // Generate structure of ROC-level arrays (SoA) layout with RecHit dataformat
0016   GENERATE_SOA_LAYOUT(HGCalConfigParamSoALayout,
0017                       SOA_COLUMN(uint8_t, gain)  // for ADC to charge (fC) conversion (80, 160, 320 fC)
0018   )
0019   using HGCalConfigParamSoA = HGCalConfigParamSoALayout<>;
0020 
0021 }  // namespace hgcalrechit
0022 
0023 #endif  // CondFormats_HGCalObjects_interface_HGCalConfigParamSoA_h