1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef DataFormats_HGCalReco_interface_HGCalSoAClusters_h
#define DataFormats_HGCalReco_interface_HGCalSoAClusters_h
#include "DataFormats/SoATemplate/interface/SoACommon.h"
#include "DataFormats/SoATemplate/interface/SoALayout.h"
#include "DataFormats/SoATemplate/interface/SoAView.h"
GENERATE_SOA_LAYOUT(HGCalSoAClustersLayout,
// columns: one value per element
SOA_COLUMN(float, x),
SOA_COLUMN(float, y),
SOA_COLUMN(float, z),
SOA_COLUMN(float, energy),
SOA_COLUMN(int, cells), // number of hits in the cluster
SOA_COLUMN(int, seed) // This is the index of the seed of each cluster inside the RecHit SoA
)
using HGCalSoAClusters = HGCalSoAClustersLayout<>;
#endif
|