Corrected protection.
[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 TGridResult;
850d5792 30class TChain;
b45e5084 31
c336835b 32//___________________________________________________________________________
b45e5084 33class AliTagCreator : public TObject {
34
cb1645b7 35 public:
36 AliTagCreator();
cb1645b7 37 ~AliTagCreator();
38
c336835b 39 //____________________________________________________//
5b8d5d69 40 Bool_t MergeTags(const char* type);
41 Bool_t MergeTags(const char* type, TGridResult *result);
04cb11d4 42 Bool_t MergeTags(const char* type, const char *inflist);
850d5792 43
44 Bool_t MergeTagsForRun(const char* type);
45 Bool_t MergeTagsForRun(const char* type, TGridResult *result);
46 Bool_t MergeTagsForRun(const char* type, const char *inflist);
4fd84456 47
cb1645b7 48 void SetSE(const char *se){fSE = se;}
49 void SetStorage(Int_t storage);
50 void SetGridPath(const char *gridpath){fgridpath = gridpath;}
cb1645b7 51
c336835b 52 //____________________________________________________//
b45e5084 53 protected:
850d5792 54
55 Bool_t MergeToSingleRunTag(TChain *chain, const char *filename);
56
b45e5084 57 TString fSE; //the defined storage element
28afeb2e 58 TString fgridpath; //the alien location of the tag files
28afeb2e 59 Int_t fStorage; //0:local - 1:grid
08e1a23e 60
b45e5084 61 ClassDef(AliTagCreator,0)
62};
63
64#endif
65