Bug fix. Removed delete statement
[u/mrichter/AliRoot.git] / ESDCheck / AliAnalysisTaskPt.h
CommitLineData
1dfe075f 1#ifndef ALIANALYSISTASKPT_H
2#define ALIANALYSISTASKPT_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5//______________________________________________________________________________
6// A test analysis task to check the pt of tracks distribution in simulated data
7//
8//*-- Panos
9//////////////////////////////////////////////////////////////////////////////
10
11#include <TTree.h>
12#include "AliAnalysisTask.h"
13
14class AliESD ;
15class TH1 ;
16
17class AliAnalysisTaskPt : public AliAnalysisTask {
18
19public:
20 AliAnalysisTaskPt(const char *name);
21 virtual ~AliAnalysisTaskPt() {}
22
c52c2132 23 virtual void ConnectInputData(Option_t *);
24 virtual void CreateOutputObjects();
1dfe075f 25 virtual void Exec(Option_t * opt = "");
26 virtual void Terminate(Option_t * opt = "");
27
28private:
29 TTree * fChain ; //! pointer to the analyzed TTree or TChain
30 AliESD * fESD; //! ESD object
31 TH1F * fhPt; //! Pt spectrum
32
33 TObjArray * fOutputContainer ; //! output data container
34
5effd3c6 35 AliAnalysisTaskPt(const AliAnalysisTaskPt&); // Not implemented
36 AliAnalysisTaskPt& operator=(const AliAnalysisTaskPt&); // Not implemented
37
1dfe075f 38 ClassDef(AliAnalysisTaskPt, 0); // example of analysis
39};
40#endif // ALIANALYSISTASKPT_H
41