HerdSoftware  0.1.1
CssGeoParams.h
Go to the documentation of this file.
1 /*
2  * CssGeoParams.h
3  *
4  * Created on: 3 Nov 2020
5  * Author: Nicola Mori
6  */
7 
10 #ifndef CSSGEOPARAMS_H_
11 #define CSSGEOPARAMS_H_
12 
13 #include "common/DefaultValues.h"
14 
15 #ifdef HS_USE_ROOT
16 #include "Rtypes.h"
17 #endif
18 
19 namespace Herd {
20 
22 class CssGeoParams {
23 public:
29 
31  virtual ~CssGeoParams() = default;
32 
37  void SetSpSpinAngleM1_1(float angle) { spSpinAngleM1_1 = angle; }
42  float SpSpinAngleM1_1() { return spSpinAngleM1_1; }
43 
48  void SetSpSpinAngleM1_2(float angle) { spSpinAngleM1_2 = angle; }
53  float SpSpinAngleM1_2() { return spSpinAngleM1_2; }
54 
59  void SetSpSpinAngleM2_1(float angle) { spSpinAngleM2_1 = angle; }
64  float SpSpinAngleM2_1() { return spSpinAngleM2_1; }
65 
70  void SetSpSpinAngleM2_2(float angle) { spSpinAngleM2_2 = angle; }
75  float SpSpinAngleM2_2() { return spSpinAngleM2_2; }
76 
81  void SetSpSpinAngleMC_1(float angle) { spSpinAngleMC_1 = angle; }
86  float SpSpinAngleMC_1() { return spSpinAngleMC_1; }
87 
92  void SetSpSpinAngleMC_2(float angle) { spSpinAngleMC_2 = angle; }
97  float SpSpinAngleMC_2() { return spSpinAngleMC_2; }
98 
103  void SetSpRevAngleM1(float angle) { spRevAngleM1 = angle; }
108  float SpRevAngleM1() { return spRevAngleM1; }
109 
114  void SetSpRevAngleM2(float angle) { spRevAngleM2 = angle; }
119  float SpRevAngleM2() { return spRevAngleM2; }
120 
121 private:
122  // Spin angles for solar panels
126 
127  // Revolution angles for solar panels
129 
130 #ifdef HS_USE_ROOT
131  ClassDef(CssGeoParams, 1)
132 #endif
133 };
134 
135 } // namespace Herd
136 #endif /* CSSGEOPARAMS_H_ */
void SetSpSpinAngleMC_2(float angle)
Set the spin angle of panel 2 on module Core.
Definition: CssGeoParams.h:92
void SetSpSpinAngleMC_1(float angle)
Set the spin angle of panel 1 on module Core.
Definition: CssGeoParams.h:81
float spSpinAngleMC_1
Definition: CssGeoParams.h:125
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
float spSpinAngleM2_1
Definition: CssGeoParams.h:124
CssGeoParams()
Default constructor.
Definition: CssGeoParams.h:25
float SpRevAngleM2()
Get the revolution angle of panels on module 2.
Definition: CssGeoParams.h:119
#define DEFAULT_INIT(x)
Definition: DefaultValues.h:23
float spSpinAngleM2_2
Definition: CssGeoParams.h:124
void SetSpRevAngleM2(float angle)
Set the revolution angle of panels on module 2.
Definition: CssGeoParams.h:114
void SetSpSpinAngleM2_1(float angle)
Set the spin angle of panel 1 on module 2.
Definition: CssGeoParams.h:59
virtual ~CssGeoParams()=default
Virtual destructor.
float spSpinAngleM1_2
Definition: CssGeoParams.h:123
void SetSpSpinAngleM2_2(float angle)
Set the spin angle of panel 2 on module 2.
Definition: CssGeoParams.h:70
void SetSpRevAngleM1(float angle)
Set the revolution angle of panels on module 1.
Definition: CssGeoParams.h:103
float SpSpinAngleM2_2()
Get the spin angle of panel 2 on module 2.
Definition: CssGeoParams.h:75
float spRevAngleM2
Definition: CssGeoParams.h:128
void SetSpSpinAngleM1_2(float angle)
Set the spin angle of panel 2 on module 1.
Definition: CssGeoParams.h:48
float SpRevAngleM1()
Get the revolution angle of panels on module 1.
Definition: CssGeoParams.h:108
float SpSpinAngleM1_1()
Get the spin angle of panel 1 on module 1.
Definition: CssGeoParams.h:42
float spRevAngleM1
Definition: CssGeoParams.h:128
float spSpinAngleM1_1
Definition: CssGeoParams.h:123
float SpSpinAngleMC_2()
Get the spin angle of panel 2 on module Core.
Definition: CssGeoParams.h:97
void SetSpSpinAngleM1_1(float angle)
Set the spin angle of panel 1 on module 1.
Definition: CssGeoParams.h:37
float SpSpinAngleMC_1()
Get the spin angle of panel 1 on module Core.
Definition: CssGeoParams.h:86
float SpSpinAngleM2_1()
Get the spin angle of panel 1 on module 2.
Definition: CssGeoParams.h:64
float spSpinAngleMC_2
Definition: CssGeoParams.h:125
Geometry parameters of the Chinese Space station.
Definition: CssGeoParams.h:22
float SpSpinAngleM1_2()
Get the spin angle of panel 2 on module 1.
Definition: CssGeoParams.h:53