Store MCEvents in MCDataProvider
The following discussion from !561 (merged) should be addressed:
-
@dcampora started a discussion: (+6 comments) I would suggest against doing this unless there is a use case for having an object outlive the sequence. In this case, there is no need for the object to outlive the sequence.
Is there a reason this object cannot be allocates with Allen's memory manager? Given that Allen doesn't support objects that self-allocate like
std::vector
in its memory manager, and another class likeMCEvents
but that doesn't usestd::vector
s would have to be created. Then, the size of this newMCEvents
object (host_mc_events_t
) would have to be calculated inset_arguments_size
, and later populated.