Parent Directory | Revision Log
modified for C3PO
1 | mocchiut | 1.1 | #include <S4Level2.h> |
2 | |||
3 | S4Level2::S4Level2() : | ||
4 | S4calibrated(0), | ||
5 | S4adc(0) {} | ||
6 | |||
7 | |||
8 | mocchiut | 1.2 | void S4Level2::Clear(){ |
9 | S4calibrated = 0.; | ||
10 | S4adc = 0.; | ||
11 | } | ||
12 | pam-fi | 1.3 | /** |
13 | * Fills a struct cS4Level2 with values from a S4Level2 object (to put data into a F77 common). | ||
14 | */ | ||
15 | void S4Level2::GetLevel2Struct(cS4Level2 *l2) const{ | ||
16 | l2->S4calibrated = S4calibrated; | ||
17 | l2->S4adc = S4adc; | ||
18 | |||
19 | } | ||
20 | |||
21 | void S4Level2::SetFromLevel2Struct(cS4Level2 *l2){ | ||
22 | S4calibrated = l2->S4calibrated; | ||
23 | S4adc = l2->S4adc; | ||
24 | } | ||
25 | |||
26 | mocchiut | 1.2 | |
27 | mocchiut | 1.1 | ClassImp(S4Level2) |
28 |
ViewVC Help | |
Powered by ViewVC 1.1.23 |