CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ScoutingParticle Class Reference

#include <ScoutingParticle.h>

Public Member Functions

float eta () const
 
float m () const
 
int pdgId () const
 
float phi () const
 
float pt () const
 
 ScoutingParticle ()
 
 ScoutingParticle (float pt, float eta, float phi, float m, int pdgId, int vertex)
 
int vertex () const
 

Private Attributes

float eta_
 
float m_
 
int pdgId_
 
float phi_
 
float pt_
 
int vertex_
 

Detailed Description

Definition at line 8 of file ScoutingParticle.h.

Constructor & Destructor Documentation

◆ ScoutingParticle() [1/2]

ScoutingParticle::ScoutingParticle ( float  pt,
float  eta,
float  phi,
float  m,
int  pdgId,
int  vertex 
)
inline

Definition at line 11 of file ScoutingParticle.h.

12  : pt_(pt), eta_(eta), phi_(phi), m_(m), pdgId_(pdgId), vertex_(vertex) {}

◆ ScoutingParticle() [2/2]

ScoutingParticle::ScoutingParticle ( )
inline

Definition at line 14 of file ScoutingParticle.h.

14 : pt_(0), eta_(0), phi_(0), m_(0), pdgId_(0), vertex_(-1) {}

Member Function Documentation

◆ eta()

float ScoutingParticle::eta ( ) const
inline

Definition at line 18 of file ScoutingParticle.h.

18 { return eta_; }

References eta_.

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

◆ m()

float ScoutingParticle::m ( ) const
inline

Definition at line 20 of file ScoutingParticle.h.

20 { return m_; }

References m_.

◆ pdgId()

int ScoutingParticle::pdgId ( ) const
inline

Definition at line 21 of file ScoutingParticle.h.

21 { return pdgId_; }

References pdgId_.

Referenced by Particle.Particle::__str__().

◆ phi()

float ScoutingParticle::phi ( ) const
inline

Definition at line 19 of file ScoutingParticle.h.

19 { return phi_; }

References phi_.

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

◆ pt()

float ScoutingParticle::pt ( ) const
inline

◆ vertex()

int ScoutingParticle::vertex ( ) const
inline

Definition at line 22 of file ScoutingParticle.h.

22 { return vertex_; }

References vertex_.

Referenced by Tau.Tau::dxy().

Member Data Documentation

◆ eta_

float ScoutingParticle::eta_
private

Definition at line 26 of file ScoutingParticle.h.

Referenced by eta().

◆ m_

float ScoutingParticle::m_
private

Definition at line 28 of file ScoutingParticle.h.

Referenced by m().

◆ pdgId_

int ScoutingParticle::pdgId_
private

Definition at line 29 of file ScoutingParticle.h.

Referenced by pdgId().

◆ phi_

float ScoutingParticle::phi_
private

Definition at line 27 of file ScoutingParticle.h.

Referenced by phi().

◆ pt_

float ScoutingParticle::pt_
private

Definition at line 25 of file ScoutingParticle.h.

Referenced by pt().

◆ vertex_

int ScoutingParticle::vertex_
private

Definition at line 30 of file ScoutingParticle.h.

Referenced by vertex().

ScoutingParticle::m
float m() const
Definition: ScoutingParticle.h:20
ScoutingParticle::pt_
float pt_
Definition: ScoutingParticle.h:25
ScoutingParticle::pdgId
int pdgId() const
Definition: ScoutingParticle.h:21
ScoutingParticle::phi_
float phi_
Definition: ScoutingParticle.h:27
ScoutingParticle::phi
float phi() const
Definition: ScoutingParticle.h:19
ScoutingParticle::pt
float pt() const
Definition: ScoutingParticle.h:17
ScoutingParticle::m_
float m_
Definition: ScoutingParticle.h:28
ScoutingParticle::eta
float eta() const
Definition: ScoutingParticle.h:18
ScoutingParticle::eta_
float eta_
Definition: ScoutingParticle.h:26
ScoutingParticle::vertex
int vertex() const
Definition: ScoutingParticle.h:22
ScoutingParticle::pdgId_
int pdgId_
Definition: ScoutingParticle.h:29
ScoutingParticle::vertex_
int vertex_
Definition: ScoutingParticle.h:30