Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TrackJet::Jet Class Reference

#include <TrackJet.hh>

List of all members.


Detailed Description

Inner class used to represent a jet as defined by this algorithm.

Definition at line 50 of file TrackJet.hh.


Public Types

typedef vector< LorentzVector
>::iterator 
iterator
 Define a Jet::iterator via a typedef.
typedef vector< LorentzVector
>::const_iterator 
const_iterator
 Define a Jet::const_iterator via a typedef.

Public Member Functions

 Jet ()
 Constructor.
iterator begin ()
 Get a begin iterator over the particles/tracks in this jet.
iterator end ()
 Get an end iterator over the particles/tracks in this jet.
const_iterator begin () const
 Get a const begin iterator over the particles/tracks in this jet.
const_iterator end () const
 Get a const end iterator over the particles/tracks in this jet.
vector< LorentzVector > & getParticles ()
 Get the particles (tracks) in this jet.
const vector< LorentzVector > & getParticles () const
 Get the particles (tracks) in this jet (const version).
Jet setParticles (vector< LorentzVector > particles)
 Set the particles/tracks collection.
Jet addParticle (LorentzVector particle)
 Add a particle/track to this jet.
Jet clear ()
 Reset this jet as empty.
double getPtWeightedPhi () const
double getPtSum () const
 Get the sum of the $ p_T $ values of the constituent tracks. (caches).
size_t getNumParticles () const
 Get the number of particles/tracks in this jet.

Member Typedef Documentation

typedef vector<LorentzVector>::const_iterator const_iterator
 

Define a Jet::const_iterator via a typedef.

Definition at line 61 of file TrackJet.hh.

typedef vector<LorentzVector>::iterator iterator
 

Define a Jet::iterator via a typedef.

Definition at line 58 of file TrackJet.hh.


Constructor & Destructor Documentation

Jet  )  [inline]
 

Constructor.

Definition at line 53 of file TrackJet.hh.


Member Function Documentation

Jet addParticle LorentzVector  particle  )  [inline]
 

Add a particle/track to this jet.

Definition at line 101 of file TrackJet.hh.

Referenced by TrackJet::project().

const_iterator begin  )  const [inline]
 

Get a const begin iterator over the particles/tracks in this jet.

Definition at line 74 of file TrackJet.hh.

iterator begin  )  [inline]
 

Get a begin iterator over the particles/tracks in this jet.

Definition at line 64 of file TrackJet.hh.

Referenced by TrackJet::project().

Jet clear  )  [inline]
 

Reset this jet as empty.

Definition at line 108 of file TrackJet.hh.

const_iterator end  )  const [inline]
 

Get a const end iterator over the particles/tracks in this jet.

Definition at line 79 of file TrackJet.hh.

iterator end  )  [inline]
 

Get an end iterator over the particles/tracks in this jet.

Definition at line 69 of file TrackJet.hh.

Referenced by PRD65092002::analyze().

size_t getNumParticles  )  const [inline]
 

Get the number of particles/tracks in this jet.

Definition at line 143 of file TrackJet.hh.

const vector<LorentzVector>& getParticles  )  const [inline]
 

Get the particles (tracks) in this jet (const version).

Definition at line 89 of file TrackJet.hh.

vector<LorentzVector>& getParticles  )  [inline]
 

Get the particles (tracks) in this jet.

Definition at line 84 of file TrackJet.hh.

double getPtSum  )  const [inline]
 

Get the sum of the $ p_T $ values of the constituent tracks. (caches).

Definition at line 131 of file TrackJet.hh.

References Rivet::pT().

Referenced by PRD65092002::analyze(), and Rivet::compareJetsByPt().

double getPtWeightedPhi  )  const [inline]
 

Get the average $ \phi $ for this jet, with the average weighted by the $ p_T $ values of the constituent tracks. (caches)

Definition at line 116 of file TrackJet.hh.

References Rivet::pT().

Referenced by PRD65092002::analyze().

Jet setParticles vector< LorentzVector particles  )  [inline]
 

Set the particles/tracks collection.

Definition at line 94 of file TrackJet.hh.


The documentation for this class was generated from the following file: