DQM configure file
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisTaskFilterSteer.h
CommitLineData
91bf40f8 1#ifndef ALIANALYSISTASKFILTERSTEER_H
2#define ALIANALYSISTASKFILTERSTEER_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//*************************************************************************
739f0aa6 10// Class AliAnalysisTaskFilterSteer
11// Implementing the filtering of the friend in order to reduce them to 1%
91bf40f8 12//
13//*************************************************************************
14
15#include "AliAnalysisTaskFilter.h"
16
739f0aa6 17class AliAnalysisTaskFilterSteer : public AliAnalysisTaskFilter
91bf40f8 18{
19 public:
20
739f0aa6 21 AliAnalysisTaskFilterSteer();
22 AliAnalysisTaskFilterSteer(const char *name);
23 virtual ~AliAnalysisTaskFilterSteer();
91bf40f8 24
25 // Implementation of interface methods
26 virtual void UserCreateOutputObjects();
27 virtual Bool_t UserSelectESDfriendForCurrentEvent();
28 virtual void Init();
29 virtual void LocalInit() {Init();}
30 virtual void UserExec(Option_t *option);
31 virtual void Terminate(Option_t *option);
739f0aa6 32 void SetFraction(Double_t fraction) {fFraction = fraction;}
33 Double_t GetFraction() const {return fFraction;}
91bf40f8 34
35 private:
36
739f0aa6 37 AliAnalysisTaskFilterSteer(const AliAnalysisTaskFilterSteer &);
38 AliAnalysisTaskFilterSteer& operator=(const AliAnalysisTaskFilterSteer&);
91bf40f8 39
739f0aa6 40 Double_t fFraction; // fraction of events for which to keep the friends
91bf40f8 41 //
42 AliESDEvent *fESDInput; // ESD input object
43 AliESDfriend *fESDfriendInput; // ESD input friend object
739f0aa6 44 ClassDef(AliAnalysisTaskFilterSteer,1);
91bf40f8 45};
46
47#endif
48