![]() |
AliRoot Core
3dc7879 (3dc7879)
|
#include <AliFMDESDRevertexer.h>
Public Member Functions | |
AliFMDESDRevertexer () | |
virtual | ~AliFMDESDRevertexer () |
Bool_t | Revertex (AliESDFMD *fmdEsd, Double_t vz) const |
Bool_t | PhysicalCoordinates (UShort_t det, Char_t rng, UShort_t sec, UShort_t str, Double_t vz, Double_t &eta, Double_t &phi, Double_t &r, Double_t &theta) const |
Double_t | Eta2Theta (Double_t eta) const |
Definition at line 14 of file AliFMDESDRevertexer.h.
AliFMDESDRevertexer::AliFMDESDRevertexer | ( | ) |
Constructor
Definition at line 13 of file AliFMDESDRevertexer.cxx.
|
inlinevirtual |
Destructor
Definition at line 26 of file AliFMDESDRevertexer.h.
Double_t AliFMDESDRevertexer::Eta2Theta | ( | Double_t | eta | ) | const |
Calculate the polar angle \( \theta\) corresponding to the psuedo-rapidity \( \eta\)
eta | Psuedo rapidity \( \eta=-\log[\tan(\theta/2)]\) |
Definition at line 85 of file AliFMDESDRevertexer.cxx.
Referenced by Revertex(), and ~AliFMDESDRevertexer().
Bool_t AliFMDESDRevertexer::PhysicalCoordinates | ( | UShort_t | det, |
Char_t | rng, | ||
UShort_t | sec, | ||
UShort_t | str, | ||
Double_t | vz, | ||
Double_t & | eta, | ||
Double_t & | phi, | ||
Double_t & | r, | ||
Double_t & | theta | ||
) | const |
Calculate the physical coordinates (eta, phi) corresponding to the detector coordinates (det, rng, sec, str).
det | The detector identifier |
rng | The ring identifier |
sec | The sector identifier |
str | The strip identifier |
vz | The z coordinate of the current primary interation vertex |
eta | On return, the psuedo-rapidity |
phi | On return, the azimuthal angle |
r | On return, the radius |
theta | On return, the polar angle |
Definition at line 94 of file AliFMDESDRevertexer.cxx.
Referenced by Revertex(), and ~AliFMDESDRevertexer().
Bool_t AliFMDESDRevertexer::Revertex | ( | AliESDFMD * | fmdEsd, |
Double_t | vz | ||
) | const |
Revertex the passed ESD. The passed ESD object will be modified directly.
fmdEsd | ESD object to revertex. |
vz | New Z coordinate of primary vertex. |
true
on success, false
failure. Definition at line 22 of file AliFMDESDRevertexer.cxx.
Referenced by AliFMDReconstructor::FillESD(), and ~AliFMDESDRevertexer().