]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSBase.h
- Bug fix: in the creation/reading of the trigger DCS values, the HV and currents...
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSBase.h
1 //-*- Mode: C++ -*-
2 // $Id$
3
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"
29 #include "AliHLTPHOSConstants.h"
30 #include "AliHLTPHOSConfig.h"
31 #include "AliHLTPHOSAltroConfig.h"
32 #include "AliHLTLogging.h"
33
34 using namespace PhosHLTConst;
35
36
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
44
45 class  AliHLTPHOSBase : public AliHLTPHOSConfig, public AliHLTPHOSAltroConfig
46 {
47  public:
48   AliHLTPHOSBase();
49   virtual ~AliHLTPHOSBase();
50
51   
52 protected:
53   AliHLTPHOSConfig *fConfigPtr;        // object holding HLT configuration data
54   AliHLTPHOSConfig *fAltroConfigPtr;   // object holding Altro configuration data
55
56 private:
57   AliHLTLogging *fLogPtr;
58
59   AliHLTPHOSBase(const AliHLTPHOSBase & );
60   AliHLTPHOSBase & operator = (const AliHLTPHOSBase &);
61 };
62
63 #endif