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

Definition at line 5 of file CandForTest.h.

5 : d{p, e, q} {}

References MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, and data-class-funcs::q.

Member Function Documentation

◆ eta()

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

Definition at line 8 of file CandForTest.h.

8 { return d[1]; }

References d.

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

◆ phi()

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

Definition at line 9 of file CandForTest.h.

9 { return d[2]; }

References d.

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

◆ 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().

AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
data-class-funcs.q
q
Definition: data-class-funcs.py:169
eetest::CandForTest::d
float d[3]
Definition: CandForTest.h:11
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37