]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSt1SpecialMotif.cxx
Updates to AddTask macro from Chris
[u/mrichter/AliRoot.git] / MUON / AliMUONSt1SpecialMotif.cxx
index 5a95949d238327653e014912d68bb1fd60b8f8a7..66b7ba276b7275ff8c4ae3f03ac50401e55c0fab 100644 (file)
 
 /* $Id$ */
 
-// Authors: David Guez, Ivana Hrivnacova, Marion MacCormick; IPN Orsay
-//
+//-----------------------------------------------------------------------------
 // Class AliMUONSt1SpecialMotif
 // ----------------------------
 // Encapsulate the distance between the center of a given daughter card
 // and the pad/kapton connector.
+// Included in AliRoot 2003/01/28
+// Authors: David Guez, Ivana Hrivnacova, Marion MacCormick; IPN Orsay
+//-----------------------------------------------------------------------------
 
 #include "AliMUONSt1SpecialMotif.h"
 
+
 //__________________________________________________________________________
 AliMUONSt1SpecialMotif::AliMUONSt1SpecialMotif(const TVector2& delta, 
                                                Double_t rotAngle)
   :fDelta(delta),
    fRotAngle(rotAngle)
 {
-// normal constructor
+/// Standard constructor
 }
 
 //__________________________________________________________________________
@@ -38,7 +41,7 @@ AliMUONSt1SpecialMotif::AliMUONSt1SpecialMotif()
   :fDelta(TVector2(0.,0.)),
    fRotAngle(0.)
 {
-// default constructor
+/// Default constructor
 }
 
 //__________________________________________________________________________
@@ -47,12 +50,25 @@ AliMUONSt1SpecialMotif::AliMUONSt1SpecialMotif(const AliMUONSt1SpecialMotif& src
    fRotAngle(src.fRotAngle)
   
 {
-// copy constructor
+/// Copy constructor
 }
 
 //__________________________________________________________________________
 AliMUONSt1SpecialMotif::~AliMUONSt1SpecialMotif()
 {
-// destructor
+/// Destructor
 }
 
+//__________________________________________________________________________
+AliMUONSt1SpecialMotif& AliMUONSt1SpecialMotif::operator=(const AliMUONSt1SpecialMotif& src)
+{
+/// Assignment operator
+
+  // check assignment to self
+  if (this == &src) return *this;
+
+  fDelta = src.fDelta;
+  fRotAngle = src.fRotAngle;
+
+  return *this;
+}