X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONSt1SpecialMotif.cxx;h=66b7ba276b7275ff8c4ae3f03ac50401e55c0fab;hb=96e9d606f432a305491695c2a1f6ab2fd6f10342;hp=78f8912ed938f926e729b0c5f7628fce01b574e4;hpb=d12a7158071fadfaa7bffffba4e08a03b4c12342;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONSt1SpecialMotif.cxx b/MUON/AliMUONSt1SpecialMotif.cxx index 78f8912ed93..66b7ba276b7 100644 --- a/MUON/AliMUONSt1SpecialMotif.cxx +++ b/MUON/AliMUONSt1SpecialMotif.cxx @@ -15,13 +15,14 @@ /* $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" @@ -32,7 +33,7 @@ AliMUONSt1SpecialMotif::AliMUONSt1SpecialMotif(const TVector2& delta, :fDelta(delta), fRotAngle(rotAngle) { -// normal constructor +/// Standard constructor } //__________________________________________________________________________ @@ -40,7 +41,7 @@ AliMUONSt1SpecialMotif::AliMUONSt1SpecialMotif() :fDelta(TVector2(0.,0.)), fRotAngle(0.) { -// default constructor +/// Default constructor } //__________________________________________________________________________ @@ -49,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; +}