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

Annotation of /DarthVader/NDLevel2/src/NDLevel2.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Thu Nov 9 17:05:45 2006 UTC (18 years, 1 month ago) by mocchiut
Branch: MAIN
CVS Tags: v2r01, v3r00
Changes since 1.3: +4 -5 lines
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