1 |
kusanagi |
1.1 |
/** @file |
2 |
|
|
* $Source: /home/cvsmanager/yoda/event/RegistryEvent.h,v $ |
3 |
|
|
* $Id: RegistryEvent.h,v 6.1 2006/03/27 08:42:15 kusanagi Exp $ |
4 |
|
|
* $Author: kusanagi $ |
5 |
|
|
* |
6 |
|
|
* Header file for the RegistryEvent class. |
7 |
|
|
*/ |
8 |
|
|
#ifndef YMAGN_GEO_H |
9 |
|
|
#define YMAGN_GEO_H |
10 |
|
|
|
11 |
|
|
#include "TObject.h" |
12 |
|
|
#include "TString.h" |
13 |
|
|
|
14 |
|
|
namespace pamela { |
15 |
|
|
|
16 |
|
|
class YMagnGeo: public TObject { |
17 |
|
|
private: |
18 |
|
|
float m_bnorth; // Magnetic field north component |
19 |
|
|
float m_beast; // Magnetic field east component |
20 |
|
|
float m_bdown; // Magnetic field down component |
21 |
|
|
float m_babs; // Magnetic field down component |
22 |
|
|
float m_L; // L value |
23 |
|
|
float m_BvsB0; // Ratio beetwen B and B0 (the field at magnetic equator) |
24 |
|
|
public: |
25 |
|
|
float getBNorth() {return m_bnorth;} |
26 |
|
|
float setBNorth(float val) {m_bnorth = val;} |
27 |
|
|
|
28 |
|
|
float getBEast() {return m_beast;} |
29 |
|
|
float setBEast(float val) {m_beast = val;} |
30 |
|
|
|
31 |
|
|
float getBDown() {return m_bdown;} |
32 |
|
|
float setBDown(float val) {m_bdown = val;} |
33 |
|
|
|
34 |
|
|
float getBAbs() {return m_babs;} |
35 |
|
|
float setBAbs(float val) {m_babs = val;} |
36 |
|
|
|
37 |
|
|
float getL() {return m_L;} |
38 |
|
|
float setL(float val) {m_L = val;} |
39 |
|
|
|
40 |
|
|
float getBvsB0() {return m_BvsB0;} |
41 |
|
|
float setBvsB0(float val) {m_BvsB0 = val;} |
42 |
|
|
|
43 |
|
|
YMagnGeo(); |
44 |
|
|
~YMagnGeo(void) {}; |
45 |
|
|
ClassDef(YMagnGeo, 1) |
46 |
|
|
}; |
47 |
|
|
} |
48 |
|
|
#endif /* YMAGN_GEO_H */ |
49 |
|
|
|