]>
Commit | Line | Data |
---|---|---|
d731501a | 1 | //-*- Mode: C++ -*- |
2 | // $Id$ | |
3 | ||
4 | //* This file is property of and copyright by the ALICE Project * | |
5 | //* ALICE Experiment at CERN, All rights reserved. * | |
6 | //* See cxx source for full Copyright notice * | |
7 | ||
8 | /// @file AliDxHFEParticleSelectionMCD0.h | |
9 | /// @author Hege Erdal, Matthias Richter | |
10 | /// @date 2012-07-19 | |
11 | /// @brief D0 MC selection for D-HFE correlations | |
12 | /// | |
13 | ||
14 | #ifndef ALIDXHFEPARTICLESELECTIONMCD0_H | |
15 | #define ALIDXHFEPARTICLESELECTIONMCD0_H | |
16 | ||
17 | #include "AliDxHFEParticleSelectionD0.h" | |
18 | #include "AliDxHFEToolsMC.h" | |
19 | ||
20 | /** | |
21 | * @class AliDxHFEParticleSelectionMCD0 | |
22 | * Monte Carlo D0 selection for D-HFE correlations, implements the specific | |
23 | * selection criteria. | |
24 | */ | |
25 | class AliDxHFEParticleSelectionMCD0 : public AliDxHFEParticleSelectionD0 { | |
26 | public: | |
27 | /// constructor | |
28 | AliDxHFEParticleSelectionMCD0(const char* opt=""); | |
29 | /// destructor | |
30 | virtual ~AliDxHFEParticleSelectionMCD0(); | |
31 | ||
32 | /// overloaded from AliDxHFEParticleSelection: check particle | |
33 | virtual int IsSelected(AliVParticle* p, const AliVEvent *pEvent=NULL); | |
34 | ||
dcf83226 | 35 | virtual THnSparse* DefineTHnSparse(); |
36 | virtual int FillParticleProperties(AliVParticle* p, Double_t* date, int dimension) const; | |
d731501a | 37 | |
38 | /// check MC criteria | |
39 | int CheckMC(AliVParticle* p, const AliVEvent* pEvent); | |
40 | ||
41 | /// clear internal memory | |
42 | virtual void Clear(const char* option=""); | |
43 | ||
44 | protected: | |
45 | ||
46 | private: | |
47 | /// copy contructor prohibited | |
48 | AliDxHFEParticleSelectionMCD0(const AliDxHFEParticleSelectionMCD0&); | |
49 | /// assignment operator prohibited | |
50 | AliDxHFEParticleSelectionMCD0& operator=(const AliDxHFEParticleSelectionMCD0&); | |
51 | ||
52 | AliDxHFEToolsMC fMCTools; // MC selction tools | |
53 | int fResultMC; // Result on MC check | |
54 | int fOriginMother; // Holds info on the original mother particle | |
d731501a | 55 | |
56 | ClassDef(AliDxHFEParticleSelectionMCD0, 1); | |
57 | }; | |
58 | ||
59 | #endif |