Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Atlfast::Jet Class Reference

Represents a Jet made from clusters. More...

#include <Jet.h>

Inheritance diagram for Atlfast::Jet:

Inheritance graph
[legend]
Collaboration diagram for Atlfast::Jet:

Collaboration graph
[legend]
List of all members.

Public Methods

 Jet ()
 Jet (const Cluster &cluster)
 Jet (const HepLorentzVector &vec, Cluster &cluster)
void setMomentum (const HepLorentzVector &vec)
virtual const CLID & clID () const
virtual HepLorentzVector momentum () const
virtual double eta () const
virtual double phi () const
virtual double pT () const
virtual double eT () const
virtual double mT () const
virtual double px () const
virtual double py () const
virtual double pz () const
double e () const
void setBTag ()
void setCTag ()
void setLightTag ()
void setTauTag (int tauTag)
void setUntagged ()
bool isBTag () const
bool isCTag () const
bool isLightTag () const
bool isTauTag () const
bool isTagged () const
int pdg_id () const

Static Public Methods

const CLID & classID ()

Private Attributes

HepLorentzVector m_momentum
 Kinematic information assocated with this Jet.

int m_flavor
bool m_tagged

Detailed Description

Represents a Jet made from clusters.

Jets honour the IKinematic interface and thus contain the documented kinematic methods. There are also methods to set and interrogate the flavour tag of the jet

Definition at line 50 of file Jet.h.


Constructor & Destructor Documentation

Atlfast::Jet::Jet   [inline]
 

Definition at line 67 of file Jet.h.

00067 : ContainedObject(), AssociationManager() {}

Atlfast::Jet::Jet const Cluster   cluster
 

Definition at line 16 of file Jet.cxx.

References Atlfast::AssociationManager::associate().

00016                                  :
00017     ContainedObject(), 
00018     AssociationManager(), 
00019     
00020     m_momentum(cluster.momentum()),
00021     m_flavor(ParticleCodes::UQUARK),
00022     m_tagged(true){
00023     
00024     this->associate(&cluster);
00025   }

Atlfast::Jet::Jet const HepLorentzVector &    vec,
Cluster   cluster
 

Definition at line 27 of file Jet.cxx.

References Atlfast::AssociationManager::associate().

00027                                                          : 
00028     ContainedObject(), 
00029     AssociationManager(), 
00030     
00031     m_momentum(vec),
00032     m_flavor(ParticleCodes::UQUARK),
00033     m_tagged(true){
00034     // Here we fill the related cells vector with pointers to the cells
00035     // from which it was constructed.
00036     this->associate( &cluster );
00037   }


Member Function Documentation

const CLID& Atlfast::Jet::classID   [inline, static]
 

Definition at line 73 of file Jet.h.

00073 { return CLID_ATLFAST_Jet; }

virtual const CLID& Atlfast::Jet::clID   const [inline, virtual]
 

Definition at line 74 of file Jet.h.

00074 {  return CLID_ATLFAST_Jet; }

double Atlfast::Jet::e   const
 

Definition at line 52 of file Jet.cxx.

00052 { return m_momentum.e(); } 

double Atlfast::Jet::eT   const [virtual]
 

Implements Atlfast::IKinematic.

Definition at line 45 of file Jet.cxx.

00045                          { 
00046     return m_momentum.e()*m_momentum.perp()/m_momentum.rho() ;} 

double Atlfast::Jet::eta   const [virtual]
 

Implements Atlfast::IKinematic.

Definition at line 42 of file Jet.cxx.

References m_momentum.

00042 { return m_momentum.pseudoRapidity() ;}

bool Atlfast::Jet::isBTag   const
 

Definition at line 78 of file Jet.cxx.

00078                            {
00079     return m_flavor==ParticleCodes::BQUARK && m_tagged;
00080   }

bool Atlfast::Jet::isCTag   const
 

Definition at line 82 of file Jet.cxx.

00082                           {
00083     return m_flavor==ParticleCodes::CQUARK && m_tagged;
00084   }

bool Atlfast::Jet::isLightTag   const
 

Definition at line 86 of file Jet.cxx.

