]>
Commit | Line | Data |
---|---|---|
ba030c0e | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
7 | * Permission to use, copy, modify and distribute this software and its * | |
8 | * documentation strictly for non-commercial purposes is hereby granted * | |
9 | * without fee, provided that the above copyright notice appears in all * | |
10 | * copies and that both the copyright notice and this permission notice * | |
11 | * appear in the supporting documentation. The authors make no claims * | |
12 | * about the suitability of this software for any purpose. It is * | |
13 | * provided "as is" without express or implied warranty. * | |
14 | **************************************************************************/ | |
15 | ||
88cb7938 | 16 | /* $Id$ */ |
ba030c0e | 17 | |
3d1463c8 | 18 | //----------------------------------------------------------------------------- |
ba030c0e | 19 | // Class AliMUONSt1SpecialMotif |
20 | // ---------------------------- | |
21 | // Encapsulate the distance between the center of a given daughter card | |
22 | // and the pad/kapton connector. | |
5f1df83a | 23 | // Included in AliRoot 2003/01/28 |
3d1463c8 | 24 | // Authors: David Guez, Ivana Hrivnacova, Marion MacCormick; IPN Orsay |
25 | //----------------------------------------------------------------------------- | |
ba030c0e | 26 | |
27 | #include "AliMUONSt1SpecialMotif.h" | |
28 | ||
8c343c7c | 29 | |
ba030c0e | 30 | //__________________________________________________________________________ |
31 | AliMUONSt1SpecialMotif::AliMUONSt1SpecialMotif(const TVector2& delta, | |
32 | Double_t rotAngle) | |
33 | :fDelta(delta), | |
34 | fRotAngle(rotAngle) | |
35 | { | |
5398f946 | 36 | /// Standard constructor |
ba030c0e | 37 | } |
38 | ||
39 | //__________________________________________________________________________ | |
40 | AliMUONSt1SpecialMotif::AliMUONSt1SpecialMotif() | |
41 | :fDelta(TVector2(0.,0.)), | |
42 | fRotAngle(0.) | |
43 | { | |
5398f946 | 44 | /// Default constructor |
ba030c0e | 45 | } |
46 | ||
47 | //__________________________________________________________________________ | |
48 | AliMUONSt1SpecialMotif::AliMUONSt1SpecialMotif(const AliMUONSt1SpecialMotif& src) | |
49 | :fDelta(src.fDelta), | |
50 | fRotAngle(src.fRotAngle) | |
51 | ||
52 | { | |
5398f946 | 53 | /// Copy constructor |
ba030c0e | 54 | } |
55 | ||
56 | //__________________________________________________________________________ | |
57 | AliMUONSt1SpecialMotif::~AliMUONSt1SpecialMotif() | |
58 | { | |
5398f946 | 59 | /// Destructor |
ba030c0e | 60 | } |
61 | ||
59155057 | 62 | //__________________________________________________________________________ |
63 | AliMUONSt1SpecialMotif& AliMUONSt1SpecialMotif::operator=(const AliMUONSt1SpecialMotif& src) | |
64 | { | |
65 | /// Assignment operator | |
66 | ||
67 | // check assignment to self | |
68 | if (this == &src) return *this; | |
69 | ||
70 | fDelta = src.fDelta; | |
71 | fRotAngle = src.fRotAngle; | |
72 | ||
73 | return *this; | |
74 | } |