Line data Source code
1 : /**************************************************************************
2 : * This file is property of and copyright by the ALICE HLT Project *
3 : * ALICE Experiment at CERN, All rights reserved. *
4 : * *
5 : * Primary Authors: Oystein Djuvsland <oysteind@ift.uib.no> *
6 : * for The ALICE HLT Project. *
7 : * *
8 : * Permission to use, copy, modify and distribute this software and its *
9 : * documentation strictly for non-commercial purposes is hereby granted *
10 : * without fee, provided that the above copyright notice appears in all *
11 : * copies and that both the copyright notice and this permission notice *
12 : * appear in the supporting documentation. The authors make no claims *
13 : * about the suitability of this software for any purpose. It is *
14 : * provided "as is" without express or implied warranty. *
15 : **************************************************************************/
16 :
17 : #ifndef ALIHLTPHOSDIGITHANDLER_H
18 : #define ALIHLTPHOSDIGITHANDLER_H
19 :
20 : #include "offline/AliHLTCaloDigitHandler.h"
21 : #include "AliHLTPHOSDefinitions.h"
22 :
23 : class AliHLTPHOSDigitHandler : public AliHLTCaloDigitHandler
24 : {
25 :
26 : public:
27 :
28 : virtual ~AliHLTPHOSDigitHandler();
29 :
30 : static AliHLTPHOSDigitHandler* Instance();
31 :
32 : virtual Int_t Init(AliRunLoader* runLoader);
33 :
34 0 : virtual AliHLTComponentDataType GetDataType() { return AliHLTPHOSDefinitions::fgkDigitDataType; }
35 :
36 : protected:
37 :
38 : virtual Int_t ConvertDigit(AliDigitNew *digit);
39 :
40 : private:
41 : /** Constructor, private */
42 : AliHLTPHOSDigitHandler();
43 :
44 : /** The one and only instance of class */
45 : static AliHLTPHOSDigitHandler *fgkInstance;
46 :
47 : /** Prohibited */
48 : AliHLTPHOSDigitHandler(const AliHLTPHOSDigitHandler& );
49 :
50 : /** Prohibited */
51 : AliHLTPHOSDigitHandler& operator=(const AliHLTPHOSDigitHandler& );
52 : };
53 :
54 : #endif // ALIHLTPHOSDIGITHANDLER_H
|