]>
Commit | Line | Data |
---|---|---|
1b41ab20 | 1 | //-*- Mode: C++ -*- |
2 | // $Id$ | |
3 | ||
9cf4e02f | 4 | #ifndef ALIHLTPHOSBASE_H |
5 | #define ALIHLTPHOSBASE_H | |
6 | ||
7 | /************************************************************************** | |
8 | * This file is property of and copyright by the Experimental Nuclear * | |
9 | * Physics Group, Dep. of Physics * | |
10 | * University of Oslo, Norway, 2007 * | |
11 | * * | |
12 | * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project.* | |
13 | * Contributors are mentioned in the code where appropriate. * | |
14 | * Please report bugs to perthi@fys.uio.no * | |
15 | * * | |
16 | * Permission to use, copy, modify and distribute this software and its * | |
17 | * documentation strictly for non-commercial purposes is hereby granted * | |
18 | * without fee, provided that the above copyright notice appears in all * | |
19 | * copies and that both the copyright notice and this permission notice * | |
20 | * appear in the supporting documentation. The authors make no claims * | |
21 | * about the suitability of this software for any purpose. It is * | |
22 | * provided "as is" without express or implied warranty. * | |
23 | **************************************************************************/ | |
24 | ||
25 | #include <iostream> | |
26 | #include <Rtypes.h> | |
27 | #include "TString.h" | |
28 | #include "AliHLTDataTypes.h" | |
9cf4e02f | 29 | #include "AliHLTPHOSConstants.h" |
aa21410e | 30 | #include "AliHLTPHOSConfig.h" |
31 | #include "AliHLTPHOSAltroConfig.h" | |
8efbf5fe | 32 | #include "AliHLTLogging.h" |
9cf4e02f | 33 | |
34 | using namespace PhosHLTConst; | |
87434909 | 35 | |
9cf4e02f | 36 | |
af6a2273 | 37 | // |
38 | // Base class for all PHOS HLT classes. | |
39 | // The class contains some utility functions | |
40 | // and also loads data about the HLT configuration | |
41 | // and the altro/FEE configuration | |
42 | // | |
43 | ||
9c9d15d6 | 44 | |
aa21410e | 45 | class AliHLTPHOSBase : public AliHLTPHOSConfig, public AliHLTPHOSAltroConfig |
9cf4e02f | 46 | { |
939c67e7 | 47 | public: |
9cf4e02f | 48 | AliHLTPHOSBase(); |
49 | virtual ~AliHLTPHOSBase(); | |
43dd7c5e | 50 | |
aa21410e | 51 | |
52 | protected: | |
af6a2273 | 53 | AliHLTPHOSConfig *fConfigPtr; // object holding HLT configuration data |
54 | AliHLTPHOSConfig *fAltroConfigPtr; // object holding Altro configuration data | |
43dd7c5e | 55 | |
aa21410e | 56 | private: |
8efbf5fe | 57 | AliHLTLogging *fLogPtr; |
58 | ||
aa21410e | 59 | AliHLTPHOSBase(const AliHLTPHOSBase & ); |
60 | AliHLTPHOSBase & operator = (const AliHLTPHOSBase &); | |
9cf4e02f | 61 | }; |
62 | ||
63 | #endif |