1 |
#include <NDLevel2.h> |
#include <NDLevel2.h> |
2 |
|
|
3 |
NDLevel2::NDLevel2() : |
NDLevel2::NDLevel2(){ |
4 |
upperBack(0), |
this->Clear(); |
5 |
bottomBack(0), |
} |
|
trigPhysics(0) {} |
|
6 |
|
|
7 |
|
void NDLevel2::Clear(){ |
8 |
|
upperBack = 0.; |
9 |
|
bottomBack = 0.; |
10 |
|
trigPhysics = 0.; |
11 |
|
unpackError = 0; |
12 |
|
} |
13 |
|
/** |
14 |
|
* Fills a struct cNDLevel2 with values from a NDLevel2 object (to put data into a F77 common). |
15 |
|
*/ |
16 |
|
void NDLevel2::GetLevel2Struct(cNDLevel2 *l2) const{ |
17 |
|
l2->upperback = upperBack; |
18 |
|
l2->bottomback = bottomBack; |
19 |
|
l2->trigphysics = trigPhysics; |
20 |
|
} |
21 |
|
|
22 |
|
|
23 |
|
void NDLevel2::SetFromLevel2Struct(cNDLevel2 *l2){ |
24 |
|
upperBack = l2->upperback; |
25 |
|
bottomBack = l2->bottomback; |
26 |
|
trigPhysics = l2->trigphysics; |
27 |
|
} |
28 |
|
|
29 |
ClassImp(NDLevel2) |
ClassImp(NDLevel2) |