Skip to content

Comments

Fix OpticalPropagation fcl files #3

Open
stognini wants to merge 4 commits intonuRiceLab:developfrom
stognini:tool-fcl-fixes
Open

Fix OpticalPropagation fcl files #3
stognini wants to merge 4 commits intonuRiceLab:developfrom
stognini:tool-fcl-fixes

Conversation

@stognini
Copy link

This PR updates/fixes fcl files used by the OpticalPropagation module. The original fcl file is now split into two:

  • A configuration file for calling OpticalPropagation in more complex workflows
  • A job execution file for standalone execution of the module

#include "OpticalPropPDFastSimPAR_tool.fcl"

process_name: OpticalPropagationProducer
BEGIN_PROLOG
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The title of this file is probably incorrect now since it's more of a module declaration than a job execution.

auto const& ps = config().OpticalPropagationTool.get<fhicl::ParameterSet>();
fOpticalPropagationTool =
std::unique_ptr<IOP>(art::make_tool<IOP>(config().OpticalPropagationTools()));
std::unique_ptr<phot::IOpticalPropagation>(art::make_tool<phot::IOpticalPropagation>(ps));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can restore the IOP; otherwise delete the type alias.

VISHits:
// VISTiming:
// VUVHits:
// VISHits:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of commenting these out could they be empty tables?

Suggested change
// VISHits:
VISHits: {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants