Line data Source code
1 : //-*- Mode: C++ -*-
2 : // $Id$
3 :
4 : #ifndef ALIHLTMISCIMPLEMENTATION_H
5 : #define ALIHLTMISCIMPLEMENTATION_H
6 : //* This file is property of and copyright by the *
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 : /**
18 : * @class AliHLTMiscImplementation
19 : * Implementation of various glue functions provided by AliHLTMisc.
20 : */
21 0 : class AliHLTMiscImplementation : public AliHLTMisc
22 : {
23 : public:
24 : AliHLTMiscImplementation();
25 : ~AliHLTMiscImplementation();
26 :
27 : int InitCDB(const char* cdbpath, const char* cdbsnapshot);
28 :
29 : int SetCDBRunNo(int runNo);
30 : int GetCDBRunNo() const;
31 :
32 : AliCDBEntry* LoadOCDBEntry(const char* path, int runNo=-1) const;
33 :
34 : TObject* ExtractObject(AliCDBEntry* entry) const;
35 : int CheckOCDBEntries(const TMap* const pMap) const;
36 :
37 : int InitMagneticField() const;
38 :
39 : AliHLTTriggerMask_t GetTriggerMask(AliRawReader* rawReader) const;
40 :
41 : AliHLTUInt32_t GetTimeStamp(AliRawReader* rawReader) const;
42 : AliHLTUInt32_t GetEventType(AliRawReader* rawReader) const;
43 : const char* GetBeamTypeFromGRP() const;
44 :
45 : Double_t GetBz();
46 : Double_t GetBz(const Double_t *r);
47 : void GetBxByBz(const Double_t r[3], Double_t b[3]);
48 :
49 : const TClass* IsAliESDHLTDecision() const;
50 : int Copy(const AliHLTGlobalTriggerDecision* pDecision, TObject* pESDHLTDecision) const;
51 :
52 : int InitStreamerInfos(const char* ocdbEntry) const;
53 : int InitStreamerInfos(TObjArray* pSchemas) const;
54 : int MergeStreamerInfo(TObjArray* tgt, const TObjArray* src, int iVerbosity=0) const;
55 :
56 : void SetAliESDtrackOnlineModeFlag(bool mode) const;
57 : bool GetAliESDtrackOnlineModeFlag() const;
58 :
59 : private:
60 :
61 6 : ClassDef(AliHLTMiscImplementation, 0)
62 : };
63 :
64 : #endif //ALIHLTMISCIMPLEMENTATION_H
|