X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2Frec%2FAliHLTMiscImplementation.h;h=bb00901b29345be8c1eacae27827188deb840896;hb=f8bd6b9fc29d5806925bdc03e48f4a2fd16ce34a;hp=833d979c999de9d75901148ee944bf7328d97c7e;hpb=73305a9321519200f12f8d7646333715eecf1c0a;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/rec/AliHLTMiscImplementation.h b/HLT/rec/AliHLTMiscImplementation.h index 833d979c999..bb00901b293 100644 --- a/HLT/rec/AliHLTMiscImplementation.h +++ b/HLT/rec/AliHLTMiscImplementation.h @@ -2,10 +2,10 @@ // $Id$ #ifndef ALIHLTMISCIMPLEMENTATION_H -#define ALIHLTMISCIMPLEMENTATION_H_H -//* This file is property of and copyright by the ALICE HLT Project * +#define ALIHLTMISCIMPLEMENTATION_H +//* This file is property of and copyright by the * //* ALICE Experiment at CERN, All rights reserved. * -//* See cxx source for full Copyright notice */ +//* See cxx source for full Copyright notice * /// @file AliHLTMiscImplementation.h /// @author Matthias Richter @@ -14,7 +14,10 @@ /// loaded libraries #include "AliHLTMisc.h" - +/** + * @class AliHLTMiscImplementation + * Implementation of various glue functions provided by AliHLTMisc. + */ class AliHLTMiscImplementation : public AliHLTMisc { public: @@ -24,15 +27,35 @@ class AliHLTMiscImplementation : public AliHLTMisc int InitCDB(const char* cdbpath); int SetCDBRunNo(int runNo); + int GetCDBRunNo() const; - AliCDBEntry* LoadOCDBEntry(const char* path, int runNo=-1, int version = -1, int subVersion = -1); + AliCDBEntry* LoadOCDBEntry(const char* path, int runNo=-1) const; - TObject* ExtractObject(AliCDBEntry* entry); + TObject* ExtractObject(AliCDBEntry* entry) const; + int CheckOCDBEntries(const TMap* const pMap) const; int InitMagneticField() const; AliHLTUInt64_t GetTriggerMask(AliRawReader* rawReader) const; + AliHLTUInt32_t GetTimeStamp(AliRawReader* rawReader) const; + AliHLTUInt32_t GetEventType(AliRawReader* rawReader) const; + const char* GetBeamTypeFromGRP() const; + + Double_t GetBz(); + Double_t GetBz(const Double_t *r); + void GetBxByBz(const Double_t r[3], Double_t b[3]); + + const TClass* IsAliESDHLTDecision() const; + int Copy(const AliHLTGlobalTriggerDecision* pDecision, TObject* pESDHLTDecision) const; + + int InitStreamerInfos(const char* ocdbEntry) const; + int InitStreamerInfos(TObjArray* pSchemas) const; + int MergeStreamerInfo(TObjArray* tgt, const TObjArray* src, int iVerbosity=0) const; + + void SetAliESDtrackOnlineModeFlag(bool mode) const; + bool GetAliESDtrackOnlineModeFlag() const; + private: ClassDef(AliHLTMiscImplementation, 0)