]>
Commit | Line | Data |
---|---|---|
ba030c0e | 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$ */ | |
30178c30 | 7 | // Revision of includes 07/05/2004 |
ba030c0e | 8 | |
692de412 | 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 | |
ba030c0e | 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(); | |
59155057 | 28 | AliMUONSt1SpecialMotif& operator=(const AliMUONSt1SpecialMotif& rhs); |
5398f946 | 29 | |
30 | /// Return offset | |
ba030c0e | 31 | TVector2 GetDelta() const {return fDelta;} |
5398f946 | 32 | |
33 | /// Return rotation angle in degrees (0 = vertical) | |
ba030c0e | 34 | Double_t GetRotAngle() const {return fRotAngle;} |
35 | ||
36 | private: | |
18b6b8c7 | 37 | TVector2 fDelta; ///< offset of this motif |
38 | Double_t fRotAngle;///< rotation angle in degrees (0 = vertical) | |
ba030c0e | 39 | }; |
40 | ||
41 | #endif //ALI_MUON_ST1_SPECIAL_MOTIF_H |