removing deprecated option to query specific (sub)version of OCDB entry
[u/mrichter/AliRoot.git] / HLT / rec / AliHLTMiscImplementation.h
CommitLineData
2b545cdd 1//-*- Mode: C++ -*-
2// $Id$
3
4#ifndef ALIHLTMISCIMPLEMENTATION_H
74c1905c 5#define ALIHLTMISCIMPLEMENTATION_H
2b545cdd 6//* This file is property of and copyright by the ALICE HLT Project *
7//* ALICE Experiment at CERN, All rights reserved. *
8//* See cxx source for full Copyright notice */
9
10/// @file AliHLTMiscImplementation.h
11/// @author Matthias Richter
12/// @date 2009-07-07
13/// @brief Implementation of various glue functions implemented in dynamically
14/// loaded libraries
15
16#include "AliHLTMisc.h"
17
18class AliHLTMiscImplementation : public AliHLTMisc
19{
20 public:
21 AliHLTMiscImplementation();
22 ~AliHLTMiscImplementation();
23
24 int InitCDB(const char* cdbpath);
25
26 int SetCDBRunNo(int runNo);
74c1905c 27 int GetCDBRunNo() const;
2b545cdd 28
5df320bf 29 AliCDBEntry* LoadOCDBEntry(const char* path, int runNo=-1) const;
2b545cdd 30
74c1905c 31 TObject* ExtractObject(AliCDBEntry* entry) const;
32 int CheckOCDBEntries(const TMap* const pMap) const;
cc484ed9 33
34 int InitMagneticField() const;
35
73305a93 36 AliHLTUInt64_t GetTriggerMask(AliRawReader* rawReader) const;
37
2572a09f 38 AliHLTUInt32_t GetTimeStamp(AliRawReader* rawReader) const;
39 AliHLTUInt32_t GetEventType(AliRawReader* rawReader) const;
de254f89 40 const char* GetBeamTypeFromGRP() const;
2572a09f 41
a5e775ec 42 Double_t GetBz();
43 Double_t GetBz(const Double_t *r);
44 void GetBxByBz(const Double_t r[3], Double_t b[3]);
45
95ea76b5 46 const TClass* IsAliESDHLTDecision() const;
47 int Copy(const AliHLTGlobalTriggerDecision* pDecision, TObject* pESDHLTDecision) const;
48
79c426cf 49 int InitStreamerInfos(const char* ocdbEntry) const;
50 int InitStreamerInfos(TObjArray* pSchemas) const;
51
ee15809c 52 void SetAliESDtrackOnlineModeFlag(bool mode) const;
53 bool GetAliESDtrackOnlineModeFlag() const;
54
2b545cdd 55 private:
56
57 ClassDef(AliHLTMiscImplementation, 0)
58};
59
60#endif //ALIHLTMISCIMPLEMENTATION_H