4 #ifndef ALIHLTMISCIMPLEMENTATION_H
5 #define ALIHLTMISCIMPLEMENTATION_H
6 //* This file is property of and copyright by the ALICE HLT Project *
7 //* ALICE Experiment at CERN, All rights reserved. *
8 //* See cxx source for full Copyright notice */
10 /// @file AliHLTMiscImplementation.h
11 /// @author Matthias Richter
13 /// @brief Implementation of various glue functions implemented in dynamically
16 #include "AliHLTMisc.h"
18 class AliHLTMiscImplementation : public AliHLTMisc
21 AliHLTMiscImplementation();
22 ~AliHLTMiscImplementation();
24 int InitCDB(const char* cdbpath);
26 int SetCDBRunNo(int runNo);
27 int GetCDBRunNo() const;
29 AliCDBEntry* LoadOCDBEntry(const char* path, int runNo=-1) const;
31 TObject* ExtractObject(AliCDBEntry* entry) const;
32 int CheckOCDBEntries(const TMap* const pMap) const;
34 int InitMagneticField() const;
36 AliHLTUInt64_t GetTriggerMask(AliRawReader* rawReader) const;
38 AliHLTUInt32_t GetTimeStamp(AliRawReader* rawReader) const;
39 AliHLTUInt32_t GetEventType(AliRawReader* rawReader) const;
40 const char* GetBeamTypeFromGRP() const;
43 Double_t GetBz(const Double_t *r);
44 void GetBxByBz(const Double_t r[3], Double_t b[3]);
46 const TClass* IsAliESDHLTDecision() const;
47 int Copy(const AliHLTGlobalTriggerDecision* pDecision, TObject* pESDHLTDecision) const;
49 int InitStreamerInfos(const char* ocdbEntry) const;
50 int InitStreamerInfos(TObjArray* pSchemas) const;
52 void SetAliESDtrackOnlineModeFlag(bool mode) const;
53 bool GetAliESDtrackOnlineModeFlag() const;
57 ClassDef(AliHLTMiscImplementation, 0)
60 #endif //ALIHLTMISCIMPLEMENTATION_H