ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/EJetMet_CU/ProdTutorial/CUcollections/interface/CUtrigobj.h
Revision: 1.2
Committed: Tue Sep 28 15:45:21 2010 UTC (14 years, 7 months ago) by puigh
Content type: text/plain
Branch: MAIN
CVS Tags: V01-23, V01-22, V01-21, V01-20, V01-19, V01-18, V01-17, HEAD
Changes since 1.1: +4 -3 lines
Log Message:
include filter name

File Contents

# Content
1 #ifndef ProdTutorial_CUtrigobj_h
2 #define ProdTutorial_CUtrigobj_h
3
4 #include <vector>
5 #include <string>
6
7 // a simple class
8 struct CUtrigobj
9 {
10 explicit CUtrigobj(double v, std::string n):pt(v),eta(v),phi(v),filter(n) { }
11 CUtrigobj():pt(-99),eta(-99),phi(-99),filter("empty") { }
12 double pt,eta,phi;
13 std::string filter;
14
15 };
16
17 // this is our new product, it is simply a
18 // collection of CUtrigobj held in an std::vector
19 typedef std::vector<CUtrigobj> CUtrigobjCollection;
20
21 #endif