/** @file AliHLTReconstructorBase.cxx
@author Matthias Richter
@date
- @brief Base class for HLT reconstruction classes.
+ @brief AliHLTPluginBase child for backward compatibility.
*/
#include "AliHLTReconstructorBase.h"
-#include "AliHLTSystem.h"
/** ROOT macro for the implementation of ROOT specific class methods */
ClassImp(AliHLTReconstructorBase)
// refer to README to build package
// or
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
- fNofInstances++;
}
AliHLTReconstructorBase::~AliHLTReconstructorBase()
{
// see header file for class documentation
- if (--fNofInstances<=0) delete fpSystem;
- fpSystem=NULL;
}
-
-void AliHLTReconstructorBase::InitInstance()
-{
- // see header file for class documentation
- if (!fpSystem) fpSystem=new AliHLTSystem;
-}
-
-AliHLTSystem* AliHLTReconstructorBase::GetInstance()
-{
- // see header file for class documentation
- if (!fpSystem) InitInstance();
- return fpSystem;
-}
-
-
-AliHLTSystem* AliHLTReconstructorBase::fpSystem=NULL;
-
-int AliHLTReconstructorBase::fNofInstances=0;