-
Notifications
You must be signed in to change notification settings - Fork 21
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
fcc-edm master not compatible with podio master (operator<< conflict) #52
Comments
Hello Colin! the operators in podio already seem to give decent output to me. Maybe we can improve them so the ones in ParticleUtils can be removed after all? |
Hi Valentin!
The user wants physic specific data, and this data might depend on the collider.
For example for a particle in h h collision, we want to print pt eta, while in ee collision we want E theta.
Generic podio operators will not do the job. The podio operators are only good for debugging software, not for physics.
Cheers,
Colin
… Le 10 janv. 2018 à 14:13, vvolkl ***@***.***> a écrit :
Hello Colin!
the operators in podio already seem to give decent output to me. Maybe we can improve them so the ones in ParticleUtils can be removed after all?
Cheers,
Valentin
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#52 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AD8ku0Z1P0xiPBuHrUzhndX7OldMkNajks5tJLdlgaJpZM4RIfz4>.
|
Hi Colin, I see what you mean! and probably you need the operator << to have convenient debugging in python using |
We could make the operator in ParticleUtils generic enough by making it print pt, e, eta, theta, phi, …
I think that would be a good way forward, but I don’t know how the operator clash can be solved.
Le 10 janv. 2018 à 15:18, vvolkl <[email protected]> a écrit :
…
Hi Colin,
I see what you mean! and probably you need the operator << to have convenient debugging in python using print? But strictly speaking, we have the same problem with the code that is currently in ParticleUtils, no? It should be usuable by ee/hh/eh and there is no way to make it specific on the collider. The simplest solution I can think of is to have a print function in a ee / hh namespace ( without the convenience of <<, of course :/)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#52 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AD8ku9I-hQzihfLnzCNb07BV_8JAx9viks5tJMalgaJpZM4RIfz4>.
|
Hello, I've been trying to compile the master version of podio (664b301775979) with the latest version of fcc-edm (22b5abc) on ubuntu 16.04 with gcc version 5.4.0.
Podio compiles and works fine, but the fcc-edm compilation fails with the error messages shown below (*).
The problem is that the ostream operators that are now added by podio to the components are conflicting with the ones in https://github.com/HEP-FCC/fcc-edm/blob/master/utilities/ParticleUtils.h.
And indeed, if I remove the operators from ParticleUtils, fcc-edm compiles and works.
That sounds like a valid complaint from the compiler, and I don't understand how it could work at all at some point. Would anybody have a suggestion to make it work? I'd like to avoid removing the operators in ParticleUtils.
Cheers!
Colin
(*)
The text was updated successfully, but these errors were encountered: