Parent Directory | Revision Log
add comments to S4 level2 class
1 | pam-rm2 | 1.5 | /** |
2 | * \file inc/S4Level2.h | ||
3 | */ | ||
4 | mocchiut | 1.2 | #ifndef S4Level2_h |
5 | #define S4Level2_h | ||
6 | pam-rm2 | 1.5 | // |
7 | mocchiut | 1.2 | #include <TObject.h> |
8 | pam-fi | 1.3 | #include <S4Struct.h> |
9 | pam-rm2 | 1.5 | // |
10 | mocchiut | 1.2 | |
11 | pam-rm2 | 1.5 | /** |
12 | * \brief S4 level2 class | ||
13 | * | ||
14 | * This class contains level2 S4 variables | ||
15 | * | ||
16 | **/ | ||
17 | mocchiut | 1.2 | class S4Level2 : public TObject { |
18 | pam-rm2 | 1.5 | private: |
19 | |||
20 | mocchiut | 1.2 | public: |
21 | pam-rm2 | 1.5 | // |
22 | // 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 | pam-fi | 1.3 | void SetFromLevel2Struct(cS4Level2 *l2); |
40 | pam-rm2 | 1.5 | // |
41 | pam-fi | 1.3 | void GetLevel2Struct(cS4Level2 *l2) const; |
42 | pam-rm2 | 1.5 | // |
43 | mocchiut | 1.2 | void Clear(); |
44 | pam-rm2 | 1.5 | // |
45 | mocchiut | 1.4 | ClassDef(S4Level2, 2) |
46 | mocchiut | 1.2 | }; |
47 | pam-rm2 | 1.5 | |
48 | mocchiut | 1.2 | #endif |
ViewVC Help | |
Powered by ViewVC 1.1.23 |