]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGPP/global/AliGlobalFBFqa.h
protect agains null pointers
[u/mrichter/AliRoot.git] / PWGPP / global / AliGlobalFBFqa.h
CommitLineData
81b9e9f2 1/**************************************************************************
2 * Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16//////////////////////////////////////////////////////
17// Basic QA task to monitor the observables related to
18// flow and balance function analysis. It is intended
19// for both pp and PbPb data.
20//
21// Mainteiners:
22// Carlos Perez (cperez@cern.ch)
23// Alis Rodriguez (alisrm@nikhef.nl)
24//////////////////////////////////////////////////////
25#ifndef AliGlobalFBFqa_H
26#define AliGlobalFBFqa_H
27
28#include "AliAnalysisTaskSE.h"
29
30class TList;
31class TH1D;
32class TH2D;
33class TH3D;
34class AliESDtrackCuts;
35
36class AliGlobalFBFqa : public AliAnalysisTaskSE {
37 private:
38 AliGlobalFBFqa(const AliGlobalFBFqa& analysisTask);
39 AliGlobalFBFqa& operator=(const AliGlobalFBFqa& analysisTask);
40
41 AliESDtrackCuts* CutsITSSAGeneric();
42 AliESDtrackCuts* CutsTPC50Generic();
43
44 Bool_t fDebugger;
45 TList *fOutputList;
46 TH2D *fEvents;
47 TH2D *fPhiRinVZERO, *fPhiEtaTPC50, *fPhiEtaITSSA;
48 TH2D *fPsiCenVZERO, *fPsiCenTPC50, *fPsiCenITSSA;
49
50 public:
51 AliGlobalFBFqa();
52 AliGlobalFBFqa(const char *name);
53 void SetDebugON() {fDebugger = true;}
54 virtual ~AliGlobalFBFqa();
55 virtual void UserCreateOutputObjects();
56 virtual void UserExec(Option_t *);
57
58 ClassDef(AliGlobalFBFqa, 1);
59};
60
61#endif