1 |
|
/** |
2 |
|
* \file inc/S4Level2.h |
3 |
|
*/ |
4 |
#ifndef S4Level2_h |
#ifndef S4Level2_h |
|
|
|
5 |
#define S4Level2_h |
#define S4Level2_h |
6 |
|
// |
7 |
#include <TObject.h> |
#include <TObject.h> |
8 |
|
#include <S4Struct.h> |
9 |
|
// |
10 |
|
|
11 |
|
/** |
12 |
|
* \brief S4 level2 class |
13 |
|
* |
14 |
|
* This class contains level2 S4 variables |
15 |
|
* |
16 |
|
**/ |
17 |
class S4Level2 : public TObject { |
class S4Level2 : public TObject { |
18 |
|
private: |
19 |
|
|
20 |
public: |
public: |
21 |
S4Level2(); |
// |
22 |
S4Level2* GetS4Level2(){return this;}; // <<<ELENA |
// general variables |
23 |
|
// |
24 |
|
Int_t unpackError; ///< no errors |
25 |
|
// |
26 |
|
// S4 variables |
27 |
|
// |
28 |
|
Float_t S4calibrated; ///< total energy detected in the scintillator (MIP) |
29 |
|
Float_t S4adc; ///< raw value of the total energy detected in the scintillator (Ch) |
30 |
|
// |
31 |
|
// constructor |
32 |
|
// |
33 |
|
S4Level2(); ///< Constructor. |
34 |
|
// |
35 |
|
S4Level2* GetS4Level2(){return this;}; // ELENA |
36 |
|
// |
37 |
|
// METHODS |
38 |
|
// |
39 |
|
void SetFromLevel2Struct(cS4Level2 *l2); |
40 |
|
// |
41 |
|
void GetLevel2Struct(cS4Level2 *l2) const; |
42 |
|
// |
43 |
void Clear(); |
void Clear(); |
44 |
|
// |
45 |
Float_t S4calibrated; |
ClassDef(S4Level2, 2) |
|
Float_t S4adc; |
|
|
ClassDef(S4Level2, 1) |
|
46 |
}; |
}; |
47 |
|
|
48 |
#endif |
#endif |