AliPhysics  58ae0ed (58ae0ed)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HighPtTracks::AliReducedJetInfo Class Reference

Reduced information about a reconstructed jet. More...

#include <AliReducedJetInfo.h>

Inheritance diagram for HighPtTracks::AliReducedJetInfo:

Public Member Functions

 AliReducedJetInfo ()
 
 AliReducedJetInfo (double px, double py, double pz, double e)
 
 AliReducedJetInfo (const AliReducedJetInfo &ref)
 
AliReducedJetInfooperator= (const AliReducedJetInfo &ref)
 
virtual ~AliReducedJetInfo ()
 
void Set (double px, double py, double pz, double e)
 
void AddParticleInCone (AliReducedJetParticle *part)
 
void AddConstituent (AliReducedJetConstituent *con)
 
void GetPxPyPxE (double &px, double &py, double &pz, double &e)
 
void FillLorentzVector (TLorentzVector &vec) const
 
int GetNumberOfMatchedParticles () const
 
TObjArrayGetListOfMatchedParticles () const
 
TObjArrayGetListOfConstituents () const
 
AliReducedJetParticleGetMatchedParticle (int ipart) const
 

Private Attributes

double fPx
 x-component of the 4-momentum vector More...
 
double fPy
 y-component of the 4-momentum vector More...
 
double fPz
 z-component of the 4-momentum vector More...
 
double fE
 reconstructed jet energy More...
 
TObjArrayfConstituents
 Constituents found by the jet clustering algorithm. More...
 
TObjArrayfParticlesInCone
 Particles associated to this jet via distance to the main jet axis. More...
 

Detailed Description

Reduced information about a reconstructed jet.

Class with reduced jet information for the reduced jet tree. For a jet, the following information is stored:

  1. 4-momentum vector of the jet
  2. list of reduced constituents found by the jet clustering algorithm
  3. list of all charged particles with reduced information within a certain distance to the main jet axis.

Definition at line 49 of file AliReducedJetInfo.h.

Constructor & Destructor Documentation

HighPtTracks::AliReducedJetInfo::AliReducedJetInfo ( )

Definition at line 31 of file AliReducedJetInfo.cxx.

HighPtTracks::AliReducedJetInfo::AliReducedJetInfo ( double  px,
double  py,
double  pz,
double  e 
)

Main constructor of the reduced jet information of a reconstuced jet. Initializes the 4-momentum vector. Also containers for associated particles and jet constituents are allocated.

Parameters
pxx-component of the 4-momentum vector
pyy-component of the 4-momentum vector
pzz-component of the 4-momentum vector
eReconstructed jet energy

Definition at line 52 of file AliReducedJetInfo.cxx.

HighPtTracks::AliReducedJetInfo::AliReducedJetInfo ( const AliReducedJetInfo ref)

Copy constructor, initializes a new jet info from a reference object. For constituents and associated particles a deep copy is performed, meaning the new object keeps ownership over its pointers.

Parameters
refReference object for the copy

Definition at line 74 of file AliReducedJetInfo.cxx.

HighPtTracks::AliReducedJetInfo::~AliReducedJetInfo ( )
virtual

Destructor, cleaning object. All containers are deleted.

Definition at line 136 of file AliReducedJetInfo.cxx.

Member Function Documentation

void HighPtTracks::AliReducedJetInfo::AddConstituent ( AliReducedJetConstituent con)

Adds a constituent (charged or neutral) as associated by the clustering algorithm to the reduced jet.

Parameters
conJet constituent to be added

Definition at line 176 of file AliReducedJetInfo.cxx.

Referenced by HighPtTracks::AliHighPtReconstructionEfficiency::ConvertConstituents().

void HighPtTracks::AliReducedJetInfo::AddParticleInCone ( AliReducedJetParticle part)

Add new associated particle (expanded information) to the jet info object. Jet info takes ownership over the object.

Parameters
partParticle to be added to the jet container.

Definition at line 147 of file AliReducedJetInfo.cxx.

Referenced by HighPtTracks::AliHighPtReconstructionEfficiency::ProcessJet().

void HighPtTracks::AliReducedJetInfo::FillLorentzVector ( TLorentzVector &  vec) const

