* ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
-/* $Id$ */
+// $Id$
///
/// @file AliHLTMUONMansoTrack.h
const AliHLTMUONTriggerRecord* TriggerRecord() const { return fTrigRec; }
/**
- * Returns tje hit found on the specified tracking chamber.
+ * Returns the hit found on the specified tracking chamber.
* If NULL is returned then no hit was found or set.
* @param chamber Specifies the chamber for which to return the hit.
* Valid values are in the range [7..10].
{
return not this->operator == (track);
}
+
+ /**
+ * Returns the Z coordinate in the middle of the magnetic field used to
+ * calculate the momentum.
+ */
+ Float_t Zmiddle() const { return fZmiddle; }
+
+ /**
+ * Returns the integrated magnetic field strength times polarity used in
+ * the calculation of the momentum. Value returned in (T.m) tesla metres.
+ */
+ Float_t QBL() const { return fQBL; }
+
+ /**
+ * Sets the extra debugging information.
+ * @param zmiddle The Z coordinate of the middle of the magnetic field
+ * assumed during momentum calculation.
+ * @param bfieldintegral The integrated magnetic field strength assumed
+ * during momentum calculation.
+ */
+ void SetDebugData(Float_t zmiddle, Float_t bfieldintegral);
+
+ /**
+ * Returns the Region of Interest (RoI) centre point for the given chamber.
+ * \param chamber Specifies the chamber for which to return the centre point.
+ * Valid values are in the range [7..10].
+ * \return The RoI centre or a zero vector if the RoI is not set or the
+ * chamber is an incorrect value.
+ */
+ const TVector3& RoICentre(Int_t chamber) const;
+
+ /**
+ * Returns the Region of Interest (RoI) radius for the given chamber.
+ * \param chamber Specifies the chamber for which to return the radius.
+ * Valid values are in the range [7..10].
+ * \return The RoI radius or -1 if the RoI is not set or the chamber is
+ * an incorrect value.
+ */
+ Float_t RoIRadius(Int_t chamber) const;
+
+ /**
+ * Sets the Region of Interest (RoI) on the given chamber.
+ * \param chamber Specifies the chamber for which to return the radius.
+ * Valid values are in the range [7..10].
+ * \param x X coordinate of the RoI centre point.
+ * \param y Y coordinate of the RoI centre point.
+ * \param z Z coordinate of the RoI centre point.
+ * \param r radius of the RoI.
+ */
+ void SetRoI(Int_t chamber, Float_t x, Float_t y, Float_t z, Float_t r);
private:
// The following is debugging information and may not be filled if the
// dHLT components were not set to produce this information.
+ TVector3 fRoICentre[4]; ///< Region of Interest centre points.
+ Float_t fRoIRadius[4]; ///< Region of Interest radii.
// Parameters used in momentum estimation:
Float_t fZmiddle; ///< Particle momentum X component in GeV/c.
- Float_t fQBL; ///< The integrated magnetic field times charge in (T.m) tesla metres.
+ Float_t fQBL; ///< The integrated magnetic field times the field polarity in (T.m) tesla metres.
- ClassDef(AliHLTMUONMansoTrack, 3); // Manso track object containing data converted from a dHLT internal track structure.
+ ClassDef(AliHLTMUONMansoTrack, 4); // Manso track object containing data converted from a dHLT internal track structure.
};
#endif // ALIHLTMUONMANSOTRACK_H