1 |
/** |
2 |
* \file inc/NDLevel2.h |
3 |
*/ |
4 |
#ifndef NDLevel2_h |
5 |
#define NDLevel2_h |
6 |
// |
7 |
#include <TObject.h> |
8 |
#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 { |
18 |
private: |
19 |
|
20 |
public: |
21 |
// |
22 |
// general variables |
23 |
// |
24 |
Int_t unpackError; // emiliano |
25 |
// |
26 |
// ND variables |
27 |
// |
28 |
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 |