]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONSt1SpecialMotif.h
negative indexes allowed
[u/mrichter/AliRoot.git] / MUON / AliMUONSt1SpecialMotif.h
1 #ifndef ALI_MUON_ST1_SPECIAL_MOTIF_H
2 #define ALI_MUON_ST1_SPECIAL_MOTIF_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 // Authors: David Guez, Ivana Hrivnacova, Marion MacCormick; IPN Orsay
9 //
10 // Class AliMUONSt1SpecialMotif
11 // ----------------------------
12 // Encapsulate the distance between the center of a given daughter card
13 // and the pad/kapton connector.
14
15 #include <TVector2.h>
16
17 class AliMUONSt1SpecialMotif  
18 {
19   public:
20     AliMUONSt1SpecialMotif();
21     AliMUONSt1SpecialMotif(const TVector2& delta,Double_t rotAngle=0.);
22     AliMUONSt1SpecialMotif(const AliMUONSt1SpecialMotif& src);
23     virtual ~AliMUONSt1SpecialMotif();
24     
25     TVector2 GetDelta()    const {return fDelta;}
26     Double_t GetRotAngle() const {return fRotAngle;}
27
28   private:
29     TVector2  fDelta;   // offset of this motif
30     Double_t  fRotAngle;// rotation angle in degrees (0° = vertical) 
31 };
32
33 #endif //ALI_MUON_ST1_SPECIAL_MOTIF_H