#902 closed enhancement (duplicate)
[tableio] - MCTree Converters
Reported by: | Alex Olivas | Owned by: | Alex Olivas |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | combo core | Keywords: | |
Cc: |
Description
Since we're not booking the whole tree anymore, people need alternatives.
Change History (9)
comment:1 Changed 9 years ago by Alex Olivas
- Owner set to olivas
- Status changed from new to assigned
comment:2 Changed 9 years ago by Jakob van Santen
comment:3 Changed 9 years ago by Alex Olivas
- Milestone changed from offline V15-03-00 to offline V15-07-00
- Status changed from assigned to accepted
comment:4 Changed 9 years ago by David Schultz
does #1082 resolve this?
comment:5 Changed 9 years ago by Alex Olivas
It kinda does and I was tempted to close this, but I still agree with Jakob that dumping the whole tree is typically not what most people want. Perhaps we should also provide some convenience converters (like "the" primary) that are likely closer to what most people really want and need.
comment:6 Changed 9 years ago by Alex Olivas
- Milestone offline V15-07-00 deleted
Milestone offline V15-07-00 deleted
comment:7 Changed 9 years ago by Alex Olivas
- Milestone set to offline V15-08-00
comment:8 Changed 9 years ago by Alex Olivas
- Resolution set to duplicate
- Status changed from accepted to closed
I can't really see a good way to provide convenient converters for other tree information. Booking the primary themselves should be pretty straightforward. Ditto for other information in the tree. What information people are going to want is highly analysis dependent, so people should just write their own. The tableio docs look pretty good and I don't see how to make it any more convenient.
comment:9 Changed 8 years ago by Alex Olivas
- Milestone offline V15-08-00 deleted
Milestone offline V15-08-00 deleted
The thing most people need is to pull the primary out of the tree, put it in the frame, and book that. A painful example of what has to be done in general can be found in weighting.get_weighted_primary().