]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpMotif.h
Changing Digit by VDigit (Laurent)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpMotif.h
index ef2ac537ba23bd114849bca60ced3a19e22b0634..7b6d1a4abdf86316c2ec8a6eacb692f8604f1d00 100755 (executable)
@@ -1,31 +1,35 @@
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
 // $Id$
-// Category: motif
-//
-// Class AliMpMotif
-// ----------------
-// Class that defines a motif with its unique ID
-// and the motif type.
-//
-// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
-
-#ifndef M_MOTIF_H
-#define M_MOTIF_H
+// $MpId: AliMpMotif.h,v 1.8 2006/05/24 13:58:18 ivana Exp $
+
+/// \ingroup motif
+/// \class AliMpMotif
+/// \brief A motif with its unique ID and the motif type.
+///
+/// \author David Guez, Ivana Hrivnacova; IPN Orsay
+
+#ifndef ALI_MP_MOTIF_H
+#define ALI_MP_MOTIF_H
+
+#include "AliMpVMotif.h"
 
 #include <TObject.h>
-#include <TString.h>
 #include <TVector2.h>
 
-#include "AliMpVMotif.h"
+class TString;
 
 class AliMpMotif : public AliMpVMotif
 {
  public:
   AliMpMotif(const TString &id,AliMpMotifType *motifType, const TVector2& padDimension);
   AliMpMotif();
+  virtual ~AliMpMotif();
 
   // Access methods
   virtual Int_t    GetNofPadDimensions() const;
-  virtual TVector2 GetPadDimensions(Int_t i = 0) const;
+  virtual TVector2 GetPadDimensions(Int_t /*i*/ = 0) const;
   virtual TVector2 GetPadDimensions(const AliMpIntPair& localIndices) const;
 
   // Geometry
@@ -39,14 +43,19 @@ class AliMpMotif : public AliMpVMotif
   // methods
 
   // data members 
-  TVector2    fPadDimensions; //pad dimensions (halflength x, y size) 
+  TVector2  fPadDimensions; ///< pad dimensions (halflength x, y size) 
 
   ClassDef(AliMpMotif,1) // A motif with its ID
 };
 
 // inline functions
 
-inline Int_t    AliMpMotif::GetNofPadDimensions() const { return 1; }
-inline TVector2 AliMpMotif::GetPadDimensions(Int_t i) const { return fPadDimensions; }  
+                            /// Return 1 as the number of pad dimensions 
+inline Int_t    AliMpMotif::GetNofPadDimensions() const 
+{ return 1; }
+
+                            /// Return the pad dimensions 
+inline TVector2 AliMpMotif::GetPadDimensions(Int_t /*i*/) const 
+{ return fPadDimensions; }  
 
-#endif //M_MOTIF_H
+#endif //ALI_MP_MOTIF_H