| 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 |
|
// ND variables |
| 23 |
void Clear(); // emiliano |
// |
| 24 |
Float_t upperBack; |
Float_t upperBack; ///< number of neutrons in the upper part of the detector between two triggers |
| 25 |
Float_t bottomBack; |
Float_t bottomBack; ///< number of neutrons in the bottom part of the detector between two triggers |
| 26 |
Float_t trigPhysics; |
Float_t trigPhysics; ///< number of neutrons during trigger |
| 27 |
Int_t unpackError; // emiliano |
// |
| 28 |
ClassDef(NDLevel2, 2) |
// 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 |
#endif |