]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/rec/AliHLTMiscImplementation.h
more consistent use of cuts, new cut number 1008
[u/mrichter/AliRoot.git] / HLT / rec / AliHLTMiscImplementation.h
index 833d979c999de9d75901148ee944bf7328d97c7e..bb00901b29345be8c1eacae27827188deb840896 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,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)