Coverity fixes (Jens)
[u/mrichter/AliRoot.git] / PWGGA / PHOSTasks / PHOS_PbPbQA / AliAnalysisTaskPHOSPbPbQA.h
CommitLineData
9aa24ff1 1#ifndef AliAnalysisTaskPHOSPbPbQA_cxx
2#define AliAnalysisTaskPHOSPbPbQA_cxx
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6/* $Id$ */
7
8// QA of PbPb data.
9// Author: Boris Polishchuk
10
11#include "AliAnalysisTaskSE.h"
12
13class AliPHOSGeometry;
14
15class AliAnalysisTaskPHOSPbPbQA : public AliAnalysisTaskSE {
16
17public:
18
19 AliAnalysisTaskPHOSPbPbQA();
20 AliAnalysisTaskPHOSPbPbQA(const char *name);
21 virtual ~AliAnalysisTaskPHOSPbPbQA() {}
22
23 virtual void UserCreateOutputObjects();
24 virtual void UserExec(Option_t *option);
25
26private:
27
28 AliAnalysisTaskPHOSPbPbQA(const AliAnalysisTaskPHOSPbPbQA&); // not implemented
29 AliAnalysisTaskPHOSPbPbQA& operator=(const AliAnalysisTaskPHOSPbPbQA&); // not implemented
30
31 void FillHistogram(const char * key,Double_t x) const ; //Fill 1D histogram witn name key
32 void FillHistogram(const char * key,Double_t x, Double_t y) const ; //Fill 2D histogram witn name key
33
34private:
35
36 TList * fOutputContainer; //final histogram container
37 TList * fPHOSEvents[1][2]; //Containers for events with PHOS photons
38 TClonesArray * fPHOSEvent ; //PHOS photons in current event
39 Float_t fCentrality ; //!Centrality of the currecnt event
40 Int_t fCenBin ; //! Current centrality bin
41 AliPHOSGeometry *fPHOSGeo; //! PHOS geometry
42 Int_t fEventCounter; // number of analyzed events
43
44 ClassDef(AliAnalysisTaskPHOSPbPbQA, 1); // PHOS analysis task
45};
46
47#endif