Project

General

Profile

Feature #24573

Config information for Detail class of an art Source module not used by --print-description

Added by Rob Kutschke 3 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
Start date:
06/29/2020
Due date:
% Done:

100%

Estimated time:
Spent time:
Scope:
Internal
Experiment:
Mu2e
SSI Package:
Duration:

Description

Mu2e just developed a new source module:

Sources/src/PBISequence_source.cc
Sources/test/PBISequence.fcl

which is on the head of master at Mu2e Offline on GitHub. This takes a few fcl parameters. However when I do:

mu2e --print-description PBISequence

the information about the parameters is not printed. I presume this has something to do with the Config object being an argument to a detail class, not an argument to the actual module class.

Please add support for this.

History

#1 Updated by Kyle Knoepfel 3 months ago

  • Status changed from New to Accepted

#2 Updated by Kyle Knoepfel 3 months ago

  • % Done changed from 0 to 100
  • Target version set to 3.06.00
  • Assignee set to Kyle Knoepfel
  • Status changed from Accepted to Resolved
  • Category set to Infrastructure

Implemented with commit art:bcd7759. To enable configuration description/validation in a source template's detail class, you will type:

class MyDetailClass {
public:
  struct Config { ... };
  using Parameters = art::SourceTable<Config>;
  MyDetailClass(Parameters const&, ...);
};

#3 Updated by Kyle Knoepfel 2 months ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF