Add fast merging option (Diego)
[u/mrichter/AliRoot.git] / PWG3 / dielectron / AliAnalysisTaskDielectronSE.h
CommitLineData
b2a297fa 1#ifndef ALIANALYSISTASKDIELECTRONSE_H
2#define ALIANALYSISTASKDIELECTRONSE_H
3/* Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6//#####################################################
7//# #
8//# Basic Analysis task for Dielectron #
9//# single event analysis #
10//# #
11//# by WooJin J. Park, GSI / W.J.Park@gsi.de #
12//# Ionut C. Arsene, GSI / I.C.Arsene@gsi.de #
13//# Magnus Mager, CERN / Magnus.Mager@cern.ch #
14//# Jens Wiechula, Uni HD / Jens.Wiechula@cern.ch #
15//# #
16//#####################################################
17
18#include "AliAnalysisTaskSE.h"
48609e3d 19#include "AliDielectronPID.h"
b2a297fa 20
21class AliDielectron;
61d106d3 22class TH1D;
b2a297fa 23
24class AliAnalysisTaskDielectronSE : public AliAnalysisTaskSE {
25
26public:
27 AliAnalysisTaskDielectronSE();
28 AliAnalysisTaskDielectronSE(const char *name);
29 virtual ~AliAnalysisTaskDielectronSE(){;}
30
31 virtual void UserExec(Option_t *option);
32 virtual void UserCreateOutputObjects();
48609e3d 33 //temporary
34 virtual void NotifyRun(){AliDielectronPID::SetCorrVal((Double_t)fCurrentRunNumber);}
35
61d106d3 36 void UsePhysicsSelection(Bool_t phy=kTRUE) {fSelectPhysics=phy;}
37 void SetTriggerMask(UInt_t mask) {fTriggerMask=mask;}
38 UInt_t GetTriggerMask() const { return fTriggerMask; }
b2a297fa 39
40 void SetDielectron(AliDielectron * const die) { fDielectron = die; }
41
42private:
43
44 AliDielectron *fDielectron; // Dielectron framework object
45
61d106d3 46 Bool_t fSelectPhysics; // Whether to use physics selection
47 UInt_t fTriggerMask; // Event trigger mask
48
49 TH1D *fEventStat; //! Histogram with event statistics
50
b2a297fa 51 AliAnalysisTaskDielectronSE(const AliAnalysisTaskDielectronSE &c);
52 AliAnalysisTaskDielectronSE& operator= (const AliAnalysisTaskDielectronSE &c);
53
54 ClassDef(AliAnalysisTaskDielectronSE, 1);
55};
56#endif