1 |
#ifndef NDLevel2_h |
/** |
2 |
|
* \file inc/NDLevel2.h |
3 |
#define NDLevel2_h |
*/ |
4 |
#include <TObject.h> |
#ifndef NDLevel2_h |
5 |
|
#define NDLevel2_h |
6 |
class NDLevel2 : public TObject { |
// |
7 |
public: |
#include <TObject.h> |
8 |
NDLevel2(); |
#include <NDStruct.h> |
9 |
NDLevel2* GetNDLevel2(){return this;}; // <<<ELENA |
// |
10 |
Float_t upperBack; |
|
11 |
Float_t bottomBack; |
/** |
12 |
Float_t trigPhysics; |
* \brief ND level2 class |
13 |
ClassDef(NDLevel2, 1) |
* |
14 |
}; |
* This class contains level2 ND variables |
15 |
#endif |
* |
16 |
|
**/ |
17 |
|
class NDLevel2 : public TObject { |
18 |
|
private: |
19 |
|
|
20 |
|
public: |
21 |
|
// |
22 |
|
// ND variables |
23 |
|
// |
24 |
|
Float_t upperBack; ///< number of neutrons in the upper part of the detector between two triggers |
25 |
|
Float_t bottomBack; ///< number of neutrons in the bottom part of the detector between two triggers |
26 |
|
Float_t trigPhysics; ///< number of neutrons during trigger |
27 |
|
// |
28 |
|
// general variables |
29 |
|
// |
30 |
|
Int_t unpackError; // emiliano |
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 |