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

Annotation of /DarthVader/S4Level2/src/S4Level2.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Tue Mar 6 16:25:38 2007 UTC (17 years, 9 months ago) by pam-rm2
Branch: MAIN
CVS Tags: v4r00, v3r04, v3r05, v3r06, v3r01, v3r03
Changes since 1.4: +14 -2 lines
add comments to S4 level2 class

1 pam-rm2 1.5 /**
2     * \file src/S4Level2.cpp
3     *
4     **/
5 mocchiut 1.1 #include <S4Level2.h>
6    
7 pam-rm2 1.5 /**
8     * S4Level2 constructor
9     **/
10 mocchiut 1.4 S4Level2::S4Level2(){
11     this->Clear();
12     }
13 pam-rm2 1.5 /**
14     * Clear variables
15     **/
16 mocchiut 1.2 void S4Level2::Clear(){
17     S4calibrated = 0.;
18     S4adc = 0.;
19 mocchiut 1.4 unpackError = 0;
20 mocchiut 1.2 }
21 pam-fi 1.3 /**
22     * Fills a struct cS4Level2 with values from a S4Level2 object (to put data into a F77 common).
23 pam-rm2 1.5 * */
24 pam-fi 1.3 void S4Level2::GetLevel2Struct(cS4Level2 *l2) const{
25     l2->S4calibrated = S4calibrated;
26     l2->S4adc = S4adc;
27    
28     }
29    
30 pam-rm2 1.5 /**
31     * Fills a S4Level2 object with values from a struct cS4Level2.
32     */
33 pam-fi 1.3 void S4Level2::SetFromLevel2Struct(cS4Level2 *l2){
34     S4calibrated = l2->S4calibrated;
35     S4adc = l2->S4adc;
36     }
37    
38 mocchiut 1.2
39 mocchiut 1.1 ClassImp(S4Level2)
40    

  ViewVC Help
Powered by ViewVC 1.1.23