/[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.3 by pam-fi, Fri Jul 21 10:58:10 2006 UTC revision 1.6 by mocchiut, Mon Nov 26 08:01:12 2007 UTC
# Line 1  Line 1 
1    /**
2     * \file src/NDLevel2.cpp
3     *
4    **/
5  #include <NDLevel2.h>  #include <NDLevel2.h>
6    
7  NDLevel2::NDLevel2() :      /**
8    upperBack(0),   * NDLevel2 constructor
9    bottomBack(0),  **/
10    trigPhysics(0) {}  NDLevel2::NDLevel2(){
11      this->Clear();
12    }
13  void NDLevel2::Clear(){  /**
14     * Clear variables
15    **/
16    void NDLevel2::Clear(Option_t *t){
17    upperBack = 0.;    upperBack = 0.;
18    bottomBack = 0.;    bottomBack = 0.;
19    trigPhysics = 0.;    trigPhysics = 0.;
20      unpackError = 0;
21  }  }
22  /**  /**
23   * Fills a struct cNDLevel2 with values from a NDLevel2 object (to put data into a F77 common).   * Fills a struct cNDLevel2 with values from a NDLevel2 object (to put data into a F77 common).
# Line 20  void NDLevel2::GetLevel2Struct(cNDLevel2 Line 28  void NDLevel2::GetLevel2Struct(cNDLevel2
28    l2->trigphysics = trigPhysics;    l2->trigphysics = trigPhysics;
29  }  }
30    
31    /**
32     * Fills a NDLevel2 object with values from a struct cNDLevel2.
33     */
34  void NDLevel2::SetFromLevel2Struct(cNDLevel2 *l2){  void NDLevel2::SetFromLevel2Struct(cNDLevel2 *l2){
35    upperBack   = l2->upperback;    upperBack   = l2->upperback;
36    bottomBack  = l2->bottomback;    bottomBack  = l2->bottomback;

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

  ViewVC Help
Powered by ViewVC 1.1.23