CMS 3D CMS Logo

TableView Class Reference

#include "TableView.h"

Detailed Description

Description: A view of certain columns of a edm::soa::Table

Usage: A TableView<> type can be constructed from any edm::soa::Table<> that shares the same template arguments as the TableView. E.g.

TableView<Eta,Phi> epView{epTable}; //compiles
TableView<Phi,Eta> peView{epTable}; //compiles and works properly
TableView<Eta> eView{epTable}; //compiles
//TableVew<Delta> dView{epTable}; //does not compile

TableViews are particularly useful when defining functions intended to operate on Tables.

Table
TableView
edm::soa::TableView
Definition: TableView.h:49
edm::soa::Table
Definition: Table.h:137