CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
eetest::CandForTest Struct Reference

#include <CandForTest.h>

Public Member Functions

 CandForTest ()
 
 CandForTest (float p, float e, float q)
 
float eta () const
 
float phi () const
 
float pt () const
 

Public Attributes

float d [3]
 

Detailed Description

Definition at line 3 of file CandForTest.h.

Constructor & Destructor Documentation

eetest::CandForTest::CandForTest ( )
inline

Definition at line 5 of file CandForTest.h.

5 {}
eetest::CandForTest::CandForTest ( float  p,
float  e,
float  q 
)
inline

Member Function Documentation

float eetest::CandForTest::eta ( ) const
inline

Definition at line 9 of file CandForTest.h.

References d.

Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().

9 { return d[1]; }
float eetest::CandForTest::phi ( ) const
inline

Definition at line 10 of file CandForTest.h.

References d.

Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().

10 { return d[2]; }
float eetest::CandForTest::pt ( ) const
inline

Member Data Documentation

float eetest::CandForTest::d[3]

Definition at line 12 of file CandForTest.h.

Referenced by eta(), phi(), and pt().