![]() |
AliPhysics
58ae0ed (58ae0ed)
|
Minimal stucture for jet constituents associated to a jet by the jet clustering algorithm. More...
#include <AliReducedJetConstituent.h>
Public Member Functions | |
AliReducedJetConstituent () | |
AliReducedJetConstituent (double px, double py, double pz, double e, int pdg) | |
virtual | ~AliReducedJetConstituent () |
void | Set (double px, double py, double pz, double e) |
void | SetPdgCode (int pdg) |
void | FillLorentzVector (TLorentzVector &target) const |
int | GetPdgCode () const |
TParticlePDG * | GetPDGParticle () const |
Private Attributes | |
double | fPx |
x-compoent of the constituent 3-momentum vector More... | |
double | fPy |
y-compoent of the constituent 3-momentum vector More... | |
double | fPz |
z-compoent of the constituent 3-momentum vector More... | |
double | fE |
Energy of the constituent. More... | |
int | fPdgCode |
PDG code of the constituent. More... | |
Minimal stucture for jet constituents associated to a jet by the jet clustering algorithm.
This class represents the minimal structure for constituent found by the clusterizing algorithm. It extends the information of a PseudoJet in fastjet with particle type information coming from the ROOT particle database, obtained by the PDG code. Jet constituents are allowed to be charged or neutral.
Definition at line 44 of file AliReducedJetConstituent.h.
HighPtTracks::AliReducedJetConstituent::AliReducedJetConstituent | ( | ) |
Dummy (I/O) constructor, not to be used.
Definition at line 30 of file AliReducedJetConstituent.cxx.
HighPtTracks::AliReducedJetConstituent::AliReducedJetConstituent | ( | double | px, |
double | py, | ||
double | pz, | ||
double | e, | ||
int | pdg | ||
) |
Main constructor, initializing constituent with the 4-momentum of the particle and the PDG code.
px | x-component of the particle 3-momentum vector |
py | y-component of the particle 3-momentum vector |
pz | z-component of the particle 3-momentum vector |
e | Particle energy |
pdg | PDG code |
Definition at line 49 of file AliReducedJetConstituent.cxx.
|
inlinevirtual |
Definition at line 48 of file AliReducedJetConstituent.h.
void HighPtTracks::AliReducedJetConstituent::FillLorentzVector | ( | TLorentzVector & | target | ) | const |
Access to the particle 4-momentum vector via filling a TLorentzVector
target | Lorentz-vector filled by this function |
Definition at line 64 of file AliReducedJetConstituent.cxx.
|
inline |
Get the PDG code of the particle
Definition at line 79 of file AliReducedJetConstituent.h.
TParticlePDG * HighPtTracks::AliReducedJetConstituent::GetPDGParticle | ( | ) | const |
Obtain more information about the particle (type, charge, quantum numbers) via the information stored in the ROOT particle database, provided via a TParticlePDG. The information is linked via the PDG code of the particle.
Definition at line 75 of file AliReducedJetConstituent.cxx.
|
inline |
Set the particle 4-momentum vector
px | x-component of the momentum vector |
py | y-component of the momentum vector |
pz | z-component of the momentum vector |
e | Particle energy |
Definition at line 58 of file AliReducedJetConstituent.h.
|
inline |
Set the particle PDG code
pdg | PDG code of the particle |
Definition at line 70 of file AliReducedJetConstituent.h.
|
private |
Energy of the constituent.
Definition at line 87 of file AliReducedJetConstituent.h.
Referenced by FillLorentzVector(), and Set().
|
private |
PDG code of the constituent.
Definition at line 88 of file AliReducedJetConstituent.h.
Referenced by GetPdgCode(), GetPDGParticle(), and SetPdgCode().
|
private |
x-compoent of the constituent 3-momentum vector
Definition at line 84 of file AliReducedJetConstituent.h.
Referenced by FillLorentzVector(), and Set().
|
private |
y-compoent of the constituent 3-momentum vector
Definition at line 85 of file AliReducedJetConstituent.h.
Referenced by FillLorentzVector(), and Set().
|
private |
z-compoent of the constituent 3-momentum vector
Definition at line 86 of file AliReducedJetConstituent.h.
Referenced by FillLorentzVector(), and Set().