Escape special characters for latex (Diego)
[u/mrichter/AliRoot.git] / PWGPP / AliTaskCDBconnect.h
CommitLineData
f902e6f2 1#ifndef ALITASKCDBCONNECT_H
2#define ALITASKCDBCONNECT_H
3
4//==============================================================================
5// TaskCDBconnect - task just allowing connection to CDB (no lock)
6//==============================================================================
7
8#ifndef ALIANALYSISTASK_H
9#include "AliAnalysisTask.h"
10#endif
11
12class AliCDBManager;
13class AliGRPManager;
14class AliESDEvent;
15class AliESDInputHandler;
16
17class AliTaskCDBconnect : public AliAnalysisTask {
18private:
7b17a36b 19 Int_t fRun; // Current run
f902e6f2 20 AliGRPManager *fGRPManager; //! Pointer to GRP manager
21
22 AliTaskCDBconnect(const AliTaskCDBconnect &other);
23 AliTaskCDBconnect& operator=(const AliTaskCDBconnect &other);
37486ceb 24
bb82b3a0
MK
25 void InitGRP();
26 //
f902e6f2 27public:
28 AliTaskCDBconnect();
7941f520 29 AliTaskCDBconnect(const char *name, const char *storage="raw://", Int_t run=0);
f902e6f2 30 virtual ~AliTaskCDBconnect();
bb82b3a0
MK
31 Int_t GetRun() const {return fRun;}
32 AliGRPManager* GetGRPManager() const {return (AliGRPManager*)fGRPManager;}
f902e6f2 33 virtual void Exec(Option_t *option);
bb82b3a0 34 virtual void CreateOutputObjects();
1c3f0b5d 35 void SetSpecificStorage(const char* calibType, const char* dbString);
f902e6f2 36
bb82b3a0 37 ClassDef(AliTaskCDBconnect,2) // Class giving CDB connectivity
f902e6f2 38};
39#endif