]>
Commit | Line | Data |
---|---|---|
04a7657f | 1 | /* $Id$ */ |
2 | ||
3 | #ifndef ALIPWG0HELPER_H | |
4 | #define ALIPWG0HELPER_H | |
5 | ||
6 | #include <TObject.h> | |
7 | ||
8 | // static helper functions | |
9 | ||
10 | class AliESD; | |
11 | class TParticle; | |
25db2d85 | 12 | class TH3; |
04a7657f | 13 | |
14 | class AliPWG0Helper : public TObject | |
15 | { | |
16 | public: | |
17 | static Bool_t IsEventTriggered(AliESD* aEsd); | |
18 | static Bool_t IsVertexReconstructed(AliESD* aEsd); | |
7584d357 | 19 | static Bool_t IsPrimaryCharged(TParticle* aParticle, Int_t aTotalPrimaries, Bool_t adebug = kFALSE); |
20 | ||
29771dc8 | 21 | static void CreateProjections(TH3* hist, Bool_t save = kFALSE); |
22 | static void CreateDividedProjections(TH3* hist, TH3* hist2, const char* axis = 0, Bool_t putErrors = kFALSE, Bool_t save = kFALSE); | |
4c351225 | 23 | static const char* GetAxisTitle(TH3* hist, const char axis); |
92d2d8ad | 24 | |
04a7657f | 25 | protected: |
26 | ClassDef(AliPWG0Helper, 0) | |
61385583 | 27 | |
28 | private: | |
29 | AliPWG0Helper(const AliPWG0Helper&); | |
30 | AliPWG0Helper& operator=(const AliPWG0Helper&); | |
04a7657f | 31 | }; |
32 | ||
33 | #endif | |
34 |