ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/EJetMet_CU/ProdTutorial/CUcollections/interface/CUtrigger.h
Revision: 1.1
Committed: Fri Nov 6 13:00:34 2009 UTC (15 years, 5 months ago) by puigh
Content type: text/plain
Branch: MAIN
CVS Tags: V01-16, V01-15, V01-14, V01-13, V01-12, V01-11, V01-10, V01-09, V01-08, V01-07, V01-06, V01-05, V01-04, V01-03, V01-02, V01-01, V01-00
Log Message:
first commit

File Contents

# User Rev Content
1 puigh 1.1 #ifndef ProdTutorial_CUtrigger_h
2     #define ProdTutorial_CUtrigger_h
3    
4     #include <vector>
5     #include <string>
6    
7     // a simple class
8     struct CUtrigger
9     {
10     explicit CUtrigger(int c, std::string n):pass(c),name(n) { }
11     CUtrigger():pass(-99),name("empty") { }
12     int pass;
13     std::string name;
14     };
15    
16     // this is our new product, it is simply a
17     // collection of CUtrigger held in an std::vector
18     typedef std::vector<CUtrigger> CUtriggerCollection;
19    
20     #endif