* See cxx source for full Copyright notice */
// $Id$
-// $MpId: AliMpSectorSegmentation.h,v 1.11 2006/03/02 16:35:06 ivana Exp $
+// $MpId: AliMpSectorSegmentation.h,v 1.15 2006/05/24 13:58:21 ivana Exp $
/// \ingroup sector
/// \class AliMpSectorSegmentation
/// conversion between pad indices, pad location, pad position;
/// finding pad neighbour.
///
-/// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
+/// \author David Guez, Ivana Hrivnacova; IPN Orsay
#ifndef ALI_MP_SECTOR_SEGMENTATION_H
#define ALI_MP_SECTOR_SEGMENTATION_H
-
#include "AliMpContainers.h"
-#ifdef WITH_STL
-#include <map>
-#endif
+#include "AliMpVSegmentation.h"
+#include "AliMpPad.h"
+#include <TVector2.h>
#ifdef WITH_ROOT
#include <TExMap.h>
#endif
-#include <TVector2.h>
-
-#include "AliMpVSegmentation.h"
-#include "AliMpPad.h"
+#ifdef WITH_STL
+#include <map>
+#endif
class AliMpSector;
class AliMpMotifPosition;
virtual AliMpPad PadByDirection(const TVector2& startPosition,
Double_t distance) const;
- virtual Int_t MaxPadIndexX();
- virtual Int_t MaxPadIndexY();
+ virtual Int_t MaxPadIndexX() const;
+ virtual Int_t MaxPadIndexY() const;
+ virtual Int_t NofPads() const;
virtual Int_t Zone(const AliMpPad& pad, Bool_t warning = kTRUE) const;
virtual TVector2 PadDimensions(Int_t zone, Bool_t warning = kTRUE) const;
Double_t maxY) const;
// data members
- const AliMpSector* fkSector; // Sector
- AliMpPad* fPadBuffer; // The pad buffer
+ const AliMpSector* fkSector; ///< Sector
+ AliMpPad* fPadBuffer; ///< The pad buffer
#ifdef WITH_STL
- PadDimensionsMap fPadDimensionsMap; // Map between zone IDs and pad dimensions
- // EXCLUDED FOR CINT (does not compile on HP)
+ PadDimensionsMap fPadDimensionsMap; ///< Map between zone IDs and pad dimensions
#endif
#ifdef WITH_ROOT
- mutable PadDimensionsMap fPadDimensionsMap; // Map between zone IDs and pad dimensions
+ mutable PadDimensionsMap fPadDimensionsMap; ///< Map between zone IDs and pad dimensions
#endif
- Int_t fMaxIndexInX; // maximum pad index in x
- Int_t fMaxIndexInY; // maximum pad index in y
+ Int_t fMaxIndexInX; ///< maximum pad index in x
+ Int_t fMaxIndexInY; ///< maximum pad index in y
ClassDef(AliMpSectorSegmentation,1) // Segmentation
};