Parent Directory
|
Revision Log
Added unpackError in all classes, ToF .rz bug fixed, install_GL_PARAM time screw bug fixed
| 1 | mocchiut | 1.1 | #include <NDLevel2.h> |
| 2 | |||
| 3 | mocchiut | 1.4 | NDLevel2::NDLevel2(){ |
| 4 | this->Clear(); | ||
| 5 | } | ||
| 6 | mocchiut | 1.1 | |
| 7 | mocchiut | 1.2 | void NDLevel2::Clear(){ |
| 8 | upperBack = 0.; | ||
| 9 | bottomBack = 0.; | ||
| 10 | trigPhysics = 0.; | ||
| 11 | mocchiut | 1.4 | unpackError = 0; |
| 12 | mocchiut | 1.2 | } |
| 13 | pam-fi | 1.3 | /** |
| 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 | mocchiut | 1.2 | |
| 29 | mocchiut | 1.1 | ClassImp(NDLevel2) |
| ViewVC Help | |
| Powered by ViewVC 1.1.23 |