Skip to content
Snippets Groups Projects

Use Weight class for event weight

Merged Sylvester Joosten requested to merge sly2j-master-patch-90422 into master
1 file
+ 3
6
Compare changes
  • Side-by-side
  • Inline
+ 3
6
@@ -256,13 +256,10 @@ datatypes:
- uint64_t run // Run number.
- uint64_t number // Event number.
- 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.
- float weight // Optional event weight (useful for MC)
ExtraCode:
declaration: "
EventInfo() : run{-1}, number{-1}, type{0}, proc{0}, source{-1}, weight{1} {}\n
"
- eic::Weight weight // Optional event weight (useful for MC)
## ==========================================================================
## Particle info
Loading