AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONSt1SpecialMotif.cxx
Go to the documentation of this file.
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 //__________________________________________________________________________
32  Double_t rotAngle)
33  :fDelta(delta),
34  fRotAngle(rotAngle)
35 {
37 }
38 
39 //__________________________________________________________________________
41  :fDelta(TVector2(0.,0.)),
42  fRotAngle(0.)
43 {
45 }
46 
47 //__________________________________________________________________________
49  :fDelta(src.fDelta),
50  fRotAngle(src.fRotAngle)
51 
52 {
54 }
55 
56 //__________________________________________________________________________
58 {
60 }
61 
62 //__________________________________________________________________________
64 {
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 }
AliMUONSt1SpecialMotif & operator=(const AliMUONSt1SpecialMotif &rhs)
Helper class to encapsulate the distance between the daughter card and the pad/kapton connector...
Double_t fRotAngle
rotation angle in degrees (0 = vertical)
TVector2 fDelta
offset of this motif