]>
Commit | Line | Data |
---|---|---|
cb68eb1d | 1 | //-*- Mode: C++ -*- |
2 | ||
3 | #ifndef ALIANALYSISNETPARTICLEDCA_H | |
4 | #define ALIANALYSISNETPARTICLEDCA_H | |
5 | ||
6 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
7 | * See cxx source for full Copyright notice */ | |
4918c45f | 8 | |
9 | /** | |
a2ddc3d0 | 10 | * Class for NetParticle Distributions |
4918c45f | 11 | * -- DCA distributions |
12 | * Authors: Jochen Thaeder <jochen@thaeder.de> | |
13 | * Michael Weber <m.weber@cern.ch> | |
14 | */ | |
cb68eb1d | 15 | |
16 | #include "THnSparse.h" | |
17 | ||
a2ddc3d0 | 18 | #include "AliAnalysisNetParticleBase.h" |
cb68eb1d | 19 | |
a2ddc3d0 | 20 | class AliAnalysisNetParticleDCA : public AliAnalysisNetParticleBase { |
cb68eb1d | 21 | |
22 | public: | |
23 | ||
cb68eb1d | 24 | AliAnalysisNetParticleDCA(); |
25 | virtual ~AliAnalysisNetParticleDCA(); | |
26 | ||
27 | /* | |
28 | * --------------------------------------------------------------------------------- | |
29 | * Public Methods | |
30 | * --------------------------------------------------------------------------------- | |
31 | */ | |
32 | ||
a2ddc3d0 | 33 | /** Process Event - implements purely virtual method */ |
34 | virtual void Process(); | |
cb68eb1d | 35 | |
36 | /* | |
37 | * --------------------------------------------------------------------------------- | |
a2ddc3d0 | 38 | * Setter / Getter |
cb68eb1d | 39 | * --------------------------------------------------------------------------------- |
40 | */ | |
41 | ||
a2ddc3d0 | 42 | /** Set Background ESD Track Cuts */ |
43 | void SetESDTrackCutsBkg(AliESDtrackCuts *p) {fESDTrackCutsBkg = p;} | |
44 | ||
cb68eb1d | 45 | /** Get Ptr to DCA THnSparse */ |
a2ddc3d0 | 46 | THnSparseD* GetHnDCA() {return fHnDCA;} |
cb68eb1d | 47 | |
48 | /////////////////////////////////////////////////////////////////////////////////// | |
49 | ||
50 | private: | |
51 | ||
52 | AliAnalysisNetParticleDCA(const AliAnalysisNetParticleDCA&); // not implemented | |
53 | AliAnalysisNetParticleDCA& operator=(const AliAnalysisNetParticleDCA&); // not implemented | |
54 | ||
cb68eb1d | 55 | /* |
56 | * --------------------------------------------------------------------------------- | |
57 | * Methods - private | |
58 | * --------------------------------------------------------------------------------- | |
59 | */ | |
60 | ||
a2ddc3d0 | 61 | /** Create the efficiency / contamination THnSparseD |
62 | * implements purely virtual method | |
63 | */ | |
64 | virtual void CreateHistograms(); | |
cb68eb1d | 65 | |
a2ddc3d0 | 66 | /** Get contamination index of track */ |
67 | Int_t GetContIdxTrack(Int_t label, Int_t sign); | |
cb68eb1d | 68 | |
cb68eb1d | 69 | /* |
70 | * --------------------------------------------------------------------------------- | |
71 | * Members - private | |
72 | * --------------------------------------------------------------------------------- | |
73 | */ | |
cb68eb1d | 74 | |
a2ddc3d0 | 75 | // ======================================================================= |
cb68eb1d | 76 | AliESDtrackCuts *fESDTrackCutsBkg; //! ESD cuts |
a2ddc3d0 | 77 | // ======================================================================= |
78 | THnSparseD *fHnDCA; // THnSparseD contamination DCA | |
cb68eb1d | 79 | // ----------------------------------------------------------------------- |
80 | ||
81 | ClassDef(AliAnalysisNetParticleDCA, 1); | |
82 | }; | |
83 | ||
84 | #endif |