/[PAMELA software]/DarthVader/NDLevel2/inc/NDLevel2.h
ViewVC logotype

Diff of /DarthVader/NDLevel2/inc/NDLevel2.h

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

revision 1.4 by mocchiut, Thu Nov 9 17:05:45 2006 UTC revision 1.5 by pam-rm2, Tue Mar 6 16:22:01 2007 UTC
# Line 1  Line 1 
1    /**
2     * \file inc/NDLevel2.h
3     */
4  #ifndef NDLevel2_h  #ifndef NDLevel2_h
   
5  #define NDLevel2_h  #define NDLevel2_h
6    //
7  #include <TObject.h>  #include <TObject.h>
8  #include <NDStruct.h>  #include <NDStruct.h>
9    //
10    
11    /**
12     * \brief ND level2 class
13     *
14     * This class contains level2 ND variables
15     *
16    **/
17  class NDLevel2 : public TObject {  class NDLevel2 : public TObject {
18   public:   private:
     NDLevel2();  
     NDLevel2*   GetNDLevel2(){return this;};  // <<<ELENA  
19    
20      void SetFromLevel2Struct(cNDLevel2 *l2);   public:
21      void GetLevel2Struct(cNDLevel2 *l2) const;    //
22      // general variables
23      void Clear(); // emiliano    //
24      Float_t upperBack;    Int_t unpackError; // emiliano
25      Float_t bottomBack;    //
26      Float_t trigPhysics;    // ND variables
27      Int_t unpackError; // emiliano    //
28      ClassDef(NDLevel2, 2)    Float_t upperBack; ///< number of neutrons in the upper part of the detector between two triggers
29      Float_t bottomBack; ///< number of neutrons in the bottom part of the detector between two triggers
30      Float_t trigPhysics; ///< number of neutrons during trigger
31      //
32      // constructor
33      //
34      NDLevel2();///< Constructor.
35      //
36      NDLevel2*   GetNDLevel2(){return this;};  // <<<ELENA
37      //
38      // METHODS
39      //
40      void SetFromLevel2Struct(cNDLevel2 *l2);
41      //
42      void GetLevel2Struct(cNDLevel2 *l2) const;
43      //
44      void Clear(); // emiliano
45      //
46      ClassDef(NDLevel2, 2)
47  };  };
48  #endif  #endif

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23