]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpMotifSpecial.cxx
From Cvetan: new macro to load ITS clusters.
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpMotifSpecial.cxx
index 204575989cc561a62fcc4a9497b60aec4c5afc46..64926d0aa965d965f184bbbf5cbc718f4f97bdc8 100755 (executable)
@@ -14,7 +14,7 @@
  **************************************************************************/
 
 // $Id$
-// $MpId: AliMpMotifSpecial.cxx,v 1.11 2006/04/24 13:54:33 ivana Exp $
+// $MpId: AliMpMotifSpecial.cxx,v 1.12 2006/05/24 13:58:41 ivana Exp $
 // Category: motif
 //
 // Class AliMpMotifSpecial
 #include "AliMpIntPair.h"
 #include "AliMpConstants.h"
 
+#include "AliLog.h"
+
 #include <TString.h>
 
+/// \cond CLASSIMP
 ClassImp(AliMpMotifSpecial)
+/// \endcond
 
 
 //______________________________________________________________________________
 AliMpMotifSpecial::AliMpMotifSpecial():
   AliMpVMotif(),
+  fDimensions(),
   fPadDimensionsVector(),
   fPadDimensionsVector2()
 {
@@ -48,6 +53,7 @@ AliMpMotifSpecial::AliMpMotifSpecial():
 AliMpMotifSpecial::AliMpMotifSpecial(const TString &id, 
                                      AliMpMotifType *motifType)
   : AliMpVMotif(id,motifType),
+    fDimensions(),
 #ifdef WITH_STL
     fPadDimensionsVector(),
 #endif    
@@ -134,7 +140,7 @@ TVector2 AliMpMotifSpecial::GetPadDimensions(Int_t i) const
 /// Returns the i-th different pad dimensions 
 
   if (i<0 || i>GetNofPadDimensions()) {
-    Fatal("GetPadDimensions(i)", "Index outside limits.");
+    AliFatal("Index outside limits.");
     return TVector2();
   }  
 
@@ -264,8 +270,8 @@ AliMpIntPair AliMpMotifSpecial::PadIndicesLocal(const TVector2& localPos) const
 void AliMpMotifSpecial::SetPadDimensions(const AliMpIntPair& localIndices,
                                          const TVector2& dimensions)
 {
-  /// Set the dimensions of the pad located at <localIndices> to the given
-  /// <dimensions>
+  /// Set the dimensions of the pad located at \a localIndices to the given
+  /// \a dimensions
   
   if ( !GetMotifType()->HasPad(localIndices)){
     Warning("SetPadDimensions","Pad indices outside limits");