/[PAMELA software]/DarthVader/S4Level2/src/S4Level2.cpp
ViewVC logotype

Contents of /DarthVader/S4Level2/src/S4Level2.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Nov 9 17:05:47 2006 UTC (18 years ago) by mocchiut
Branch: MAIN
CVS Tags: v2r01, v3r00
Changes since 1.3: +4 -4 lines
Added unpackError in all classes, ToF .rz bug fixed, install_GL_PARAM time screw bug fixed

1 #include <S4Level2.h>
2
3 S4Level2::S4Level2(){
4 this->Clear();
5 }
6
7 void S4Level2::Clear(){
8 S4calibrated = 0.;
9 S4adc = 0.;
10 unpackError = 0;
11 }
12 /**
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
27 ClassImp(S4Level2)
28

  ViewVC Help
Powered by ViewVC 1.1.23