X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2Frec%2FAliHLTMiscImplementation.h;h=bb00901b29345be8c1eacae27827188deb840896;hb=f8bd6b9fc29d5806925bdc03e48f4a2fd16ce34a;hp=2b08d70604867206369fa1e651c9c77c9a8c746b;hpb=df5d2b78b995dc89a85bac96dc681b364e3d99f2;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/rec/AliHLTMiscImplementation.h b/HLT/rec/AliHLTMiscImplementation.h index 2b08d706048..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,16 +27,21 @@ class AliHLTMiscImplementation : public AliHLTMisc int InitCDB(const char* cdbpath); int SetCDBRunNo(int runNo); - int GetCDBRunNo(); + 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]); @@ -41,6 +49,13 @@ class AliHLTMiscImplementation : public AliHLTMisc 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)