![]() |
AliPhysics
58ae0ed (58ae0ed)
|
Reduced information about a reconstructed jet. More...
#include <AliReducedJetInfo.h>
Public Member Functions | |
AliReducedJetInfo () | |
AliReducedJetInfo (double px, double py, double pz, double e) | |
AliReducedJetInfo (const AliReducedJetInfo &ref) | |
AliReducedJetInfo & | operator= (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 |
TObjArray * | GetListOfMatchedParticles () const |
TObjArray * | GetListOfConstituents () const |
AliReducedJetParticle * | GetMatchedParticle (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... | |
TObjArray * | fConstituents |
Constituents found by the jet clustering algorithm. More... | |
TObjArray * | fParticlesInCone |
Particles associated to this jet via distance to the main jet axis. More... | |
Reduced information about a reconstructed jet.
Class with reduced jet information for the reduced jet tree. For a jet, the following information is stored:
Definition at line 49 of file AliReducedJetInfo.h.
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.
px | x-component of the 4-momentum vector |
py | y-component of the 4-momentum vector |
pz | z-component of the 4-momentum vector |
e | Reconstructed 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.
ref | Reference object for the copy |
Definition at line 74 of file AliReducedJetInfo.cxx.
|
virtual |
Destructor, cleaning object. All containers are deleted.
Definition at line 136 of file AliReducedJetInfo.cxx.
void HighPtTracks::AliReducedJetInfo::AddConstituent | ( | AliReducedJetConstituent * | con | ) |
Adds a constituent (charged or neutral) as associated by the clustering algorithm to the reduced jet.
con | Jet 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.
part | Particle 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.
vec | The vector to be filled. |
Definition at line 156 of file AliReducedJetInfo.cxx.
|
inline |
Definition at line 91 of file AliReducedJetInfo.h.
|
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.
ipart | Index of the particle |
Definition at line 186 of file AliReducedJetInfo.cxx.
int HighPtTracks::AliReducedJetInfo::GetNumberOfMatchedParticles | ( | ) | const |
Get the number of particles matched to this jet.
Definition at line 165 of file AliReducedJetInfo.cxx.
|
inline |
Get the jet 4-vector and fill it into the function parameter
px | x-component of the jet 4-momentum vector, filled by the function |
py | y-component of the jet 4-momentum vector, filled by the function |
pz | z-component of the jet 4-momentum vector, filled by the function |
e | jet 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.
ref | Reference object assinged to this reduced jet |
Definition at line 108 of file AliReducedJetInfo.cxx.
|
inline |
Set the jet 4-momentum vector
px | x-component of the 4-momentum vector |
py | y-component of the 4-momentum vector |
pz | z-component of the 4-momentum vector |
e | jet energy |
Definition at line 65 of file AliReducedJetInfo.h.
|
private |
Constituents found by the jet clustering algorithm.
Definition at line 100 of file AliReducedJetInfo.h.
Referenced by AddConstituent(), AliReducedJetInfo(), GetListOfConstituents(), operator=(), and ~AliReducedJetInfo().
|
private |
reconstructed jet energy
Definition at line 98 of file AliReducedJetInfo.h.
Referenced by FillLorentzVector(), GetPxPyPxE(), operator=(), and Set().
|
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().
|
private |
x-component of the 4-momentum vector
Definition at line 95 of file AliReducedJetInfo.h.
Referenced by FillLorentzVector(), GetPxPyPxE(), operator=(), and Set().
|
private |
y-component of the 4-momentum vector
Definition at line 96 of file AliReducedJetInfo.h.
Referenced by FillLorentzVector(), GetPxPyPxE(), operator=(), and Set().
|
private |
z-component of the 4-momentum vector
Definition at line 97 of file AliReducedJetInfo.h.
Referenced by GetPxPyPxE(), operator=(), and Set().