AliPhysics  b43479f (b43479f)
 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  Bool_t AcceptMCParticle(AliAODMCParticle* vp);
60  Bool_t AcceptMCParticle(Int_t i);
61 
62  protected:
63  Bool_t IsSpecialPDGDaughter(AliAODMCParticle* part) const;
64  Bool_t IsSpecialPDGDaughter(Int_t iPart) const;
65 
66  Int_t fSpecialPDG;
67  UInt_t fRejectedOrigin;
68  UInt_t fAcceptedDecay;
69 
70  private:
73 
75  ClassDef(AliHFAODMCParticleContainer, 2);
77 };
78 #endif
AliHFAODMCParticleContainer()
This is the default constructor, used for ROOT I/O purposes.
Int_t pdg
Analysis task for D meson jets.
Bool_t IsSpecialPDGDaughter(AliAODMCParticle *part) const
UInt_t fAcceptedDecay
Bit mask with D meson decays that are accepted.
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.
Bool_t AcceptMCParticle(AliAODMCParticle *vp)
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.