CMS 3D CMS Logo

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

#include <PuppiCandidate.h>

Inheritance diagram for PuppiCandidate:

Public Member Functions

void _ensure_valid_eta () const
 
double eta () const
 
double pseudorapidity () const
 
int puppi_register () const
 
void set_info (int puppi_register)
 

Private Attributes

double _eta = fastjet::pseudojet_invalid_rap
 
int _puppi_register
 

Detailed Description

Definition at line 8 of file PuppiCandidate.h.

Member Function Documentation

void PuppiCandidate::_ensure_valid_eta ( ) const
inline

Definition at line 13 of file PuppiCandidate.h.

References _eta.

Referenced by pseudorapidity().

13 { if(_eta==fastjet::pseudojet_invalid_rap) _eta = fastjet::PseudoJet::pseudorapidity(); }
double PuppiCandidate::eta ( ) const
inline

Definition at line 12 of file PuppiCandidate.h.

References pseudorapidity().

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

12 { return pseudorapidity(); }
double pseudorapidity() const
double PuppiCandidate::pseudorapidity ( ) const
inline

Definition at line 11 of file PuppiCandidate.h.

References _ensure_valid_eta(), and _eta.

Referenced by eta().

11 { _ensure_valid_eta(); return _eta; }
void _ensure_valid_eta() const
int PuppiCandidate::puppi_register ( ) const
inline

Definition at line 15 of file PuppiCandidate.h.

References _puppi_register.

Referenced by PuppiAlgo::add(), and set_info().

15 { return _puppi_register; }
void PuppiCandidate::set_info ( int  puppi_register)
inline

Definition at line 14 of file PuppiCandidate.h.

References _puppi_register, and puppi_register().

Referenced by PuppiContainer::initialize().

Member Data Documentation

double PuppiCandidate::_eta = fastjet::pseudojet_invalid_rap
mutableprivate

Definition at line 18 of file PuppiCandidate.h.

Referenced by _ensure_valid_eta(), and pseudorapidity().

int PuppiCandidate::_puppi_register
private

Definition at line 19 of file PuppiCandidate.h.

Referenced by puppi_register(), and set_info().