This file is property of and copyright by the ALICE Project
ALICE Experiment at CERN, All rights reserved.
Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no>
Hege Erdal <hege.erdal@gmail.com>
Permission to use, copy, modify and distribute this software and its
documentation strictly for non-commercial purposes is hereby granted
without fee, provided that the above copyright notice appears in all
copies and that both the copyright notice and this permission notice
appear in the supporting documentation. The authors make no claims
about the suitability of this software for any purpose. It is
provided "as is" without express or implied warranty.
AliDxHFEToolsMC(const char* options = "") | |
virtual | ~AliDxHFEToolsMC() |
int | CheckMCParticle(AliVParticle* p) |
void | CheckOriginMother(int pdg) |
static TClass* | Class() |
virtual void | Clear(const char* option = "") |
int | FindMotherPDG(AliVParticle* p, bool bReturnFirstMother = false) |
int | FindPdgOriginMother(AliVParticle* p, bool bReturnFirstMother = false) |
TObjArray* | GetMCArray() const |
int | GetNrMCParticles() const |
int | GetOriginMother() const |
int | Init(const char*) |
int | InitMCParticles(const AliVEvent* pEvent) |
virtual TClass* | IsA() const |
bool | IsInitialized() const |
int | MapPDGLabel(int pdg) const |
int | MapPDGMotherLabel(int pdg) const |
bool | MCFirst() const |
bool | MCLast() const |
bool | RejectByMotherPDG(AliVParticle* p, bool doStatistics = true) |
bool | RejectByPDG(AliVParticle* p, int* pdgParticleResult) |
bool | RejectByPDG(int pdg, const vector<int>& list) const |
bool | RejectByPDG(AliVParticle* p, bool doStatistics = true, int* pdgParticleResult = NULL) |
void | SetMClabel(int mclab) |
virtual void | ShowMembers(TMemberInspector&) |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
Bool_t | TestIfHFquark(int origin) |
Bool_t | TestMotherHFMeson(int pdg) |
AliDxHFEToolsMC(const AliDxHFEToolsMC&) | |
TH1* | CreateControlHistogram(const char* name, const char* title, int nBins, const char** binLabels) const |
AliDxHFEToolsMC& | operator=(const AliDxHFEToolsMC&) |
Inheritance Chart: | |||||
|
check if pdg should be rejected, particle is not rejected if it is in the list, returns always false if list is empty
check if pdg should be rejected always false if not pdg list is initialized
check if pdg should be rejected by mother always false if not mother pdg list is initialized H: think maybe this is particle specific, and should be moved to PartSelMCEl
Will find and return pdg of the mother, either first or loop down to the initial quark
create control histogram
Return the pgd of original mother particle TODO: need also to have specific for D0, electron etc for instance to mark when you have gluon, charm or beauty among the mothers. Or maybe this will be the same anyway? TODO: implement tests on origin, if charm/beauty quark and if they came from gluon. use booleans to set this which can be accessed from outside? Something like fSequence.
check if pdg should be rejected always false if pdg list is not initialized