00086                               {
00087     return m_flavor==ParticleCodes::UQUARK && m_tagged;
00088   }

bool Atlfast::Jet::isTagged   const
 

Definition at line 93 of file Jet.cxx.

References m_tagged.

00093                            {
00094     return m_tagged;
00095   }

bool Atlfast::Jet::isTauTag   const
 

Definition at line 90 of file Jet.cxx.

References m_flavor, and m_tagged.

00090                            {
00091     return m_flavor==ParticleCodes::TAU    && m_tagged;
00092   }

HepLorentzVector Atlfast::Jet::momentum   const [virtual]
 

Implements Atlfast::IKinematic.

Definition at line 41 of file Jet.cxx.

References m_momentum.

00041 {return m_momentum; } 

double Atlfast::Jet::mT   const [virtual]
 

Implements Atlfast::IKinematic.

Definition at line 47 of file Jet.cxx.

00047 { return m_momentum.mt(); } 

int Atlfast::Jet::pdg_id   const
 

Definition at line 97 of file Jet.cxx.

00097 {return m_flavor;}

double Atlfast::Jet::phi   const [virtual]
 

Implements Atlfast::IKinematic.

Definition at line 43 of file Jet.cxx.

References m_momentum.

00043 { return m_momentum.phi() ;  } 

double Atlfast::Jet::pT   const [virtual]
 

Implements Atlfast::IKinematic.

Definition at line 44 of file Jet.cxx.

00044 { return m_momentum.perp() ;}

double Atlfast::Jet::px   const [virtual]
 

Definition at line 48 of file Jet.cxx.

00048 { return m_momentum.px(); } 

double Atlfast::Jet::py   const [virtual]
 

Definition at line 49 of file Jet.cxx.

00049 { return m_momentum.py(); } 

double Atlfast::Jet::pz   const [virtual]
 

Definition at line 50 of file Jet.cxx.

00050 { return m_momentum.pz(); } 

void Atlfast::Jet::setBTag  
 

Definition at line 55 of file Jet.cxx.

References m_flavor, and m_tagged.

00055                     {
00056     m_flavor=ParticleCodes::BQUARK;
00057     m_tagged=true;
00058   }

void Atlfast::Jet::setCTag  
 

Definition at line 59 of file Jet.cxx.

References m_flavor, and m_tagged.

00059                     {
00060     m_flavor=ParticleCodes::CQUARK;
00061     m_tagged=true;
00062   }

void Atlfast::Jet::setLightTag  
 

Definition at line 64 of file Jet.cxx.

References m_flavor, and m_tagged.

00064                        {
00065     m_flavor=ParticleCodes::UQUARK;
00066     m_tagged=true;
00067   }

void Atlfast::Jet::setMomentum const HepLorentzVector &    vec
 

Definition at line 39 of file Jet.cxx.

References m_momentum.

00039 {m_momentum=vec;}

void Atlfast::Jet::setTauTag int    tauTag
 

Definition at line 69 of file Jet.cxx.

References m_flavor, and m_tagged.

00069                                {
00070     m_flavor=tauTag;
00071     m_tagged=true;
00072   }

void Atlfast::Jet::setUntagged  
 

Definition at line 73 of file Jet.cxx.

References m_flavor, and m_tagged.

00073                         {
00074     m_flavor=0;
00075     m_tagged=false;
00076   }


Member Data Documentation

int Atlfast::Jet::m_flavor [private]
 

Definition at line 59 of file Jet.h.

Referenced by isTauTag(), setBTag(), setCTag(), setLightTag(), setTauTag(), and setUntagged().

HepLorentzVector Atlfast::Jet::m_momentum [private]
 

Kinematic information assocated with this Jet.

Definition at line 58 of file Jet.h.

Referenced by eta(), momentum(), phi(), and setMomentum().

bool Atlfast::Jet::m_tagged [private]
 

Definition at line 60 of file Jet.h.

Referenced by isTagged(), isTauTag(), setBTag(), setCTag(), setLightTag(), setTauTag(), and setUntagged().


The documentation for this class was generated from the following files:
Generated on Fri Nov 29 12:55:19 2002 by doxygen1.3-rc1