CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CandForTest.h
Go to the documentation of this file.
1 // Only for Unit test
2 namespace eetest {
3  struct CandForTest {
4 
6  CandForTest(float p,float e, float q) : d{p,e,q}{}
7 
8  float pt() const { return d[0]; }
9  float eta() const { return d[1]; }
10  float phi() const { return d[2]; }
11 
12  float d[3];
13 
14  };
15 }
float eta() const
Definition: CandForTest.h:9
float phi() const
Definition: CandForTest.h:10
CandForTest(float p, float e, float q)
Definition: CandForTest.h:6
float pt() const
Definition: CandForTest.h:8