]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/rec/AliHLTMiscImplementation.h
implementing helper function to get the run number from the OCDB setup
[u/mrichter/AliRoot.git] / HLT / rec / AliHLTMiscImplementation.h
CommitLineData
2b545cdd 1//-*- Mode: C++ -*-
2// $Id$
3
4#ifndef ALIHLTMISCIMPLEMENTATION_H
5#define ALIHLTMISCIMPLEMENTATION_H_H
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);
df5d2b78 27 int GetCDBRunNo();
2b545cdd 28
29 AliCDBEntry* LoadOCDBEntry(const char* path, int runNo=-1, int version = -1, int subVersion = -1);
30
31 TObject* ExtractObject(AliCDBEntry* entry);
cc484ed9 32
33 int InitMagneticField() const;
34
73305a93 35 AliHLTUInt64_t GetTriggerMask(AliRawReader* rawReader) const;
36
a5e775ec 37 Double_t GetBz();
38 Double_t GetBz(const Double_t *r);
39 void GetBxByBz(const Double_t r[3], Double_t b[3]);
40
95ea76b5 41 const TClass* IsAliESDHLTDecision() const;
42 int Copy(const AliHLTGlobalTriggerDecision* pDecision, TObject* pESDHLTDecision) const;
43
2b545cdd 44 private:
45
46 ClassDef(AliHLTMiscImplementation, 0)
47};
48
49#endif //ALIHLTMISCIMPLEMENTATION_H