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

◆ CandForTest() [1/2]

eetest::CandForTest::CandForTest ( )
inline

Definition at line 4 of file CandForTest.h.

4 {}

◆ CandForTest() [2/2]

eetest::CandForTest::CandForTest ( float  p,
float  e,
float  q 
)
inline

Member Function Documentation

◆ eta()

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

Definition at line 8 of file CandForTest.h.

References d.

Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), Jet.Jet::jetID(), datamodel.Object::p4(), and Jet.Jet::puJetId().

8 { return d[1]; }

◆ phi()

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

Definition at line 9 of file CandForTest.h.

References d.

Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), datamodel.Object::p4(), and ntupleDataFormat.Track::phiPull().

9 { return d[2]; }

◆ pt()

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

Member Data Documentation

◆ d

float eetest::CandForTest::d[3]

Definition at line 11 of file CandForTest.h.

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