/[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.3 - (hide annotations) (download)
Fri Jul 21 11:01:40 2006 UTC (18 years, 4 months ago) by pam-fi
Branch: MAIN
CVS Tags: v1r01, v2r00BETA
Changes since 1.2: +14 -0 lines
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