]>
Commit | Line | Data |
---|---|---|
178dd351 | 1 | #ifndef ALIHLTCALOCHANNELRAWDATASTRUCT_H |
2 | #define ALIHLTCALOCHANNELRAWDATASTRUCT_H | |
3 | ||
4 | /************************************************************************** | |
5 | * This file is property of and copyright by the Experimental Nuclear * | |
6 | * Physics Group, Dep. of Physics * | |
7 | * University of Oslo, Norway, 2007 * | |
8 | * * | |
9 | * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project.* | |
10 | * Contributors are mentioned in the code where appropriate. * | |
11 | * Please report bugs to perthi@fys.uio.no * | |
12 | * * | |
13 | * Permission to use, copy, modify and distribute this software and its * | |
14 | * documentation strictly for non-commercial purposes is hereby granted * | |
15 | * without fee, provided that the above copyright notice appears in all * | |
16 | * copies and that both the copyright notice and this permission notice * | |
17 | * appear in the supporting documentation. The authors make no claims * | |
18 | * about the suitability of this software for any purpose. It is * | |
19 | * provided "as is" without express or implied warranty. * | |
20 | **************************************************************************/ | |
21 | ||
22 | #include "AliHLTCaloChannelDataStruct.h" | |
23 | #include "AliHLTCaloCoordinate.h" | |
24 | #include "Rtypes.h" | |
76ffc0ce | 25 | |
973b7881 | 26 | // disable warnings to avoid |
27 | // warning: base class ‘class ...’ has a non-virtual destructor | |
28 | #if defined __GNUC__ | |
5b7468b4 | 29 | #if __GNUC__ == 4 && __GNUC_MINOR__ > 3 |
973b7881 | 30 | #pragma GCC diagnostic ignored "-Weffc++" |
5b7468b4 | 31 | #else |
32 | #pragma GCC system_header | |
33 | #endif | |
973b7881 | 34 | #elif defined __SUNPRO_CC |
35 | #pragma disable_warn | |
36 | #elif defined _MSC_VER | |
37 | #pragma warning(push, 1) | |
38 | #endif | |
178dd351 | 39 | |
8b848697 | 40 | ///comment |
41 | ||
76ffc0ce | 42 | // using namespace CaloHLTConst; |
178dd351 | 43 | |
178dd351 | 44 | struct AliHLTCaloChannelRawDataStruct : public AliHLTCaloChannelDataStruct |
45 | { | |
46 | AliHLTCaloCoordinate fCoordinate; | |
47 | int nSamplesUsed; | |
8b848697 | 48 | // UShort_t fDataPtr[ALTROMAXSAMPLES] = {0,}; |
c6d582d5 | 49 | UShort_t fData; |
178dd351 | 50 | }; |
51 | ||
973b7881 | 52 | #if defined __GNUC__ |
5b7468b4 | 53 | #if __GNUC__ == 4 && __GNUC_MINOR__ > 3 |
54 | #pragma GCC diagnostic ignored "-Weffc++" | |
55 | #endif | |
973b7881 | 56 | #elif defined __SUNPRO_CC |
57 | #pragma enable_warn | |
58 | #elif defined _MSC_VER | |
59 | #pragma warning(pop) | |
60 | #endif | |
61 | ||
178dd351 | 62 | #endif |