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