1 |
pam-rm2 |
1.5 |
/** |
2 |
|
|
* \file inc/NDLevel2.h |
3 |
|
|
*/ |
4 |
mocchiut |
1.2 |
#ifndef NDLevel2_h |
5 |
|
|
#define NDLevel2_h |
6 |
pam-rm2 |
1.5 |
// |
7 |
mocchiut |
1.2 |
#include <TObject.h> |
8 |
pam-fi |
1.3 |
#include <NDStruct.h> |
9 |
pam-rm2 |
1.5 |
// |
10 |
mocchiut |
1.2 |
|
11 |
pam-rm2 |
1.5 |
/** |
12 |
|
|
* \brief ND level2 class |
13 |
|
|
* |
14 |
|
|
* This class contains level2 ND variables |
15 |
|
|
* |
16 |
|
|
**/ |
17 |
mocchiut |
1.2 |
class NDLevel2 : public TObject { |
18 |
pam-rm2 |
1.5 |
private: |
19 |
|
|
|
20 |
mocchiut |
1.2 |
public: |
21 |
pam-rm2 |
1.5 |
// |
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 |
mocchiut |
1.6 |
// general variables |
29 |
|
|
// |
30 |
|
|
Int_t unpackError; // emiliano |
31 |
|
|
// |
32 |
pam-rm2 |
1.5 |
// 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 |
mocchiut |
1.2 |
}; |
48 |
|
|
#endif |