/[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.3 - (show annotations) (download)
Fri Jul 21 10:58:10 2006 UTC (18 years, 4 months ago) by pam-fi
Branch: MAIN
CVS Tags: v1r01, v2r00BETA
Changes since 1.2: +15 -0 lines
modified for C3PO

1 #include <NDLevel2.h>
2
3 NDLevel2::NDLevel2() :
4 upperBack(0),
5 bottomBack(0),
6 trigPhysics(0) {}
7
8
9 void NDLevel2::Clear(){
10 upperBack = 0.;
11 bottomBack = 0.;
12 trigPhysics = 0.;
13 }
14 /**
15 * Fills a struct cNDLevel2 with values from a NDLevel2 object (to put data into a F77 common).
16 */
17 void NDLevel2::GetLevel2Struct(cNDLevel2 *l2) const{
18 l2->upperback = upperBack;
19 l2->bottomback = bottomBack;
20 l2->trigphysics = trigPhysics;
21 }
22
23
24 void NDLevel2::SetFromLevel2Struct(cNDLevel2 *l2){
25 upperBack = l2->upperback;
26 bottomBack = l2->bottomback;
27 trigPhysics = l2->trigphysics;
28 }
29
30 ClassImp(NDLevel2)

  ViewVC Help
Powered by ViewVC 1.1.23