Update PR task: drathee
[u/mrichter/AliRoot.git] / PWGCF / EBYE / PIDFluctuation / task / AliEbyEPidRatioEffCont.h
CommitLineData
0a28d543 1#ifndef ALIEBYEPIDRSTIOEFFCONT_H
2#define ALIEBYEPIDRSTIOEFFCONT_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7//=========================================================================//
8// AliEbyE Analysis for Particle Ratio Fluctuation //
9// Deepika Rathee | Satyajit Jena //
10// drathee@cern.ch | sjena@cern.ch //
11// Date: Wed Jul 9 18:38:30 CEST 2014 //
12// New approch to find particle ratio to reduce memory //
13// (Test Only) //
14//=========================================================================//
15
16class AliVTrack;
17
18#include "THnSparse.h"
19
20#include "AliEbyEPidRatioBase.h"
21
22class AliEbyEPidRatioEffCont: public AliEbyEPidRatioBase {
23
24 public:
25
26 AliEbyEPidRatioEffCont();
27 virtual ~AliEbyEPidRatioEffCont();
28 virtual void Process();
f7ea34d2 29 THnSparseF* GetHnEffMc() {return fHnEffMc;}
30 THnSparseF* GetHnContMc() {return fHnContMc;}
31 THnSparseF* GetHnEffRec() {return fHnEffRec;}
32 THnSparseF* GetHnContRec() {return fHnContRec;}
0a28d543 33
34 private:
35
36 AliEbyEPidRatioEffCont(const AliEbyEPidRatioEffCont&); // not implemented
37 AliEbyEPidRatioEffCont& operator=(const AliEbyEPidRatioEffCont&); // not implemented
38
39
40 virtual void Init();
41 virtual void CreateHistograms();
42 virtual void Reset();
43 virtual Int_t Setup();
44 void FillMCLabels();
45 void FillMCEffHist();
46 void CheckContTrack(AliVTrack* track, Int_t iPid, Int_t gPdgCode);
47
48 Int_t ***fLabelsRec; //! 2x nTracks large array with labels for MC particles
f7ea34d2 49 THnSparseF *fHnEffMc; // THnSparseF efficiency
50 THnSparseF *fHnContMc; // THnSparseF contamination
51 THnSparseF *fHnEffRec; // THnSparseF efficiency
52 THnSparseF *fHnContRec; // THnSparseF contamination
0a28d543 53
54 ClassDef(AliEbyEPidRatioEffCont, 1);
55};
56
57#endif