Skip to content

remove owner from mass shape so that it can be shared#143

Open
Jojosito wants to merge 1 commit intoyap:masterfrom
Jojosito:SharedMassShape
Open

remove owner from mass shape so that it can be shared#143
Jojosito wants to merge 1 commit intoyap:masterfrom
Jojosito:SharedMassShape

Conversation

@Jojosito
Copy link
Contributor

No description provided.

Copy link
Contributor

@greenwald greenwald left a comment

Choose a reason for hiding this comment

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

We should be able to get the DecayingParticle (or Model, whichever it is we need) from the DecayChannel without having to explicitly pass it through the constructor. And the MassShape should now have it's own RadialSize, if it is not bound to a single DecayingParticle. We should create functions to easily share parameters, such as RadialSize, between different particles and between particles and mass shapes.

@Jojosito
Copy link
Contributor Author

Jojosito commented Jun 7, 2017

I guess we could get rid of addDecayChannel (which is implemented only for RelativisticBreitWigner, and doesn't even use the DecayChannel).
I guess we cannot put the functionality in the constructor, since the Decaying Particle might not yet exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants