]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/BASE/AliHLTReconstructorBase.h
bugfix: correctly handle steering events in order to avoid warning 'Data source compo...
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTReconstructorBase.h
CommitLineData
a3ef3c1d 1// $Id$
2
3#ifndef ALIHLTRECONSTRUCTORBASE_H
4#define ALIHLTRECONSTRUCTORBASE_H
5//* This file is property of and copyright by the ALICE HLT Project *
6//* ALICE Experiment at CERN, All rights reserved. *
7//* See cxx source for full Copyright notice *
8
9/** @file AliHLTReconstructorBase.h
10 @author Matthias Richter
11 @date
12 @brief Base class for HLT reconstruction classes.
13*/
14
15// see below for class documentation
16// or
17// refer to README to build package
18// or
19// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
20
21#include "TObject.h"
22
23class AliHLTSystem;
24
25/**
26 * @class AliHLTReconstructorBase
27 * Base class for HLT reconstruction classes. AliHLTReconstructor and
28 * AliRawReaderHLT both use the global AliHLTSystem instance. This
29 * base class hosts the global instance.
30 */
31class AliHLTReconstructorBase {
32 public:
33 AliHLTReconstructorBase();
34 /** destructor */
35 virtual ~AliHLTReconstructorBase();
36
37 /**
38 * Init the global AliHLTSystem instance.
39 */
40 static void InitInstance();
41
42 /**
43 * Get the global AliHLTSystem instance.
44 */
45 static AliHLTSystem* GetInstance();
46
47 protected:
48
49 private:
50 /** copy constructor prohibited */
51 AliHLTReconstructorBase(const AliHLTReconstructorBase& src);
52 /** assignment operator prohibited */
53 AliHLTReconstructorBase& operator=(const AliHLTReconstructorBase& src);
54
55 static AliHLTSystem* fpSystem; //! HLT steering object
56
57 static int fNofInstances;
58
59 ClassDef(AliHLTReconstructorBase, 0) // base class for the HLT reconstruction
60};
61#endif