]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/AliAnalysisTaskAddObject.h
Coding rule violation corrected.
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisTaskAddObject.h
CommitLineData
6d3a7bbf 1#ifndef ALIANALYSISTASKADDOBJECT_H
2#define ALIANALYSISTASKADDOBJECT_H
3
4/* Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/*$Id$*/
8
9//*************************************************************************
10// Class AliAnalysisTaskAddObject
11// Test Task to add an object to the new ESDfriends file
12//*************************************************************************
13
14class TH1D;
15
16#include "AliAnalysisTask.h"
17
18class AliESDInputHandler;
19class AliESDEvent;
20class AliESDfriend;
21
22class AliAnalysisTaskAddObject : public AliAnalysisTask
23{
24 public:
25
26 AliAnalysisTaskAddObject();
27 AliAnalysisTaskAddObject(const char *name);
28 virtual ~AliAnalysisTaskAddObject();
29 // Implementation of interface methods
30 virtual void CreateOutputObjects();
31 virtual void Exec(Option_t *option);
32 virtual void Terminate(Option_t *option);
33 virtual void ConnectInputData(Option_t *option = "");
34
35 private:
36
37 AliAnalysisTaskAddObject(const AliAnalysisTaskAddObject &);
38 AliAnalysisTaskAddObject& operator=(const AliAnalysisTaskAddObject&);
39
40 AliESDEvent *fESDInput; // ESD input object
41 AliESDfriend *fESDfriendInput; // ESD input friend object
42 AliESDInputHandler *fESDhandler; // Pointer to ESD input handler
43 TH1D* fh; // histogram
44
45 ClassDef(AliAnalysisTaskAddObject,1); // AliAnalysisTask to create an extra object
46};
47
48#endif
49