Update master to aliroot
[u/mrichter/AliRoot.git] / STEER / AOD / AliAODTagCreator.h
CommitLineData
a1069ee1 1#ifndef ALIAODTAGCREATOR_H
2#define ALIAODTAGCREATOR_H
3/* See cxx source for full Copyright notice */
4
5
6/* $Id$ */
7
8//-------------------------------------------------------------------------
9// Class AliAODTagCreator
10// This is the AliAODTagCreator 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// AliAODTagCreator //
20// //
21// Implementation of the tag creation mechanism. //
22// //
23//////////////////////////////////////////////////////////////////////////
24
25
26//ROOT
27//#include <TObject.h>
28
29#include <AliTagCreator.h>
30
103d3fba 31class TChain;
6e557e6d 32class TTree;
a1069ee1 33class TFile;
34class TGridResult;
35
6e557e6d 36class AliAODEvent;
37class AliRunTag;
38class AliEventTag;
04cb11d4 39class AliFileTag;
a1069ee1 40
41//___________________________________________________________________________
42class AliAODTagCreator : public AliTagCreator {
43
44 public:
45 AliAODTagCreator();
46 ~AliAODTagCreator();
47
444753c6 48 void CreateAODTags(Int_t fFirstEvent, Int_t fLastEvent, TList *grpList);
a1069ee1 49
50 Bool_t ReadGridCollection(TGridResult *result);
4811fe8e 51 Bool_t ReadLocalCollection(const char *localpath, const char* pattern = "AliAOD.root");
a1069ee1 52 Bool_t ReadCAFCollection(const char *filename);
6e557e6d 53 void FillEventTag(AliAODEvent* aod, AliEventTag* evtTag);
a1069ee1 54 protected:
103d3fba 55 void CreateTag(TChain *chain, const char* type);
6e557e6d 56 void CreateTags(const char* type = "");
57
58
87d395bd 59 private:
786172af 60 AliAODTagCreator(const AliAODTagCreator& creator);
61 AliAODTagCreator& operator=(const AliAODTagCreator& creator);
103d3fba 62 private:
6e557e6d 63 TChain *fChain; //! Chain of esd files
64 AliAODEvent *fAODEvent; //! AOD Event
65 TTree *fTreeT; //! Tag Tree
66 AliRunTag *fRunTag; //! Run tag
67 TChain *fTreeTEsd; //! ESD tag Tree
68 AliRunTag *fRunTagEsd; //! ESD run tag
69
a1069ee1 70 ClassDef(AliAODTagCreator,0)
71};
72
73#endif
74