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
|