Line data Source code
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 :
16 : /* $Id$ */
17 :
18 : //-----------------------------------------------------------------------------
19 : // Class AliMUONSt1SpecialMotif
20 : // ----------------------------
21 : // Encapsulate the distance between the center of a given daughter card
22 : // and the pad/kapton connector.
23 : // Included in AliRoot 2003/01/28
24 : // Authors: David Guez, Ivana Hrivnacova, Marion MacCormick; IPN Orsay
25 : //-----------------------------------------------------------------------------
26 :
27 : #include "AliMUONSt1SpecialMotif.h"
28 :
29 :
30 : //__________________________________________________________________________
31 : AliMUONSt1SpecialMotif::AliMUONSt1SpecialMotif(const TVector2& delta,
32 : Double_t rotAngle)
33 18 : :fDelta(delta),
34 18 : fRotAngle(rotAngle)
35 72 : {
36 : /// Standard constructor
37 36 : }
38 :
39 : //__________________________________________________________________________
40 : AliMUONSt1SpecialMotif::AliMUONSt1SpecialMotif()
41 0 : :fDelta(TVector2(0.,0.)),
42 0 : fRotAngle(0.)
43 0 : {
44 : /// Default constructor
45 0 : }
46 :
47 : //__________________________________________________________________________
48 : AliMUONSt1SpecialMotif::AliMUONSt1SpecialMotif(const AliMUONSt1SpecialMotif& src)
49 18 : :fDelta(src.fDelta),
50 18 : fRotAngle(src.fRotAngle)
51 :
52 72 : {
53 : /// Copy constructor
54 36 : }
55 :
56 : //__________________________________________________________________________
57 : AliMUONSt1SpecialMotif::~AliMUONSt1SpecialMotif()
58 180 : {
59 : /// Destructor
60 90 : }
61 :
62 : //__________________________________________________________________________
63 : AliMUONSt1SpecialMotif& AliMUONSt1SpecialMotif::operator=(const AliMUONSt1SpecialMotif& src)
64 : {
65 : /// Assignment operator
66 :
67 : // check assignment to self
68 0 : if (this == &src) return *this;
69 :
70 0 : fDelta = src.fDelta;
71 0 : fRotAngle = src.fRotAngle;
72 :
73 0 : return *this;
74 0 : }
|