create general emcal task lib
[u/mrichter/AliRoot.git] / PWG / EMCAL / AliEmcalCompatTask.h
CommitLineData
ebcbb815 1#ifndef ALIEMCALCOMPATTASK_H
2#define ALIEMCALCOMPATTASK_H
3
4// $Id$
5
6#include "AliAnalysisTaskSE.h"
7
8class AliEmcalCompatTask : public AliAnalysisTaskSE {
9 public:
10 AliEmcalCompatTask();
11 AliEmcalCompatTask(const char *name);
12 virtual ~AliEmcalCompatTask();
13
efeb8585 14 void UserExec(Option_t *option);
15 void SetDoCent(Bool_t ce) { fDoCent = ce; }
16 void SetDoEp(Bool_t ep) { fDoEp = ep; }
ebcbb815 17
18 protected:
efeb8585 19 Bool_t fDoCent; //=true then copy centrality
20 Bool_t fDoEp; //=true then copy event plane
ebcbb815 21
22 private:
23 AliEmcalCompatTask(const AliEmcalCompatTask&); // not implemented
24 AliEmcalCompatTask &operator=(const AliEmcalCompatTask&); // not implemented
25
26 ClassDef(AliEmcalCompatTask, 1); // Class to be able to run on skimmed ESDs
27};
28
29#endif