File indexing completed on 2024-04-06 12:01:18
0001 #ifndef CommonTools_Utils_KinematicTables_h
0002 #define CommonTools_Utils_KinematicTables_h
0003
0004 #include "CommonTools/Utils/interface/KinematicColumns.h"
0005 #include "FWCore/SOA/interface/Table.h"
0006 #include "FWCore/SOA/interface/TableView.h"
0007
0008 namespace edm::soa {
0009
0010 using EtaPhiTable = edm::soa::Table<col::Eta, col::Phi>;
0011 using EtaPhiTableView = edm::soa::ViewFromTable_t<EtaPhiTable>;
0012
0013 using PtEtaPhiTable = edm::soa::AddColumns_t<EtaPhiTable, std::tuple<col::Pt>>;
0014 using PtEtaPhiTableView = edm::soa::ViewFromTable_t<PtEtaPhiTable>;
0015
0016 }
0017
0018 #endif