Skip to content
Snippets Groups Projects
Commit 96991c11 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Use Weight class for event weight

parent 9dd51f52
No related branches found
No related tags found
1 merge request!44Use Weight class for event weight
Pipeline #16859 failed
...@@ -256,13 +256,10 @@ datatypes: ...@@ -256,13 +256,10 @@ datatypes:
- uint64_t run // Run number. - uint64_t run // Run number.
- uint64_t number // Event number. - uint64_t number // Event number.
- int32_t type // event type identifier (TBD). - int32_t type // event type identifier (TBD).
- eic::Index proc // Process identifier (TBD). - int32_t proc // Process identifier (TBD).
- int32_t source // Source/generator identifier (TBD), negative for MC. - int32_t source // Source/generator identifier (TBD), negative for MC.
- float weight // Optional event weight (useful for MC) - eic::Weight weight // Optional event weight (useful for MC)
ExtraCode:
declaration: "
EventInfo() : run{-1}, number{-1}, type{0}, proc{0}, source{-1}, weight{1} {}\n
"
## ========================================================================== ## ==========================================================================
## Particle info ## Particle info
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment