Project

General

Profile

Idea #17278

Add an example on how to create data products of a new type

Added by Gianluca Petrillo over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Usability
Target version:
-
Start date:
07/26/2017
Due date:
% Done:

100%

Estimated time:
8.00 h
Spent time:
Experiment:
-
Duration:

Description

The example should show how to create a new class for data products.
It should include:
  • a new data product class
  • a producer:
    • creating that data product
    • creating an association between an existing data product an the new one
  • a configuration file to run all the machinary

Associated revisions

Revision 7efee9a1 (diff)
Added by Gianluca Petrillo almost 2 years ago

Added example of creation of new data product and associations.

This is part of the solution of issue #17278.

History

#1 Updated by Lynn Garren over 2 years ago

  • Status changed from New to Assigned

#2 Updated by Gianluca Petrillo over 2 years ago

  • Estimated time set to 8.00 h

#3 Updated by Katherine Lato about 2 years ago

  • Assignee changed from Gianluca Petrillo to Saba Sehrish

#4 Updated by Gianluca Petrillo almost 2 years ago

  • Assignee changed from Saba Sehrish to Gianluca Petrillo

Picking it back because we got another user request on the matter.

#5 Updated by Gianluca Petrillo almost 2 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

I have written a new example called TotallyCheatTracks (larexamples:source:larexamples/Algorithms/TotallyCheatTracks).
The example covers the creation of a new data product and its associations to existing data products, also sporting the use of art::PtrMaker.
Unit tests can be used as example of consequent usage of the association and data product (using art::FindOneP in this case, although the association data product might have been used directly instead).

The usual README.md provides specific details on the subject.

At the same time, I have revamped the doxygen structure for the example documentation; examples now have a doxygen module and a dogygen page, and they are grouped in there. The changes should be visible from the next release.

#6 Updated by Gianluca Petrillo almost 2 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF