1 #ifndef ALIANALYSISTASKRL_H
2 #define ALIANALYSISTASKRL_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 // Author: Panos Christakoglou, 31/05/2006
9 //============================================================================
10 // AliAnalysysTaskRL - Class representing a basic analysis task.
11 // Access to the run loader
12 //============================================================================
14 #include "AliAnalysisTask.h"
22 class AliAnalysisTaskRL : public AliAnalysisTask {
25 AliAnalysisTaskRL(const char *name, const char *title);
26 virtual ~AliAnalysisTaskRL();
29 Bool_t GetEntry(Long64_t ientry);
31 AliRunLoader *GetRunLoader();
32 AliHeader *GetHeader();
36 void DeleteRunLoader();
38 TTree *fTree; //pointer to the ESD tree
39 AliRunLoader *fRunLoader; //! pointer to the RunLoader if galice.root was opened
40 Bool_t fKinematicsLoaded; // determines if the stack is properly loaded (AliRunLoader::LoadKinematics() succeeded), this is needed because the GetStack returnes a invalid stack object when the function failed
41 Bool_t fHeaderLoaded; // determines if the header is properly loaded
43 AliAnalysisTaskRL(const AliAnalysisTaskRL&);
44 AliAnalysisTaskRL& operator=(const AliAnalysisTaskRL&);
46 ClassDef(AliAnalysisTaskRL,1); // Class describing an analysis task