]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliTagCreator.h
Correct overloading of virtual functions in the derived classes (icc)
[u/mrichter/AliRoot.git] / STEER / AliTagCreator.h
CommitLineData
b45e5084 1#ifndef ALITAGCREATOR_H
2#define ALITAGCREATOR_H
3/* See cxx source for full Copyright notice */
4
5
6/* $Id$ */
7
8//-------------------------------------------------------------------------
9// Class AliTagCreator
10// This is the AliTagCreator class for the tag creation (post process)
11//
12// Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
13//-------------------------------------------------------------------------
14
15
16
17//////////////////////////////////////////////////////////////////////////
18// //
19// AliTagCreator //
20// //
21// Implementation of the tag creation mechanism. //
22// //
23//////////////////////////////////////////////////////////////////////////
24
25
26//ROOT
27#include <TObject.h>
b45e5084 28
cb1645b7 29class TFile;
30class TGridResult;
b45e5084 31
32
33class AliTagCreator : public TObject {
34
cb1645b7 35 public:
36 AliTagCreator();
37 AliTagCreator(const char *host, Int_t port, const char *username);
38 AliTagCreator(const char *host, Int_t port, const char *username, const char *passwd);
39 ~AliTagCreator();
40
41 void SetSE(const char *se){fSE = se;}
42 void SetStorage(Int_t storage);
43 void SetGridPath(const char *gridpath){fgridpath = gridpath;}
44 Bool_t ConnectToGrid(const char *host, Int_t port, const char *username);
45 Bool_t ReadESDCollection(TGridResult *result);
46
b45e5084 47 protected:
48 TString fUser; //the username in AliEn
49 TString fPasswd; //the username's password
50 TString fSE; //the defined storage element
b45e5084 51 TString fHost; //the defined AliEn host
28afeb2e 52 TString fgridpath; //the alien location of the tag files
b45e5084 53 Int_t fPort; //the defined port for the host login
28afeb2e 54 Int_t fStorage; //0:local - 1:grid
e16601cf 55
56 //void CreateTag(TFile* file, const char *guid, Int_t Counter);
57 void CreateTag(TFile* file, const char *guid, const char *md5, const char *turl, Long64_t size, Int_t Counter);
58
b45e5084 59 ClassDef(AliTagCreator,0)
60};
61
62#endif
63