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

Diff of /DarthVader/NDLevel2/src/NDLevel2.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by mocchiut, Fri May 19 13:15:26 2006 UTC revision 1.3 by pam-fi, Fri Jul 21 10:58:10 2006 UTC
# Line 6  NDLevel2::NDLevel2() :     Line 6  NDLevel2::NDLevel2() :    
6    trigPhysics(0) {}    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)  ClassImp(NDLevel2)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23