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