Fills a TLorentzVector with jet 4-momentum.

Parameters
vecThe vector to be filled.

Definition at line 156 of file AliReducedJetInfo.cxx.

TObjArray* HighPtTracks::AliReducedJetInfo::GetListOfConstituents ( ) const
inline

Definition at line 91 of file AliReducedJetInfo.h.

TObjArray* HighPtTracks::AliReducedJetInfo::GetListOfMatchedParticles ( ) const
inline

Definition at line 90 of file AliReducedJetInfo.h.

AliReducedJetParticle * HighPtTracks::AliReducedJetInfo::GetMatchedParticle ( int  ipart) const

Provides access to a single particle associated to the jet at a given index in then container.

Parameters
ipartIndex of the particle
Returns
Particle at a given index (NULL if index is out of range)

Definition at line 186 of file AliReducedJetInfo.cxx.

int HighPtTracks::AliReducedJetInfo::GetNumberOfMatchedParticles ( ) const

Get the number of particles matched to this jet.

Returns
Number of matched particles

Definition at line 165 of file AliReducedJetInfo.cxx.

void HighPtTracks::AliReducedJetInfo::GetPxPyPxE ( double &  px,
double &  py,
double &  pz,
double &  e 
)
inline

Get the jet 4-vector and fill it into the function parameter

Parameters
pxx-component of the jet 4-momentum vector, filled by the function
pyy-component of the jet 4-momentum vector, filled by the function
pzz-component of the jet 4-momentum vector, filled by the function
ejet energy, filled by the function

Definition at line 82 of file AliReducedJetInfo.h.

Referenced by HighPtTracks::AliHighPtReconstructionEfficiency::ProcessJet().

AliReducedJetInfo & HighPtTracks::AliReducedJetInfo::operator= ( const AliReducedJetInfo ref)

Assignment operator, copying status of the reference reduced jet into this jet. For constituents and associated particles a deep copy is performed, meaning the new object keeps ownership over its pointers.

Parameters
refReference object assinged to this reduced jet
Returns
This object

Definition at line 108 of file AliReducedJetInfo.cxx.

void HighPtTracks::AliReducedJetInfo::Set ( double  px,
double  py,
double  pz,
double  e 
)
inline

Set the jet 4-momentum vector

Parameters
pxx-component of the 4-momentum vector
pyy-component of the 4-momentum vector
pzz-component of the 4-momentum vector
ejet energy

Definition at line 65 of file AliReducedJetInfo.h.

Member Data Documentation

TObjArray* HighPtTracks::AliReducedJetInfo::fConstituents
private

Constituents found by the jet clustering algorithm.

Definition at line 100 of file AliReducedJetInfo.h.

Referenced by AddConstituent(), AliReducedJetInfo(), GetListOfConstituents(), operator=(), and ~AliReducedJetInfo().

double HighPtTracks::AliReducedJetInfo::fE
private

reconstructed jet energy

Definition at line 98 of file AliReducedJetInfo.h.

Referenced by FillLorentzVector(), GetPxPyPxE(), operator=(), and Set().

TObjArray* HighPtTracks::AliReducedJetInfo::fParticlesInCone
private

Particles associated to this jet via distance to the main jet axis.

Definition at line 101 of file AliReducedJetInfo.h.

Referenced by AddParticleInCone(), AliReducedJetInfo(), GetListOfMatchedParticles(), GetMatchedParticle(), GetNumberOfMatchedParticles(), operator=(), and ~AliReducedJetInfo().

double HighPtTracks::AliReducedJetInfo::fPx
private

x-component of the 4-momentum vector

Definition at line 95 of file AliReducedJetInfo.h.

Referenced by FillLorentzVector(), GetPxPyPxE(), operator=(), and Set().

double HighPtTracks::AliReducedJetInfo::fPy
private

y-component of the 4-momentum vector

Definition at line 96 of file AliReducedJetInfo.h.

Referenced by FillLorentzVector(), GetPxPyPxE(), operator=(), and Set().

double HighPtTracks::AliReducedJetInfo::fPz
private

z-component of the 4-momentum vector

Definition at line 97 of file AliReducedJetInfo.h.

Referenced by GetPxPyPxE(), operator=(), and Set().


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