Skip to content

RecoDecay: getDaughters: Skip PDG check for the original particle.#5303

Merged
ginnocen merged 1 commit into
AliceO2Group:devfrom
vkucera:recodecay
Feb 1, 2021
Merged

RecoDecay: getDaughters: Skip PDG check for the original particle.#5303
ginnocen merged 1 commit into
AliceO2Group:devfrom
vkucera:recodecay

Conversation

@vkucera
Copy link
Copy Markdown
Collaborator

@vkucera vkucera commented Jan 26, 2021

Do not label the original particle as final, when its species matches the expected species of its daughter.
This could happen when calling this function for a quark that radiates a gluon and becomes its own daughter.
In general, there is no reason to check the PDG code of the original particle against the codes of the expected daughters, so skipping it speeds up this function.

@vkucera vkucera marked this pull request as ready for review January 28, 2021 00:20
@vkucera vkucera marked this pull request as draft January 28, 2021 02:32
Do not label the original particle as final, when its species matches the expected species of its daughter.
This could happen when calling this function for a quark that radiates a gluon and becomes its own daughter.
In general, there is no reason to check the PDG code of the original particle against the codes of the expected daughters, so skipping it speeds up this function.
@vkucera vkucera marked this pull request as ready for review January 28, 2021 18:20
@vkucera
Copy link
Copy Markdown
Collaborator Author

vkucera commented Feb 1, 2021

bump

@ginnocen ginnocen merged commit ee27003 into AliceO2Group:dev Feb 1, 2021
DelloStritto pushed a commit to DelloStritto/AliceO2 that referenced this pull request Feb 1, 2021
…liceO2Group#5303)

Do not label the original particle as final, when its species matches the expected species of its daughter.
This could happen when calling this function for a quark that radiates a gluon and becomes its own daughter.
In general, there is no reason to check the PDG code of the original particle against the codes of the expected daughters, so skipping it speeds up this function.
iarsene pushed a commit that referenced this pull request Feb 2, 2021
…5303) (#5263)

Do not label the original particle as final, when its species matches the expected species of its daughter.
This could happen when calling this function for a quark that radiates a gluon and becomes its own daughter.
In general, there is no reason to check the PDG code of the original particle against the codes of the expected daughters, so skipping it speeds up this function.

Co-authored-by: Vít Kučera <vit.kucera@cern.ch>
@vkucera vkucera deleted the recodecay branch February 2, 2021 17:14
EmilGorm pushed a commit to EmilGorm/AliceO2 that referenced this pull request Nov 22, 2021
…liceO2Group#5303)

Do not label the original particle as final, when its species matches the expected species of its daughter.
This could happen when calling this function for a quark that radiates a gluon and becomes its own daughter.
In general, there is no reason to check the PDG code of the original particle against the codes of the expected daughters, so skipping it speeds up this function.
EmilGorm pushed a commit to EmilGorm/AliceO2 that referenced this pull request Nov 22, 2021
…liceO2Group#5303) (AliceO2Group#5263)

Do not label the original particle as final, when its species matches the expected species of its daughter.
This could happen when calling this function for a quark that radiates a gluon and becomes its own daughter.
In general, there is no reason to check the PDG code of the original particle against the codes of the expected daughters, so skipping it speeds up this function.

Co-authored-by: Vít Kučera <vit.kucera@cern.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants