AliPhysics  63e47e1 (63e47e1)
AliEsdSkimTask.h
Go to the documentation of this file.
1 #ifndef ALIESDSKINTASK_H
2 #define ALIESDSKINTASK_H
3 
4 // $Id$
5 
6 #include "AliPhysicsSelectionTask.h"
7 #include "AliESDtrack.h"
8 
9 class TTree;
10 class AliESDEvent;
11 class AliESDtrackCuts;
12 
14  public:
15  AliEsdSkimTask(const char *opt=0);
16 
17  void UserExec(Option_t *opt);
20  void SetCuts(AliESDtrackCuts *c) { fCuts = c; }
21  void SetDoCent(Bool_t b) { fDoCent = b; }
22  void SetDoClus(Bool_t b) { fDoClus = b; }
23  void SetDoEmC(Bool_t b) { fDoEmCs = b; }
24  void SetDoEmT(Bool_t b) { fDoEmT = b; }
25  void SetDoFmd(Bool_t b) { fDoFmd = b; }
27  void SetDoMult(Bool_t b) { fDoMult = b; }
29  void SetDoPhC(Bool_t b) { fDoPCs = b; }
30  void SetDoPhT(Bool_t b) { fDoPT = b; }
32  void SetDoPileup(Bool_t b) { fDoPileup = b; }
33  void SetDoPriV(Bool_t b) { fDoPriv = b; }
34  void SetDoRP(Bool_t b) { fDoRP = b; }
36  void SetDoSpdV(Bool_t b) { fDoSPDv = b; }
37  void SetDoT0(Bool_t b) { fDoT0 = b; }
38  void SetDoTof(Bool_t b) { fDoTof = b; }
39  void SetDoTpcV(Bool_t b) { fDoTPCv = b; }
40  void SetDoTracks(Bool_t b) { fDoTracks = b; }
41  void SetDoV0(Bool_t b) { fDoV0 = b; }
42  void SetDoZdc(Bool_t b) { fDoZDC = b; }
43  void SetEmcNames(const char *n) { fEmcNames = n; }
46  void SetRemoveCP(Bool_t b) { fRemoveCP = b; }
47  void SetResetCov(Bool_t b) { fResetCov = b; }
48  void SetTracks(const char *n) { fTracks = n; }
50  void SetDoV0s(Bool_t b) { fDoV0s = b; }
51  void SetDoCascades(Bool_t b) { fDoCascades = b; }
52  void SetDoKinks(Bool_t b) { fDoKinks = b; }
54 
55  protected:
58  AliESDtrackCuts *fCuts; // track cuts
59  Bool_t fDoZDC; // do zdc
60  Bool_t fDoV0; // do vzero
61  Bool_t fDoT0; // do tzero
62  Bool_t fDoTPCv; // do tpc vertex
63  Bool_t fDoSPDv; // do spd vertex
64  Bool_t fDoPriv; // do primary vertex
65  Bool_t fDoEmCs; // do emcal cells
66  Bool_t fDoPCs; // do phos cells
67  Bool_t fDoEmT; // do emcal trigger
68  Bool_t fDoPT; // do phos trigger
69  Bool_t fDoTracks; // do tracks
70  Bool_t fDoFmd; // do fmd
71  Bool_t fDoMult; // do mult
72  Bool_t fDoTof; // do TOF
73  Bool_t fDoPileup; // do pileup
74  Bool_t fDoClus; // do clusters
75  Bool_t fDoMuonTracks; // do muon tracks
76  Bool_t fDoV0s; // do v0s
77  Bool_t fDoCascades; // do cascades
78  Bool_t fDoKinks; // do kinks
79  Bool_t fDoErrorLogs; // do error logs
80  TString fEmcNames; // name of clusters
81  Bool_t fDoMiniTracks; // strip down tracks
82  TString fTracks; // name of tracks (e.g. tracks propagated to EMCAL surface)
83  Bool_t fPhosClusOnly; // if true then only store PHOS clusters
84  Bool_t fEmcalClusOnly;// if true then only store EMCAL clusters
85  Bool_t fDoSaveBytes; // if true then trim down some of the stored objects (mult, fmd)
86  Bool_t fDoCent; // do centrality
87  Bool_t fDoRP; // do reaction plane
88  Bool_t fRemoveCP; // if false then keep constrained parameters (only reset covariance)
89  Bool_t fResetCov; // if true reset covariance matrix of track
90  Bool_t fDoAllTracks; // if true then keep full tracks
91  Bool_t fDoPicoTracks; // if true then do pico tracks
92  Int_t fCheckCond; // if !=0 check certain conditions before event is accepted
93 
94  private:
95  AliEsdSkimTask(const AliEsdSkimTask&); // not implemented
96  AliEsdSkimTask &operator=(const AliEsdSkimTask&); // not implemented
97 
98  ClassDef(AliEsdSkimTask, 6); // Esd trimming and skimming task
99 };
100 #endif
void SetDoSaveBytes(Bool_t b)
void SetDoSpdV(Bool_t b)
Bool_t fEmcalClusOnly
void SetDoPhT(Bool_t b)
void SetDoV0s(Bool_t b)
void SetDoErrorLogs(Bool_t b)
void SetRemoveCP(Bool_t b)
void SetDoRP(Bool_t b)
void SetDoMuonTracks(Bool_t b)
void SetPhosClusOnly(Bool_t b)
Bool_t fDoMuonTracks
void SetDoTof(Bool_t b)
void SetEmcNames(const char *n)
void SetTracks(const char *n)
TCanvas * c
Definition: TestFitELoss.C:172
void SetDoZdc(Bool_t b)
void SetDoTracks(Bool_t b)
void SetResetCov(Bool_t b)
void SetDoAllTracks(Bool_t b)
void SetDoPhC(Bool_t b)
void SetCheckCond(Int_t c)
Bool_t fDoMiniTracks
AliESDEvent * fEvent
int Int_t
Definition: External.C:63
void SetDoMiniTracks(Bool_t b)
TTree * fTree
esd event
void SetDoEmT(Bool_t b)
void SetDoT0(Bool_t b)
AliEsdSkimTask(const char *opt=0)
void SetDoTpcV(Bool_t b)
void SetDoPileup(Bool_t b)
void SetDoEmC(Bool_t b)
void SetDoKinks(Bool_t b)
void SetDoV0(Bool_t b)
void SetDoPriV(Bool_t b)
void SetDoCent(Bool_t b)
void SetDoCascades(Bool_t b)
void SetCuts(AliESDtrackCuts *c)
Bool_t fPhosClusOnly
Bool_t fDoPicoTracks
void UserExec(Option_t *opt)
void SetDoFmd(Bool_t b)
void SetDoMult(Bool_t b)
const char Option_t
Definition: External.C:48
AliEsdSkimTask & operator=(const AliEsdSkimTask &)
void SetEmcalClusOnly(Bool_t b)
bool Bool_t
Definition: External.C:53
AliESDtrackCuts * fCuts
tree
void UserCreateOutputObjects()
void SetDoClus(Bool_t b)
void SetDoPicoTracks(Bool_t b)