Line data Source code
1 : #ifndef ALIANALYSISTASKTAGCREATOR_H
2 : #define ALIANALYSISTASKTAGCREATOR_H
3 :
4 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 : * See cxx source for full Copyright notice */
6 :
7 : /* $Id$ */
8 :
9 : #include "AliAnalysisTaskSE.h"
10 : class AliRunTag;
11 : class AliAODTagCreator;
12 : class TTree;
13 :
14 :
15 : class AliAnalysisTaskTagCreator : public AliAnalysisTaskSE
16 : {
17 : public:
18 : AliAnalysisTaskTagCreator();
19 : AliAnalysisTaskTagCreator(const char* name);
20 0 : virtual ~AliAnalysisTaskTagCreator() {;}
21 : // Implementation of interface methods
22 : virtual void ConnectInputData(Option_t *option = "");
23 : virtual void UserCreateOutputObjects();
24 : virtual void Init();
25 4 : virtual void LocalInit() {Init();}
26 : virtual void UserExec(Option_t *option);
27 : virtual Bool_t Notify();
28 : virtual void Terminate(Option_t *option);
29 : virtual void FinishTaskOutput();
30 : private:
31 : AliAnalysisTaskTagCreator(const AliAnalysisTaskTagCreator&);
32 : AliAnalysisTaskTagCreator& operator=(const AliAnalysisTaskTagCreator&);
33 : void GetGUID(TString &guid);
34 :
35 : private:
36 : Bool_t fCreateTags; // Flag for tag creation
37 : Bool_t fFirstFile; //! To flag the first file
38 : AliRunTag *fRunTag; //! Pointer to run tag
39 : TTree *fTreeT; //! tree for aod tags
40 : AliAODTagCreator *fTagCreator; //! The tag creator
41 : TString fAODFileName; //! Name of the AOD file
42 : TString fGUID; //! GUID of the AOD file
43 182 : ClassDef(AliAnalysisTaskTagCreator, 1); // Analysis task for standard ESD filtering
44 : };
45 :
46 : #endif
|