Possibility to filter the ESD friends and add objects to AliESDfriends.root. Major...
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisTaskFilterFriend.h
CommitLineData
6d3a7bbf 1#ifndef ALIANALYSISTASKFILTERFRIEND_H
2#define ALIANALYSISTASKFILTERFRIEND_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 AliAnalysisTaskFilterFriend
11// Test Task
12//*************************************************************************
13
14#include "AliAnalysisTaskFilter.h"
15
16class AliAnalysisTaskFilterFriend : public AliAnalysisTaskFilter
17{
18 public:
19
20 AliAnalysisTaskFilterFriend();
21 AliAnalysisTaskFilterFriend(const char *name);
22 virtual ~AliAnalysisTaskFilterFriend();
23
24 // Implementation of interface methods
25 virtual void UserCreateOutputObjects();
26 virtual Bool_t UserSelectESDfriendForCurrentEvent();
27 virtual void Init();
28 virtual void LocalInit() {Init();}
29 virtual void UserExec(Option_t *option);
30 virtual void Terminate(Option_t *option);
31
32 private:
33
34 AliAnalysisTaskFilterFriend(const AliAnalysisTaskFilterFriend &);
35 AliAnalysisTaskFilterFriend& operator=(const AliAnalysisTaskFilterFriend&);
36
37 AliESDEvent *fESDInput; // ESD input object
38 AliESDfriend *fESDfriendInput; // ESD input friend object
39 ClassDef(AliAnalysisTaskFilterFriend,1);
40};
41
42#endif
43