Skip to content

Conversation

@ddobrigk
Copy link
Contributor

@ddobrigk ddobrigk commented Apr 8, 2021

  • adds armenteros-podolanski variables
  • adds MGamma getter, some further useful things
  • thanks to @dsekihat

iarsene
iarsene previously approved these changes Apr 9, 2021
@iarsene
Copy link
Collaborator

iarsene commented Apr 9, 2021

@ddobrigk The clang has to be fixed.


//Alpenteros-Podolanski variables
DECLARE_SOA_DYNAMIC_COLUMN(Alpha, alpha, [](float pxpos, float pypos, float pzpos, float pxneg, float pyneg, float pzneg) {
TVector3 momPos(pxpos, pypos, pzpos);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you avoid using TVector3? While it is convenient, all those extra allocations will be considerably slow, if this dynamic column is called within a loop. It would be better to use plain calculation and add common parts as functions to RecoDecay header.

@ddobrigk
Copy link
Contributor Author

The latest commit gets rid of the TVector dependency... should be good to go now! Thanks again to @dsekihat :-D

@iarsene iarsene merged commit a662299 into AliceO2Group:dev Apr 13, 2021
cortesep pushed a commit to cortesep/AliceO2 that referenced this pull request Jun 11, 2021
* Add Armenteros-podolanski vars to str tables

* Follow clang format rules

* Update StrangenessTables.h
EmilGorm pushed a commit to EmilGorm/AliceO2 that referenced this pull request Nov 22, 2021
* Add Armenteros-podolanski vars to str tables

* Follow clang format rules

* Update StrangenessTables.h
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