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