1 |
#ifndef S4Level2_h |
/** |
2 |
|
* \file inc/S4Level2.h |
3 |
#define S4Level2_h |
*/ |
4 |
#include <TObject.h> |
#ifndef S4Level2_h |
5 |
|
#define S4Level2_h |
6 |
class S4Level2 : public TObject { |
// |
7 |
public: |
#include <TObject.h> |
8 |
S4Level2(); |
#include <S4Struct.h> |
9 |
S4Level2* GetS4Level2(){return this;}; // <<<ELENA |
// |
10 |
|
|
11 |
Float_t S4calibrated; |
/** |
12 |
Float_t S4adc; |
* \brief S4 level2 class |
13 |
ClassDef(S4Level2, 1) |
* |
14 |
}; |
* This class contains level2 S4 variables |
15 |
#endif |
* |
16 |
|
**/ |
17 |
|
class S4Level2 : public TObject { |
18 |
|
private: |
19 |
|
|
20 |
|
public: |
21 |
|
// |
22 |
|
// S4 variables |
23 |
|
// |
24 |
|
Float_t S4calibrated; ///< total energy detected in the scintillator (MIP) |
25 |
|
Float_t S4adc; ///< raw value of the total energy detected in the scintillator (Ch) |
26 |
|
// |
27 |
|
// general variables |
28 |
|
// |
29 |
|
Int_t unpackError; ///< 0 no errors, 1 errors |
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(); |
44 |
|
// |
45 |
|
ClassDef(S4Level2, 2) |
46 |
|
}; |
47 |
|
|
48 |
|
#endif |