Project

General

Profile

Feature #997

Add ability to map const pointers obtained from getView back to data products

Added by Brian Rebel almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Navigation
Target version:
Start date:
02/18/2011
Due date:
% Done:

100%

Estimated time:
Scope:
Internal
Experiment:
-
SSI Package:
Duration:

Description

As discussed in the stakeholders meeting, we would like to be able to take the const pointers in

std::vector< const MyProd* >

obtained using art::Event::getView() and point them back to the data products from which they come in order to store the references in other data products.


Related issues

Related to art - Feature #962: provide constructor for art::PtrVector that takes art::Handle< std::vector<T> >Closed02/11/2011

History

#1 Updated by Marc Paterno almost 10 years ago

  • Category set to Navigation
  • Status changed from New to Resolved
  • Assignee set to Marc Paterno
  • Target version set to 0.5.0

This feature is now complete. To support this requirement, we have added a class template: art::View<T>, which contains a std::vector<T const*> as well as the other data necessary to allow filling the PtrVector<T>.

There are now also overloads for the Event::getView() that take a View<T>, in addition to the overloads that take std::vector<T const*>.

#2 Updated by Christopher Green almost 10 years ago

  • Status changed from Resolved to Reviewed

#3 Updated by Christopher Green almost 10 years ago

  • % Done changed from 0 to 100

#4 Updated by Christopher Green over 9 years ago

  • Status changed from Reviewed to Closed

Also available in: Atom PDF