CMS 3D CMS Logo

CandForTest.h
Go to the documentation of this file.
1 // Only for Unit test
2 namespace eetest {
3  struct CandForTest {
5  CandForTest(float p, float e, float q) : d{p, e, q} {}
6 
7  float pt() const { return d[0]; }
8  float eta() const { return d[1]; }
9  float phi() const { return d[2]; }
10 
11  float d[3];
12  };
13 } // namespace eetest
float eta() const
Definition: CandForTest.h:8
float phi() const
Definition: CandForTest.h:9
float pt() const
Definition: CandForTest.h:7
CandForTest(float p, float e, float q)
Definition: CandForTest.h:5