CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
lhef::JetClustering::Jet Class Reference

#include <JetClustering.h>

Public Member Functions

const ParticleVectorconstituents () const
 
double e () const
 
double et () const
 
double eta () const
 
 Jet ()
 
 Jet (const FourVector &p4)
 
 Jet (const FourVector &p4, const ParticleVector &constituents)
 
 Jet (double px, double py, double pz, double e)
 
 Jet (double px, double py, double pz, double e, 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.

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

Definition at line 23 of file JetClustering.h.

23 : p4_(p4) {}
const FourVector & p4() const
Definition: JetClustering.h:36
lhef::JetClustering::Jet::Jet ( const FourVector p4,
const ParticleVector constituents 
)
inline

Definition at line 24 of file JetClustering.h.

24  :
ParticleVector constituents_
Definition: JetClustering.h:54
const ParticleVector & constituents() const
Definition: JetClustering.h:37
const FourVector & p4() const
Definition: JetClustering.h:36
lhef::JetClustering::Jet::Jet ( double  px,
double  py,
double  pz,
double  e 
)
inline

Definition at line 26 of file JetClustering.h.

26  :
27  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.

29  :
ParticleVector constituents_
Definition: JetClustering.h:54
const ParticleVector & constituents() const
Definition: JetClustering.h:37
lhef::JetClustering::Jet::Jet ( ParticleVector::value_type  item)
inline

Definition at line 31 of file JetClustering.h.

References constituents_.

31  :
32  p4_(item->momentum().px(), item->momentum().py(),
33  item->momentum().pz(), item->momentum().e()),
34  constituents_(1) { constituents_[0] = item; }
ParticleVector constituents_
Definition: JetClustering.h:54

Member Function Documentation

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

Definition at line 37 of file JetClustering.h.

References constituents_.

37 { return constituents_; }
ParticleVector constituents_
Definition: JetClustering.h:54
double lhef::JetClustering::Jet::e ( ) const
inline

Definition at line 42 of file JetClustering.h.

References p4_.

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

Definition at line 46 of file JetClustering.h.

References p4_.

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

Definition at line 48 of file JetClustering.h.

References p4_.

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

Definition at line 50 of file JetClustering.h.

References p4_.

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

Definition at line 44 of file JetClustering.h.

References p4_.

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

Definition at line 36 of file JetClustering.h.

References p4_.

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

Definition at line 49 of file JetClustering.h.

References p4_.

49 { 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().

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

Definition at line 39 of file JetClustering.h.

References p4_.

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

Definition at line 40 of file JetClustering.h.

References p4_.

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

Definition at line 41 of file JetClustering.h.

References p4_.

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

Definition at line 47 of file JetClustering.h.

References p4_.

47 { return p4_.Theta(); }

Member Data Documentation

ParticleVector lhef::JetClustering::Jet::constituents_
private

Definition at line 54 of file JetClustering.h.

Referenced by constituents(), and Jet().

FourVector lhef::JetClustering::Jet::p4_
private

Definition at line 53 of file JetClustering.h.

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