Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:18

0001 // Only for Unit test
0002 namespace eetest {
0003   struct CandForTest {
0004     CandForTest() {}
0005     CandForTest(float p, float e, float q) : d{p, e, q} {}
0006 
0007     float pt() const { return d[0]; }
0008     float eta() const { return d[1]; }
0009     float phi() const { return d[2]; }
0010 
0011     float d[3];
0012   };
0013 }  // namespace eetest