CMS 3D CMS Logo

Public Member Functions | Private Attributes

lhef::JetClustering::Jet Class Reference

#include <JetClustering.h>

List of all members.

Public Member Functions

const ParticleVectorconstituents () const
double e () const
double et () const
double eta () const
 Jet (double px, double py, double pz, double e)
 Jet ()
 Jet (const FourVector &p4)
 Jet (double px, double py, double pz, double e, const ParticleVector &constituents)
 Jet (const FourVector &p4, const ParticleVector &constituents)
 Jet (ParticleVector::value_type item)
double m () const
double momentum () const
const FourVectorp4 () const
double phi () const
double pt () const
double px () const
double py () const
double pz () const
double theta () const

Private Attributes

ParticleVector constituents_
FourVector p4_

Detailed Description

Definition at line 20 of file JetClustering.h.


Constructor & Destructor Documentation

lhef::JetClustering::Jet::Jet ( ) [inline]

Definition at line 22 of file JetClustering.h.

{}
lhef::JetClustering::Jet::Jet ( const FourVector p4) [inline]

Definition at line 23 of file JetClustering.h.

: p4_(p4) {}
lhef::JetClustering::Jet::Jet ( const FourVector p4,
const ParticleVector constituents 
) [inline]

Definition at line 24 of file JetClustering.h.

lhef::JetClustering::Jet::Jet ( double  px,
double  py,
double  pz,
double  e 
) [inline]

Definition at line 26 of file JetClustering.h.

                                                               :
                        p4_(px, py, pz, e) {}
lhef::JetClustering::Jet::Jet ( double  px,
double  py,
double  pz,
double  e,
const ParticleVector constituents 
) [inline]

Definition at line 28 of file JetClustering.h.

lhef::JetClustering::Jet::Jet ( ParticleVector::value_type  item) [inline]

Definition at line 31 of file JetClustering.h.

References constituents_.

                                                   :
                        p4_(item->momentum().px(), item->momentum().py(),
                            item->momentum().pz(), item->momentum().e()),
                        constituents_(1) { constituents_[0] = item; }

Member Function Documentation

const ParticleVector& lhef::JetClustering::Jet::constituents ( ) const [inline]

Definition at line 37 of file JetClustering.h.

References constituents_.

{ return constituents_; }
double lhef::JetClustering::Jet::e ( ) const [inline]

Definition at line 42 of file JetClustering.h.

References p4_.

Referenced by lhef::cc::convert().

{ return p4_.E(); }
double lhef::JetClustering::Jet::et ( ) const [inline]

Definition at line 46 of file JetClustering.h.

References p4_.

{ return p4_.Et(); }
double lhef::JetClustering::Jet::eta ( void  ) const [inline]

Definition at line 48 of file JetClustering.h.

References p4_.

{ return p4_.Eta(); }
double lhef::JetClustering::Jet::m ( ) const [inline]

Definition at line 50 of file JetClustering.h.

References p4_.

{ return p4_.M(); }
double lhef::JetClustering::Jet::momentum ( ) const [inline]

Definition at line 44 of file JetClustering.h.

References p4_.

{ return p4_.P(); }
const FourVector& lhef::JetClustering::Jet::p4 ( ) const [inline]

Definition at line 36 of file JetClustering.h.

References p4_.

{ return p4_; }
double lhef::JetClustering::Jet::phi ( void  ) const [inline]

Definition at line 49 of file JetClustering.h.

References p4_.

{ return p4_.Phi(); }
double lhef::JetClustering::Jet::pt ( ) const [inline]

Definition at line 45 of file JetClustering.h.

References p4_.

Referenced by lhef::JetMatchingMLM::match().

{ return p4_.Perp(); }
double lhef::JetClustering::Jet::px ( ) const [inline]

Definition at line 39 of file JetClustering.h.

References p4_.

Referenced by lhef::cc::convert().

{ return p4_.Px(); }
double lhef::JetClustering::Jet::py ( ) const [inline]

Definition at line 40 of file JetClustering.h.

References p4_.

Referenced by lhef::cc::convert().

{ return p4_.Py(); }
double lhef::JetClustering::Jet::pz ( ) const [inline]

Definition at line 41 of file JetClustering.h.

References p4_.

Referenced by lhef::cc::convert().

{ return p4_.Pz(); }
double lhef::JetClustering::Jet::theta ( ) const [inline]

Definition at line 47 of file JetClustering.h.

References p4_.

{ return p4_.Theta(); }

Member Data Documentation

Definition at line 54 of file JetClustering.h.

Referenced by constituents(), and Jet().

Definition at line 53 of file JetClustering.h.

Referenced by e(), et(), eta(), m(), momentum(), p4(), phi(), pt(), px(), py(), pz(), and theta().