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

Contents of /DarthVader/NDLevel2/src/NDLevel2.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show 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 #include <NDLevel2.h>
2
3 NDLevel2::NDLevel2(){
4 this->Clear();
5 }
6
7 void NDLevel2::Clear(){
8 upperBack = 0.;
9 bottomBack = 0.;
10 trigPhysics = 0.;
11 unpackError = 0;
12 }
13 /**
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
29 ClassImp(NDLevel2)

  ViewVC Help
Powered by ViewVC 1.1.23