1 #ifndef ALIFMDESDREVERTEXER_H
2 #define ALIFMDESDREVERTEXER_H
7 // Class to recaculate quantities in an AliESDFMD object based on new
8 // a value for the z-coordinate of the primary interaction point.
10 // This allows us, in case we get a better determination of the
11 // z-coordinate of the primary interaction, to recalibrate the signals
12 // in the FMD ESD object, without having to redo the reconstruction.
14 class AliFMDESDRevertexer : public TObject
21 AliFMDESDRevertexer();
26 virtual ~AliFMDESDRevertexer() {}
28 * Revertex the passed ESD. The passed ESD object will be modified
31 * @param fmdEsd ESD object to revertex.
32 * @param vz New Z coordinate of primary vertex.
34 * @return @c true on success, @c false failure.
36 Bool_t Revertex(AliESDFMD* fmdEsd, Double_t vz) const;
39 * Calculate the physical coordinates (@a eta, @a phi) corresponding
40 * to the detector coordinates (@a det, @a rng, @a sec, @a str).
42 * @param det The detector identifier
43 * @param rng The ring identifier
44 * @param sec The sector identifier
45 * @param str The strip identifier
46 * @param vz The z coordinate of the current primary interation vertex
47 * @param eta On return, the psuedo-rapidity
48 * @param phi On return, the azimuthal angle
49 * @param r On return, the radius
50 * @param theta On return, the polar angle
52 Bool_t PhysicalCoordinates(UShort_t det,
60 Double_t& theta) const;
63 * Calculate the polar angle @f$ \theta@f$ corresponding to the
64 * psuedo-rapidity @f$ \eta@f$
66 * @param eta Psuedo rapidity @f$ \eta=-\log[\tan(\theta/2)]@f$
68 * @return Polar angle @f$ \theta=2\tan^{-1}[\exp(-\eta)]@f$
70 Double_t Eta2Theta(Double_t eta) const;
72 ClassDef(AliFMDESDRevertexer,0) // Revertex and FMD ESD Object.