X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2FMUON%2FAliHLTMUONMansoTrack.h;h=eec9112d2ca74aca761dc78d3dd1b4a312e6942b;hb=3ecd33278a2a58b8d51ba10771ca93cf50cf48a3;hp=69bc68ce08a7fbf856e126dde2ae04400f2aad78;hpb=450e0b363620dd72669d6bbf3859f681e4fb64cb;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/MUON/AliHLTMUONMansoTrack.h b/HLT/MUON/AliHLTMUONMansoTrack.h index 69bc68ce08a..eec9112d2ca 100644 --- a/HLT/MUON/AliHLTMUONMansoTrack.h +++ b/HLT/MUON/AliHLTMUONMansoTrack.h @@ -4,7 +4,7 @@ * ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ -/* $Id$ */ +// $Id$ /// /// @file AliHLTMUONMansoTrack.h @@ -139,7 +139,7 @@ public: 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]. @@ -170,6 +170,56 @@ public: { 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: @@ -186,12 +236,14 @@ 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, 2); // 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