From 1c37d91446ef073a1aaac38ca05daf430a64951a Mon Sep 17 00:00:00 2001 From: laphecet Date: Wed, 8 Apr 2009 09:59:47 +0000 Subject: [PATCH] Fixing a backward compatibility issue --- MUON/mapping/AliMpPad.cxx | 8 ++++---- MUON/mapping/AliMpPad.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MUON/mapping/AliMpPad.cxx b/MUON/mapping/AliMpPad.cxx index 7c51da13c23..82fc7270dc6 100755 --- a/MUON/mapping/AliMpPad.cxx +++ b/MUON/mapping/AliMpPad.cxx @@ -47,8 +47,8 @@ AliMpPad::AliMpPad(Int_t manuId, Int_t channel, Double_t dx, Double_t dy, Bool_t validity) : TObject(), - fLLocations(0), fNofLocations(0), + fLLocations(0), fLLocation(AliMp::Pair(manuId, channel)), fLIndices(AliMp::Pair(ix, iy)), fPositionX(x), @@ -71,8 +71,8 @@ AliMpPad::AliMpPad(Int_t manuId, Int_t channel, Double_t dx, Double_t dy, Bool_t validity) : TObject(), - fLLocations(0), fNofLocations(0), + fLLocations(0), fLLocation(AliMp::Pair(manuId, channel)), fLIndices(indices), fPositionX(x), @@ -91,8 +91,8 @@ AliMpPad::AliMpPad(Int_t manuId, Int_t channel, //_____________________________________________________________________________ AliMpPad::AliMpPad() : TObject(), - fLLocations(0), fNofLocations(0), + fLLocations(0), fLLocation(0), fLIndices(0), fPositionX(-1.), @@ -107,8 +107,8 @@ AliMpPad::AliMpPad() //_____________________________________________________________________________ AliMpPad::AliMpPad(const AliMpPad& rhs) : TObject(), - fLLocations(0), fNofLocations(0), + fLLocations(0), fLLocation(0), fLIndices(0), fPositionX(-1.), diff --git a/MUON/mapping/AliMpPad.h b/MUON/mapping/AliMpPad.h index 7cf92c21aab..8837f3fe2fb 100755 --- a/MUON/mapping/AliMpPad.h +++ b/MUON/mapping/AliMpPad.h @@ -101,8 +101,8 @@ class AliMpPad : public TObject static const Int_t fgkMaxNofLocations; ///< \brief maximum number of pad locations /// in the collection // data members - MpPair_t* fLLocations; ///< collection of pad locations - encoded pair (localBoardId, localBoardChannel) UInt_t fNofLocations; ///< number of locations in fLocations + MpPair_t* fLLocations; //[fNofLocations] collection of pad locations - encoded pair (localBoardId, localBoardChannel) MpPair_t fLLocation; ///< pad location as encoded pair (manuId, manuChannel) MpPair_t fLIndices; ///< pad indices as encoded pair (ix, iy) Double_t fPositionX; ///< the pad x position (in cm) -- 2.43.0