Project

General

Profile

Feature #19306

create Ptr to product

Added by Raymond Culbertson almost 2 years ago. Updated almost 2 years ago.

Status:
Accepted
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/07/2018
Due date:
% Done:

0%

Estimated time:
40.00 h
Scope:
Internal
Experiment:
Mu2e
SSI Package:
art
Duration:

Description

The art:Ptr<T> can only be used to point to an object
inside a indexed container of T, so logically it contains the productID
and an index. An example is a track might contain art::Ptr's to
hits in a product which is a vector of hits. We have some use cases
where we would like one product to point to another product, in total.
For example, the track collection product could contain
a pointer to the hit collection, simply to say "this track
collection was created from this hit collection" or to
create a product which is a list of pointers to a logically
associated, but diverse in type, set of products.
So logically this new art::ProductPtr<T> would contain
a productID, be persistable, and dereference to T*. Another thought,
which I have no idea is possible under the covers or reasonable,
is to make art::Handle<T> persistent.


Related issues

Related to art - Support #19143: event.get method acting unexpectedlyClosed02/26/2018

History

#1 Updated by Kyle Knoepfel almost 2 years ago

  • Related to Support #19143: event.get method acting unexpectedly added

#2 Updated by Kyle Knoepfel almost 2 years ago

  • Status changed from New to Accepted
  • Estimated time set to 40.00 h

We will provide a persistable art::ProductPtr.



Also available in: Atom PDF