Project

General

Profile

Feature #25069

Extend gallery::Event product retrieval interface

Added by Gianluca Petrillo about 1 month ago. Updated about 1 month ago.

Status:
Under Discussion
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/13/2020
Due date:
% Done:

0%

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

Description

gallery::Event is a bit behind art::Event in interface.
Is it possible to port:

1. template <typename PROD> PROD const& getByLabel(InputTag const& tag) const
2. template <typename PROD> PROD const* getPointerByLabel(InputTag const& tag) const
3. template <typename ELEMENT> std::size_t getView(InputTag const&, std::vector<ELEMENT const*>& result) const (or a relative of it)
4. template <typename PROD> bool get(ProductID const pid, Handle<PROD>& result) const
5. the token interface

In particular, the first one being available in Python would make reading products in there much easier.

History

#1 Updated by Kyle Knoepfel about 1 month ago

  • Status changed from New to Under Discussion

Also available in: Atom PDF