Line data Source code
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 : AliMUONSt1SpecialMotif& operator=(const AliMUONSt1SpecialMotif& rhs);
29 :
30 : /// Return offset
31 72 : TVector2 GetDelta() const {return fDelta;}
32 :
33 : /// Return rotation angle in degrees (0 = vertical)
34 36 : Double_t GetRotAngle() const {return fRotAngle;}
35 :
36 : private:
37 : TVector2 fDelta; ///< offset of this motif
38 : Double_t fRotAngle;///< rotation angle in degrees (0 = vertical)
39 : };
40 :
41 : #endif //ALI_MUON_ST1_SPECIAL_MOTIF_H
|