-
Notifications
You must be signed in to change notification settings - Fork 85
Doc 4 CoinSorter #557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Doc 4 CoinSorter #557
Conversation
| ) | ||
|
|
||
|
|
||
| def coincidences_sorter( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe move all following functions into Coincidences class?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't manage to make it work. Keep it this way for the moment
| from .base import ActorBase | ||
|
|
||
|
|
||
| class Coincidences(ActorBase): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add process_cls(...) at the end of the file
eg: https://github.com/OpenGATE/opengate/blob/master/opengate/actors/arfactors.py#L416
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| from .base import ActorBase | ||
|
|
||
|
|
||
| class Coincidences(ActorBase): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the class to init file: https://github.com/OpenGATE/opengate/blob/master/opengate/actors/__init__.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
sorry, there is still misunderstanding of what a class and an Actor is used for. We will discuss together |
Documentation for coincidence sorter (simplified version)