]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONSt1SpecialMotif.h
Change in CDB storage of Metadata
[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 // Revision of includes 07/05/2004
8
9 /// \ingroup sim
10 /// \class AliMUONSt1SpecialMotif
11 /// \brief Helper class to encapsulate the distance between the daughter card
12 /// and the pad/kapton connector
13 ///
14 /// Encapsulate the distance between the center of a given daughter card
15 /// and the pad/kapton connector.
16 ///
17 /// Authors: David Guez, Ivana Hrivnacova, Marion MacCormick; IPN Orsay
18
19 #include <TVector2.h>
20
21 class AliMUONSt1SpecialMotif  
22 {
23   public:
24     AliMUONSt1SpecialMotif();
25     AliMUONSt1SpecialMotif(const TVector2& delta,Double_t rotAngle=0.);
26     AliMUONSt1SpecialMotif(const AliMUONSt1SpecialMotif& src);
27     virtual ~AliMUONSt1SpecialMotif();
28              
29              /// Return offset
30     TVector2 GetDelta()    const {return fDelta;}
31     
32              /// Return rotation angle in degrees (0 = vertical) 
33     Double_t GetRotAngle() const {return fRotAngle;}
34
35   private:
36     TVector2  fDelta;   ///< offset of this motif
37     Double_t  fRotAngle;///< rotation angle in degrees (0 = vertical) 
38 };
39
40 #endif //ALI_MUON_ST1_SPECIAL_MOTIF_H