]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/rec/AliHLTMiscImplementation.h
Update master to aliroot
[u/mrichter/AliRoot.git] / HLT / rec / AliHLTMiscImplementation.h
index 9cb1f67a17297851e26e9dc15403a7d3fc416531..31caa49863bcd32d89350e32c7ab8a6a6811e48b 100644 (file)
@@ -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
 ///         loaded libraries
 
 #include "AliHLTMisc.h"
-
+/**
+ * @class AliHLTMiscImplementation
+ * Implementation of various glue functions provided by AliHLTMisc.
+ */
 class AliHLTMiscImplementation : public AliHLTMisc
 {
  public:
@@ -24,10 +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) const;
+
+  TObject* ExtractObject(AliCDBEntry* entry) const;
+  int CheckOCDBEntries(const TMap* const pMap) const;
+
+  int InitMagneticField() const;
+
+  AliHLTTriggerMask_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;
 
-  AliCDBEntry* LoadOCDBEntry(const char* path, int runNo=-1, int version = -1, int subVersion = -1);
+  void SetAliESDtrackOnlineModeFlag(bool mode) const;
+  bool GetAliESDtrackOnlineModeFlag() const;
 
-  TObject* ExtractObject(AliCDBEntry* entry);
  private:
 
   ClassDef(AliHLTMiscImplementation, 0)