AliPhysics  9fe175b (9fe175b)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliHFAODMCParticleContainer.h
Go to the documentation of this file.
1 
13 #ifndef ALIHFAODMCPARTICLECONTAINER_H
14 #define ALIHFAODMCPARTICLECONTAINER_H
15 
16 /**************************************************************************
17 * Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
18 * *
19 * Author: The ALICE Off-line Project. *
20 * Contributors are mentioned in the code where appropriate. *
21 * *
22 * Permission to use, copy, modify and distribute this software and its *
23 * documentation strictly for non-commercial purposes is hereby granted *
24 * without fee, provided that the above copyright notice appears in all *
25 * copies and that both the copyright notice and this permission notice *
26 * appear in the supporting documentation. The authors make no claims *
27 * about the suitability of this software for any purpose. It is *
28 * provided "as is" without express or implied warranty. *
29 **************************************************************************/
30 
31 #include "AliMCParticleContainer.h"
33 
35  public:
37  AliHFAODMCParticleContainer(const char *name);
38 
39  void SetSpecialPDG(Int_t pdg) { fSpecialPDG = pdg ; }
40 
43 
46 
49 
52 
53  void SetRejectedOriginMap(UInt_t m) { fRejectedOrigin = m; }
54  void SetAcceptedDecayMap(UInt_t m) { fAcceptedDecay = m; }
55 
56  void SelectCharmtoD0toKpi();
58 
59  virtual Bool_t AcceptMCParticle(const AliAODMCParticle *vp, UInt_t &rejectionReason) const;
60  virtual Bool_t AcceptMCParticle(Int_t i, UInt_t &rejectionReason) const;
61 
62  Bool_t IsSpecialPDGFound() const;
63 
64  protected:
65  Bool_t IsSpecialPDGDaughter(const AliAODMCParticle* part) const;
66  Bool_t IsSpecialPDG(const AliAODMCParticle* part) const;
67 
68  Int_t fSpecialPDG;
69  UInt_t fRejectedOrigin;
70  UInt_t fAcceptedDecay;
71 
72  private:
75 
77  ClassDef(AliHFAODMCParticleContainer, 2);
79 };
80 #endif
AliHFAODMCParticleContainer()
This is the default constructor, used for ROOT I/O purposes.
Int_t pdg
Analysis task for D meson jets.
virtual Bool_t AcceptMCParticle(const AliAODMCParticle *vp, UInt_t &rejectionReason) const
Bool_t IsSpecialPDGDaughter(const AliAODMCParticle *part) const
UInt_t fAcceptedDecay
Bit mask with D meson decays that are accepted.
Bool_t IsSpecialPDG(const AliAODMCParticle *part) const
Int_t fSpecialPDG
include particles with this PDG code even if they are not primary particles (and exclude their daught...
void SelectCharmtoDStartoKpipi()
Automatically sets parameters to select only the decay chain c->D*->Kpipi.
UInt_t fRejectedOrigin
Bit mask with D meson origins that are rejected.
Select MC particles based on specific prescriptions of HF analysis.
void SelectCharmtoD0toKpi()
Automatically sets parameters to select only the decay chain c->D0->Kpi.
AliHFAODMCParticleContainer & operator=(const AliHFAODMCParticleContainer &)
Container for MC-true particles within the EMCAL framework.