]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG0/AliPWG0Helper.h
adding helper function to count empty bins in AliCorrectionMatrix
[u/mrichter/AliRoot.git] / PWG0 / AliPWG0Helper.h
CommitLineData
04a7657f 1/* $Id$ */
2
3#ifndef ALIPWG0HELPER_H
4#define ALIPWG0HELPER_H
5
6#include <TObject.h>
7
7584d357 8#include <AliHeader.h>
9
04a7657f 10// static helper functions
11
12class AliESD;
13class TParticle;
25db2d85 14class TH3;
04a7657f 15
16class AliPWG0Helper : public TObject
17{
18 public:
19 static Bool_t IsEventTriggered(AliESD* aEsd);
20 static Bool_t IsVertexReconstructed(AliESD* aEsd);
7584d357 21 static Bool_t IsPrimaryCharged(TParticle* aParticle, Int_t aTotalPrimaries, Bool_t adebug = kFALSE);
22
25db2d85 23 static void CreateProjections(TH3* hist);
0ab29cfa 24 static void CreateDividedProjections(TH3* hist, TH3* hist2, const char* axis = 0, Bool_t putErrors = kFALSE);
4c351225 25 static const char* GetAxisTitle(TH3* hist, const char axis);
92d2d8ad 26
04a7657f 27 protected:
28 ClassDef(AliPWG0Helper, 0)
61385583 29
30 private:
31 AliPWG0Helper(const AliPWG0Helper&);
32 AliPWG0Helper& operator=(const AliPWG0Helper&);
04a7657f 33};
34
35#endif
36