Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:18

0001 #ifndef DataFormats_TestObjects_TableTest_h
0002 #define DataFormats_TestObjects_TableTest_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     DataFormats/TestObjects
0006 // Class  :     TableTest
0007 //
0008 /**\class TableTest TableTest.h "DataFormats/TestObjects/interface/TableTest.h"
0009 
0010  Description: [one line class summary]
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:  Christopher Jones
0018 //         Created:  Thu, 31 Aug 2017 15:09:27 GMT
0019 //
0020 
0021 // system include files
0022 #include <string>
0023 
0024 // user include files
0025 #include "FWCore/SOA/interface/Column.h"
0026 #include "FWCore/SOA/interface/Table.h"
0027 
0028 // forward declarations
0029 namespace edmtest {
0030   //In an actual use of edm::soa::Table one would
0031   // define the columns in a place that allows sharing
0032   // of the definitions across many Tables
0033 
0034   SOA_DECLARE_COLUMN(AnInt, int, "anInt");
0035   SOA_DECLARE_COLUMN(AFloat, float, "aFloat");
0036   SOA_DECLARE_COLUMN(AString, std::string, "aString");
0037 
0038   using TableTest = edm::soa::Table<AnInt, AFloat, AString>;
0039 }  // namespace edmtest
0040 
0041 #endif