]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/UserTasks/EmcalTasks/AliEsdSkimTask.h
updates from gsi trunk
[u/mrichter/AliRoot.git] / PWG4 / UserTasks / EmcalTasks / AliEsdSkimTask.h
CommitLineData
a9457410 1#ifndef ALIESDSKINTASK_H
2#define ALIESDSKINTASK_H
3
4// $Id$
5
6#include "AliPhysicsSelectionTask.h"
7
8class TTree;
9class AliESDEvent;
10class AliESDtrackCuts;
11
12class AliEsdSkimTask : public AliAnalysisTaskSE {
13 public:
14 AliEsdSkimTask(const char *opt=0);
15
16 void UserExec(Option_t *opt);
17 void UserCreateOutputObjects();
18 void SetDoZdc(Bool_t b) { fDoZDC = b; }
19 void SetDoV0(Bool_t b) { fDoV0 = b; }
20 void SetDoT0(Bool_t b) { fDoT0 = b; }
21 void SetDoTpcV(Bool_t b) { fDoTPCv = b; }
22 void SetDoSpdV(Bool_t b) { fDoSPDv = b; }
23 void SetDoPriV(Bool_t b) { fDoPriv = b; }
24 void SetDoEmC(Bool_t b) { fDoEmCs = b; }
25 void SetDoPhC(Bool_t b) { fDoPCs = b; }
26 void SetDoEmT(Bool_t b) { fDoEmT = b; }
27 void SetDoPhT(Bool_t b) { fDoPT = b; }
28 void SetDoTracks(Bool_t b) { fDoTracks = b; }
29 void SetDoMult(Bool_t b) { fDoMult = b; }
30 void SetDoTof(Bool_t b) { fDoTof = b; }
31 void SetDoPileup(Bool_t b) { fDoPileup = b; }
32 void SetDoClus(Bool_t b) { fDoClus = b; }
33 void SetCuts(AliESDtrackCuts *c) { fCuts = c; }
34
35 protected:
36 AliESDEvent *fEvent; //!esd event
37 TTree *fTree; //!tree
38 AliESDtrackCuts *fCuts; // track cuts
39 Bool_t fDoZDC; // do zdc
40 Bool_t fDoV0; // do vzero
41 Bool_t fDoT0; // do tzero
42 Bool_t fDoTPCv; // do tpc vertex
43 Bool_t fDoSPDv; // do spd vertex
44 Bool_t fDoPriv; // do primary vertex
45 Bool_t fDoEmCs; // do emcal cells
46 Bool_t fDoPCs; // do phos cells
47 Bool_t fDoEmT; // do emcal trigger
48 Bool_t fDoPT; // do phos trigger
49 Bool_t fDoTracks; // do tracks
50 Bool_t fDoMult; // do mult
51 Bool_t fDoTof; // do TOF
52 Bool_t fDoPileup; // do pileup
53 Bool_t fDoClus; // do clusters
54
55 private:
56 AliEsdSkimTask(const AliEsdSkimTask&); // not implemented
57 AliEsdSkimTask &operator=(const AliEsdSkimTask&); // not implemented
58
59 ClassDef(AliEsdSkimTask, 1); // Esd trimming and skimming task
60};
61#endif