ROOT logo
#ifndef ALITAGCREATOR_H
#define ALITAGCREATOR_H
/*  See cxx source for full Copyright notice */


/* $Id$ */

//-------------------------------------------------------------------------
//                          Class AliTagCreator
//   This is the AliTagCreator class for the tag creation (post process)
//
//    Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
//-------------------------------------------------------------------------



//////////////////////////////////////////////////////////////////////////
//                                                                      //
//                        AliTagCreator                                 //
//                                                                      //
//           Implementation of the tag creation mechanism.              //
//                                                                      //
//////////////////////////////////////////////////////////////////////////


//ROOT
#include <TObject.h>

class TGridResult;
class TChain;

//___________________________________________________________________________
class AliTagCreator : public TObject {

 public:
  AliTagCreator();
  ~AliTagCreator(); 

  //____________________________________________________//
  Bool_t MergeTags(const char* type);
  Bool_t MergeTags(const char* type, TGridResult *result);
  Bool_t MergeTags(const char* type, const char *inflist);

  Bool_t MergeTagsForRun(const char* type);
  Bool_t MergeTagsForRun(const char* type, TGridResult *result);
  Bool_t MergeTagsForRun(const char* type, const char *inflist);

  void SetSE(const char *se){fSE = se;}
  void SetStorage(Int_t storage);
  void SetGridPath(const char *gridpath){fgridpath = gridpath;}

  //____________________________________________________//
 protected:

  Bool_t MergeToSingleRunTag(TChain *chain, const char *filename);

  TString fSE;   //the defined storage element
  TString fgridpath;   //the alien location of the tag files
  Int_t fStorage;  //0:local - 1:grid
   
  ClassDef(AliTagCreator,0)  
};

#endif

 AliTagCreator.h:1
 AliTagCreator.h:2
 AliTagCreator.h:3
 AliTagCreator.h:4
 AliTagCreator.h:5
 AliTagCreator.h:6
 AliTagCreator.h:7
 AliTagCreator.h:8
 AliTagCreator.h:9
 AliTagCreator.h:10
 AliTagCreator.h:11
 AliTagCreator.h:12
 AliTagCreator.h:13
 AliTagCreator.h:14
 AliTagCreator.h:15
 AliTagCreator.h:16
 AliTagCreator.h:17
 AliTagCreator.h:18
 AliTagCreator.h:19
 AliTagCreator.h:20
 AliTagCreator.h:21
 AliTagCreator.h:22
 AliTagCreator.h:23
 AliTagCreator.h:24
 AliTagCreator.h:25
 AliTagCreator.h:26
 AliTagCreator.h:27
 AliTagCreator.h:28
 AliTagCreator.h:29
 AliTagCreator.h:30
 AliTagCreator.h:31
 AliTagCreator.h:32
 AliTagCreator.h:33
 AliTagCreator.h:34
 AliTagCreator.h:35
 AliTagCreator.h:36
 AliTagCreator.h:37
 AliTagCreator.h:38
 AliTagCreator.h:39
 AliTagCreator.h:40
 AliTagCreator.h:41
 AliTagCreator.h:42
 AliTagCreator.h:43
 AliTagCreator.h:44
 AliTagCreator.h:45
 AliTagCreator.h:46
 AliTagCreator.h:47
 AliTagCreator.h:48
 AliTagCreator.h:49
 AliTagCreator.h:50
 AliTagCreator.h:51
 AliTagCreator.h:52
 AliTagCreator.h:53
 AliTagCreator.h:54
 AliTagCreator.h:55
 AliTagCreator.h:56
 AliTagCreator.h:57
 AliTagCreator.h:58
 AliTagCreator.h:59
 AliTagCreator.h:60
 AliTagCreator.h:61
 AliTagCreator.h:62
 AliTagCreator.h:63
 AliTagCreator.h:64
 AliTagCreator.h:65