4 #ifndef ALIHLTMISCIMPLEMENTATION_H
5 #define ALIHLTMISCIMPLEMENTATION_H
6 //* This file is property of and copyright by the *
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
19 * Implementation of various glue functions provided by AliHLTMisc.
21 class AliHLTMiscImplementation : public AliHLTMisc
24 AliHLTMiscImplementation();
25 ~AliHLTMiscImplementation();
27 int InitCDB(const char* cdbpath);
29 int SetCDBRunNo(int runNo);
30 int GetCDBRunNo() const;
32 AliCDBEntry* LoadOCDBEntry(const char* path, int runNo=-1) const;
34 TObject* ExtractObject(AliCDBEntry* entry) const;
35 int CheckOCDBEntries(const TMap* const pMap) const;
37 int InitMagneticField() const;
39 AliHLTUInt64_t GetTriggerMask(AliRawReader* rawReader) const;
41 AliHLTUInt32_t GetTimeStamp(AliRawReader* rawReader) const;
42 AliHLTUInt32_t GetEventType(AliRawReader* rawReader) const;
43 const char* GetBeamTypeFromGRP() const;
46 Double_t GetBz(const Double_t *r);
47 void GetBxByBz(const Double_t r[3], Double_t b[3]);
49 const TClass* IsAliESDHLTDecision() const;
50 int Copy(const AliHLTGlobalTriggerDecision* pDecision, TObject* pESDHLTDecision) const;
52 int InitStreamerInfos(const char* ocdbEntry) const;
53 int InitStreamerInfos(TObjArray* pSchemas) const;
54 int MergeStreamerInfo(TObjArray* tgt, const TObjArray* src, int iVerbosity=0) const;
56 void SetAliESDtrackOnlineModeFlag(bool mode) const;
57 bool GetAliESDtrackOnlineModeFlag() const;
61 ClassDef(AliHLTMiscImplementation, 0)
64 #endif //ALIHLTMISCIMPLEMENTATION_H